Google Maps API Key Steps 

Using API Keys:

Google Maps Platform products are secured from unauthorized use by restricting API calls to those that provide proper authentication credentials. These credentials are in the form of an API key - a unique alphanumeric string that associates your Google billing account with your project, and with the specific API or SDK.

This guide shows how to create, restrict, and use your API Key for Google Maps Platform. 

Before you begin:

Before you start using the Maps JavaScript API, you need a project with a billing account and the Maps JavaScript API enabled. To learn more, see Set up in Cloud Console

1. Create a new Google Cloud project in the Cloud Console: Create new project
2. On the New Project page, fill in the required information:
 · Project name: Accept the default or enter a customized name.
· You can change the project name at any time. For more information, see Identifying projects.
· Project ID: Accept the default or click EDIT to enter a customized ID that Google APIs use as a unique identifier for your project.
· After you create the project, you cannot change the project ID, so choose an ID that you'll be comfortable using for the lifetime of the project. Don't include any sensitive information in your project ID.
· Billing account: Select a billing account for the project. If you haven't set up a billing account or only have one billing account, you won't see this option.
· You must be a Billing Account Administrator or Project Billing Manager to associate a project with a billing account. For more information, see the billing access control documentation.
· Location: If you have an organization you want to link your project to, click Browse and select it; otherwise, choose "No organization". · For more information, see Creating and Managing Folders and Relationships between organizations, projects, and billing accounts.
3. Select Create.

 

Creating API keys: 

The API key is a unique identifier that authenticates requests associated with your project for usage and billing purposes. You must have at least one API key associated with your project.

To create an API key: 

· Go to the Google Maps Platform > Credentials page Go to the Credentials page
· On the Credentials page, click Create credentials > API key. The API key created dialog displays your newly created API key.
· Click Close