Google Maps API key
Go to the Google Maps Platform to sign in to your Google Cloud Platform account.
Then go to the Project Selector page and create/select a project.
Under APIs and Services, select Credentials.
Select CREATE CREDENTIALS, then API key.
Copy the full API key from the Your API key field.
Enable the Geocoding API
Add API key to the section settings
Restrict API access to only your store
- Go to the Google API credentials page.
- Select your project from the menu.
- Choose the API key that you generated to begin editing.
- Under Application restrictions, click HTTP referrers (web sites) and enter any domain associated with your store, including your
.myshopify.comdomain. For example, if you have a custom domain, then enter both
- Click Save.