Set a Keyframe

How can I set a keyframe at a specific time.

Example:

Set X position 2, Y position 4, Z position 8, X Rotation 0, Y Rotation 0, Z Rotation 90 at frame 4.5 on a cube in the scene

I figured it out! Thanks