Google Maps API Tutorials (JavaScript)

How To Create Google Maps API Key [JavaScript]

Last modified on April 17th, 2023
Raja Tamil
Google Maps API Javascript

Getting an API Key from Google Cloud Platform is the first step before using any of the Google Maps API Services.

Log In to Google Cloud Platform.

You can log in to Google Cloud Platform using a gmail account.

Create A Project

Then, go to Select a project ▾ drop-down menu, which will open up a dialog box with your existing projects, if any.

Choose the one that you want to obtain an API key from.


Otherwise, create a new project by clicking the NEW PROJECT button at the top right of the dialog box.

Create An API Key

Once the project is selected, go to the Navigation Menu button at the top left of the page, and choose APIs & Services Credentials

Then, select Create Credentials API Key, which will open up a dialog box with your API Key. 🔑