How to get Google Maps API for your WordPress website

From time to time, we get these questions: Where can I find Google Maps API? How can I register it?

So here is a step by step guide on how to get Google Maps API.

Getting Google Maps API

First, you will need to visit the Google Cloud platform here. And then sign in to your Google account.

Red arrow indicating the 'Sign In' button on the Google Cloud page.

Ok, once you have access go to Cloud console by clicking on the upper right button, or by just by going to the Google Cloud Platform.

From there you will want to open a New Project from the dropdown on the top, and select ‘New Project’:

Arrows indicating 'My First Project' on Google Cloud Platform. Arrow indicating 'New Project'.

In the next step you will need to fill out the form with your details:

New Project page with 'Project Name' and 'Location' filled out.

And as a final step click on the ‘Create’ button at the bottom.

The next step is to select ‘Your New Project’, here it is called ‘My-New-Project’. Now, from there click on the Google Cloud Platform menu on the left and scroll down. You will find near the bottom of the list Google Maps>>APIs. That is what we need. Click it! (If you have trouble locating it, this link should take you there.)

Arrow indicating 'Google Cloud Platform'. Arrow indicating 'My New Project. Arrow indicating 'APIs'

Here we are, almost there. From here you will need to select ‘Maps JavaScript API’.

Arrow indicating 'Maps JavaSCript API'.

From the next window just enable API.

Arow indicating 'Enable' on the 'Maps JavaScript API'.

It will load a new dashboard with some metrics, and from there you will need to select ‘Credentials’ from the left sidebar.

Arrow indicating 'Credentials' in the left sidebar.

And from the next window just create API, like on the image below:

Arrow indicating 'API key'.

That is it, and the API is ready to be used for Google Maps on your website.

If you have any questions please feel free to contact us. You can also ask us at