To export an After Effects project with a transparent background, start by going to the 'Composition' menu and selecting 'Add to Render Queue'. In the Render Queue panel, click on 'Output Module'. Choose 'QuickTime' or 'PNG Sequence', and set the 'Channels' to 'RGB + Alpha'. Finally, click 'Render' to export your transparent video.