Create a search engine

To create a new search engine, you need to choose what content you want to include in the results and give the search engine a name.

  1. On the Google Custom Search home page, click New search engine.
  2. In the Sites to search box, type the sites you want to include. You can include any sites you want, not just sites you own. You can include site URLs or page URLs, and you can also get fancy and use URL patterns.
  3. Type a name for your search engine. This is for your own use only; users won't be able to see it.
  4. If you want to limit your results to pages about a certain topic, you can add types under Advanced Options. You can use types in two ways: For more information on types, see Make a topical search engine with types.
    • Include results with a type from certain sites To limit your results to types from certain sites, add the sites you want to include to Sites to search and up to 10 types in Advanced options.
    • Include results with a type from the full web To include any site on the web that contains one of the types you specified, leave Sites to search empty and add up to 10 types in Advanced options.
  5. Click Create.
  6. Copy the code that appears on the next page, and paste it into your site wherever you want your Custom Search Engine to appear.