...
Log into your Google account.
Go to the Google Maps Platform > Credentials page.
Select the API key that you want to set a restriction on. The API key property page appears.
Under Key restrictions, set the following restrictions:
Application restrictions:
Set to None, or choose one of the other options as desired.
API restrictions:
Click Restrict key.
Select the following from the Select APIs dropdown:
Places API
Maps Javascript API
Geocoding API
If these are not listed, enable them.
To finalize your changes, click Save.
Make a copy of your API key and keep it safe.
Page Properties | ||||
---|---|---|---|---|
| ||||