1. Home
  2. Getting Started
  3. How to add Google Maps API key (from google console)

How to add Google Maps API key (from google console)

Google Maps API key is a unique identifier, that is required for all websites that use Google Maps API.

Storemapper works with the Google Maps API to ensure your customers get the best possible map experience so you’ll need to get an API key. The good news is that is free, takes just a few minutes and requires no coding. Here are the steps to registering a new Google Maps API key.

  1. Ensure you’re logged into your Google Account. If you don’t have one, you’ll have to create it first.
  2. Navigate to Google API dashboard
  3. Choose a project or create a new one. 
  4. Now we need to enable APIs required for Storemapper. Click on ‘ENABLE APIS AND SERVICES’.
  5. You’ll need the following APIs: Google Maps JavaScript API, Geolocation API, Places API, Geocoding API.  Enter mentioned APIs in the search field and click on it.
  6. Press ‘ENABLE’ in the opened window
  7. You’ll be navigated to added API dashboard. Go back to the list of APIs to continue enabling them. O
  8. Once you added all 4 APIs we need to create your API key. Click  to ‘APIs’ tab in the left pane and then press  ‘Create credentials’ button. 
  9. Choose ‘API Key’ in the drop down list . 
  10. Copy the newly created key and save it somewhere. We’re going to add it to your account a bit later. OPTIONAL BUT A GOOD IDEA: You may want to limit your API key to just your site. Click to ‘RESTRICT KEY’, in the restrictions area choose restriction method (most of our clients are using HTTP referrers).

    Note: Add your site in exactly this manner: *yourwebsite.com/*  . Make sure to copy the asterisks and slashes exactly. If you have multiple domains, add them the same way with commas in between.

    .
  11. Now we need to add Billing and assign it to your project. Navigate here and press ‘Add Billing Account‘. 
  12. In the opened form enter your business information and add a payment card to your account
  13. Return to your Google Console Dashboard , choose project  (1) and press on menu icon (2) .
  14. Click on ‘Billing‘ tab and on the right press ‘Link billing account’ 
  15. Ensure you choose earlier created billing account and press ‘SET ACCOUNT‘ 
  16. You’re done! Now get API key you saved previously and paste it to your Storemapper account here

 

Updated on February 5, 2019

Was this article helpful?

Related Articles