Please follow these instructions to activate a new retail purchase on Steam:
- Launch the Steam client software and log into your Steam account.
- Click the Games Menu.
- Choose Activate a Product on Steam...
- Follow the onscreen instructions to complete the process.
You can find more information in the Steam Support Knowledge Base