It seems like no one “searches” on the Internet anymore — they Google.
When a tech service has achieved that level of cultural prevalence, its inclusion in an app can not only enhance the experiences of that program’s users, but can boost perceptions of its legitimacy as well.
Fortunately, Google makes it easy for app creators to add custom search engines to their software. Just follow these steps to generate the codes you’ll need to make it happen:
1. Go to https://console.developers.google.com/project, and click ‘Create Project’.
2. Give your project a name. A project ID will be provided for you. Agree to the terms of service, and click ‘Create’.
3a. You’ll now go to your Project Dashboard.
3b. In the column at the left of the page, click ‘APIs & auth’, then select ‘APIs’ from the dropdown menu.
4. Find ‘Custom Search API’ on the ‘Browse APIs’ list, then click the ‘Off’ button to enable the API.
5. Accept the terms and conditions on the popup, then click ‘Accept’
6. Now that your search API is enabled, go back to the list on the left side of the screen, and click on ‘Credentials’.
7. Click ‘Create New Key’ under ‘Public API Access’.
8. Choose Android or iOS, in order to get the API key for your preferred platform.
9a. For iOS, enter your Bundle ID in the text field, and click ‘Create’.
9b. For Android, enter your SHA1 certificate and package name.
10. Copy your API key, and send it to your developer.
11. Go to https://www.google.com/cse/all to set the Custom Search Engine. Click ‘Add’.
12. Type www.google.com into the ‘Site to Search’ box, then click ‘Create’.
13. Click ‘Control Panel’.
14. Click ‘Search Engine ID’, copy the number, and send it to your developer.
*While on this page, you can also adjust your custom search engine preferences.
That should be enough for your developer to install a custom search box in your app, but there’s no reason to stop there! Google offers several APIs for a wide variety of features, including Gmail, calendars, and fitness elements. Click here for a full list (must sign into Google).