How to create a Google Maps API key?

Google Maps API requires a key in order to have access to its service. There are different places where this key is needed and the most important part is to generate it the right way. There’s a simple way to do that. 

In order to get generate a Google Maps API Key correctly, please follow the steps below:

1. Access the Google Maps Console and log in to your Google Account. Select your country and check the terms and conditions. Click Agree and continue.


2. Click on Create a project.

3. On the new screen, name your project (add any name) and click Create.

4. Next, you need to confirm the project and enable the Maps Javascript API.

5. Next, click on the hamburger navigation menu → APIS and Services → Dashboard → Enable APIs and Services.

6. You need to enable additional services besides the Maps Javascript API. Search and enable the following separate API services:

  • Maps Javascript API (it should be already enabled, so you can skip it)
  • Geocoding API
  • Geolocation API
  • Places API

For each of those click Enable.

Here’s a video that walks you through the steps:

7. Click on the Credentials tab and copy the API Key. It should be a long string of numbers and letters.

After that, make sure you insert the Google Maps API Key into your WordPress Dashboard at Listings → Settings.

8. Enable billing on the Google Cloud Project by going here, selecting your project, and clicking on:

  • Manage billing accountsAdd a billing account and follow the instructions.
  • or click on Link a billing account if you already have one configured in Google Cloud.

To learn more about this feature, read the documentation provided by Google.

Updated on May 6, 2022

Can't find what you’re looking for? Ask a human.

We're a small team of real people providing real help. Send us an email at hello@pixelgrade.com and we will give you a helping hand.