Skip to main content
Integrations

Getting a Google Places API Key

The GeoGrid Widget uses Google's Places API to autocomplete business names and addresses when a visitor searches. To enable that, you supply your own Places API key. Here is how to create one.

Create the key in Google Cloud

  1. Go to the Google Cloud Console and sign in.

  2. Create a new project, or select an existing one.

  3. Open APIs & Services > Library, search for Places API, and enable it. Enable Maps JavaScript API as well if prompted.

  4. Open APIs & Services > Credentials, click Create credentials, and choose API key.

  5. Copy the key that is generated.

In the key's settings, restrict it to the Places API (and Maps JavaScript API) and to your website's domains. Restricting the key stops other sites from using it and running up your Google bill.

Add it to LocalOptics

Paste the key into the GeoGrid Widget's autocomplete API key field. See The GeoGrid Widget for where that lives.

Google billing: the Places API is a paid Google product with a monthly free tier. Usage is billed by Google, not by LocalOptics.

Was this article helpful?
Thanks for your feedback!

Related articles