Google Address Autocomplete

📘

Install the App

Make sure that the Google Address Autocomplete App is installed in your store. You can install it from https://www.zoey.com/apps/google-address-autocomplete-checkout/

📘

You will need an active Google Billing Account

You must have an active billing account with Google, see https://cloud.google.com/billing/docs/how-to/manage-billing-account

Generate and Use API Key

You must generate an API key to use Google Address Autocomplete

To get an API key:

  1. Go to the Google Cloud Platform Console.

  2. From the Project drop-down menu, select or create the project for which you want to add an API key.

  3. From the Navigation menu, select APIs & Services > Credentials.

388
  1. On the Credentials page, click Create credentials > API key. The API key created dialog displays your newly created API key (an encrypted string).

  2. Click Close.

  3. Click on "Library" from the left hand menu

  4. Search for Maps Javascript API and click on "Enable" - if already Enabled click on "Manage"

  5. Go back to the Marketplace by clicking on the Menu and APIs & Services -> Library

308
  1. Search for Places API - click on "Places API" and then click on "Enable"

  2. In Zoey, open the Google Address Autocomplete App

  3. Set Enabled to Yes

  4. Paste in the API Key from Step 1

668
  1. Hit Save

❗️

Restrict your API Key

You can restrict the API Key to only work on your Zoey Store to prevent other websites from using up your quota from Google. You can learn more about restricting your API Key via https://developers.google.com/maps/documentation/javascript/get-api-key#restrict_key