1. Log into your AdSense account. If you don't have an account, register for one at the AdSense website (see Resources).
2. Click the tab that says 'AdSense Setup.'
3. Choose the product you want--AdSense for Content or AdSense for Search.
4. Go through the prompts for the product you selected by answering questions on things like ad format and color. Click 'Continue.'
5. Click 'Submit and Get Code' on the last page of the questionnaire.
6. Copy the HTML code that appears on the next page.
7. Paste the code between the HTML and body tags of your website template's HTML. If you are using a WYSIWYG editor like Dreamweaver or Front Page, paste the code into the Code or Source View because pasting it in the layout view will result in HTML tags being added to your code, according to Google.