Please follow these instructions:
Start the Steam program and register with your Steam account.
Then click on the games menu item in the top bar.
Now select "Activate a Product on Steam...".
Then follow the instructions in the window to complete the process.