How do I redeem a Steam CD key?
- Sign in to the Steam desktop client.
- Click + Add a Game in the lower-left corner.
- Choose Activate a Product on Steam… and follow the wizard to enter your code.
Steam’s help centre has more detail on CD keys: Activate a Product on Steam.