How To Get Google Maps API Key

Using Google maps on your website requires Google Maps Credentials. In this post, I will guide you on How To Get Google Maps API Key.

Steps To Get Google Maps API Key

1. Go to the Google Cloud Console.

2. Create a project (If you already have a project, skip this step)

Choose “Select a project“.

Choose "Select a project"

Next, choose “NEW PROJECT“.

Next, choose "NEW PROJECT"

Enter your Project name and choose CREATE button.

Enter your Project name and choose CREATE button

3. Add Maps JavaScript API and Places API from Library.

Choose Library.

Choose Library

Find Maps JavaScript API, Places API and enable them.

Find Maps JavaScript API, Places API and enable them
Enable Maps JavaScript API
Enable Places API

4. Get Google Maps API Credentials

Choose Credentials.

Choose Credentials

Next, select CREATE CREDENTIALS -> API key.

Next, select CREATE CREDENTIALS -> API key

Select RESTRICT KEY.

Select RESTRICT KEY

In the Application restrictions section, choose the application according to your needs. If this API Key use for the website, select HTTP referrers (web sites).

select HTTP referrers (web sites)

In the Website restrictions, you can add your website URL to use only for 1 page, or if left blank, the API key will be used for all websites.

In the API restrictions section, select Restrict key and choose Maps JavaScript API, Places API.

select Restrict key and choose Maps JavaScript API, Places API

When complete, choose the SAVE button.

When complete, choose the SAVE button

Click to copy icon to get Google Maps API Key.

Click to copy icon to get Google Maps API Key

Follow us for the more helpful posts!

We hope this is a useful post for you.

You can read more useful posts like How To Configure Payment Failed Email In Magento 2.

Thank you for reading!

4.9 8 votes
Article Rating

Aaron LX

Aaron is a passionate writer, crazy about shopping, eCommerce and trends. Besides his outstanding research skills and a positive mind, Aaron eagerly shares his experience with the readers.

Leave a Reply or put your Question here

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x