Generate a Google Maps API Key
To generate a Google Maps API key follow these steps:
-
Log in to your Google Platform Console.
-
From the Project drop-down menu on the navigation bar, select the Project Name you have created.
-
Expand the navigation menu in the navigation bar and select APIs & Services > Credentials.
-
On the Credentials page, select Create Credentials > API Key.
-
In the API Key Created dialog, select Restrict Key .
It is best practice to restrict the API key to prevent unauthorised use or theft.
You can restrict an existing key as follows:
-
On the Credentials page, select the name of the API Key.
-
Set the Application and API restrictions:
-
Under Application Restrictions, select HTTP Referrers (web sites).
-
Under Website Restrictions, select Add An Item and repeat this process to enter the URLs for all WebAdmin environments e.g. Live, Test, Development.
-
-
Under API Restrictions, select Don’t Restrict Key – this section does not need to be completed.
-
Select Save.