How to Get Google Map API Key for Website


All requests to the Google Maps Embed API must include a free API key as
the value of a key parameter. Your key enables you to monitor your
application’s Maps API usage, and ensures that Google can contact you about
your website/application if necessary.

To get started using Google Maps Embed API, you need to create or select a project in the Google API Console and enable the API. Click
, which guides you through the process and activates the
Google Maps Embed API automatically.

Alternatively, you can activate the Google Maps Embed API yourself in the
API Console by doing the following:

  1. Go to Google API Console.
  2. Select a project, or create a new one.
  3. Visit the Enabled APIs page. Make sure that the API is on the list of enabled APIs. If it isn’t, then open the API Library and enable the API.
  4. In the sidebar on the left, select Credentials.

In either case, you end up on the Credentials page where you can access your project’s credentials.

Note: Please carefully add HTTP referrers (web sites). It is very important and sometimes it may take up to 5 minutes for settings to take effect.Please see the below image for example: