1. Sign up for a Google AdSense account from the Google AdSense website. The Google AdSense program not only allows you to add a search engine box to a blog, it also helps your blog generate revenue. If you already have a Google AdSense account, you can move on to Step 2.
2. Log into your Google AdSense Account. Select the 'AdSense Setup' tab. Click 'AdSense for Search.' At the bottom of the page, click the 'Get Started' button.
3. Select the options you want for your search box. Make sure to add your blog URL to the 'Selected Sites' section. Click the 'Continue' button.
4. Customize the look, feel and size of your search engine box on the following page. Select 'Continue' when you're done.
5. Choose options for your search results page and select 'Continue.'
6. Give your search engine box a name and then click the 'Submit and Get Code' button.
7. Copy and paste the code into your blog's template or sidebar.