Add Google Maps API to Store Locator

Modified on Fri, 23 Jan at 3:40 AM


Store Locator requires a Google Maps API Key in order to function. This API Key can be found within your Google account once a project is created and your billing account is enabled.


A Google Maps API Key is required so that the Store Locator app can make requests to Google for your customer's searches.


For a more detailed step-by-step on setting up your Google Platforms, please visit Google's Get Started with Google Maps Project article.


Please follow the steps below to create your Google Maps API Key.


Step 1: Create a Google Account

In order to create an API Key, you will need a Google email account.

  • If you have a Gmail email address, you already have a Google account.

  • If you don't already have a Google account, please visit Google Account Signup.


Step 2: Create a New Project

1. Log into the Google Maps Platform Console.

2. Click the menu button and select IAM & Admin

3. Select Create a Project.

4. Enter a new Project Name and click Create.

Step 3: Create a Billing Account

In order to use the Google Maps Platform, you must have a billing account. The billing account is used to track costs associated with your projects. For more information on billing credits, please see Google's article on Billing Account Credits.


Google provides $300 to spend on the Google Cloud Platform over the next 3 months. You will not be auto-charged after the trial ends.


To create a billing account, please follow these steps:

1. Go to the Google Cloud Platform Console.

2. Click the menu button and select Billing.

3. Set up your billing account.

  1. If this is your first billing account, select Add billing account and follow the next steps.
  2. If you already have a billing account, select Manage billing accounts and follow the next steps.


Step 4: Verify the Billing Account

To ensure that your billing account has been set up correctly, please check under the Payment Methods tab to ensure that your credit card is valid and reflecting on the account.


Once all of the correct information has been entered into the Google Maps Platform, the status should appear as active.


Step 5. Select Your APIs

The following APIs are required by the SC Store Locator, check to ensure they are enabled:

  • Maps Embed API
  • Maps JavaScript API
  • Maps SDK for Android
  • Maps SDK for iOS
  • Maps Static API
  • Street View Static API
  • Geocoding API
  • Geolocation API
  • Places API
  • Places API (new)


To review these APIs, please follow these steps (more information can be found here):

1. Go to the Google Cloud Platform Console.

2. Click the menu button and select APIs and services.

3. Make sure all of the listed APIs are enabled.
API_List.png


Step 6: Add Google Maps API Key to Store Locator

1. Go to the Google Cloud Platform Console.

2. Select the menu button, then navigate to APIs and services.

3. Select Credentials.

4. Select Create Credentials, then select API Key.

5. From the Shopify Admin, select Apps.

6. Select Store Locator.

7. Select Settings.

8. Select Google Maps API Key.

9.Add the key and save changes.


Contact Us

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article