Create your text and set it in the style you want, and centered in your comp.
Use the Anchor Point tool to drag the anchor point up so it is in the vertical middle of the text , not at the bottom. Return to the selection tool.
Click the 'cube' layer switch to put it in 3D.
Put your playhead at the time you want the animation to end (let's say 2 seconds).
Reveal Position and rotation (X Rotation) in the timeline. Click those stopwatches to set your keyframes at 2 seconds. Apply Easy ease.
Move the playhead to 0 seconds.
Set Position's Z value (the third value - they're in the order X, Y, Z) )so the text is behind the camera. This will probably be about -1,400.
Set X Rotation to 2 complete revolutions.
Preview.