How to create a Google Maps API Key

To create a Google Maps API key for improved Google Maps support please follow the process below.

  1. Open your web browser and go to this URL: https://console.developers.google.com/apis/
  2. Log in using the client's Gmail Account (preferably the one used to set up their analytics/webmaster tools)
  3. Once you log in you may need to agree to terms and services conditions
  4. You will get an Auto Generated Project (if so skip to step 7) if this doesn't happen click the Project drop down on the top left, then click New Project on the right of the pop up window.
  5. Click Create Project and name it Maps then click the Create button
  6. This will take a moment to complete once its fully created it will load to a new screen named Library click this
  7. Scroll down and Click on Maps on the left hand side
  8. Click on Maps Static Api
  9. Click Enable, once enabled click the Menu Hamburger in the top left, hover over API's and Services and select Library to go and select the next API.
  10. Follow step 8 and 9 again for both Google Maps JavaScript API and Google Maps Embed API
  11. Once you have enabled all three API's click Credentials on the left
  12. Click the Create Credentials drop down and choose API Key
  13. Copy the API key, do not close the pop up and open a new tab, head to thewebconsole and paste the code into the Google API Key section (Settings > Website Settings > SEO).
  14. Head back to the API tab and Click Restrict Key how to restrict your key screenshot
  15. Click the name of the newly created API
  16. Under Key Restrictions choose HTTP Referrers
  17. In the Accept Requests From section add *.clientsdomain.com/* (do not include www, please note *. must be added at the start of the domain and then /* added at the end of the domain)
  18. Click Save (may need to click twice).
  19. This has successfully enabled all three of the necessary API keys. There may be a delay of 15 minutes for this to propagate on the front end.

Last Modified: 04 April 2022
In This Article