Creating API for Google Maps

Generate a new API key

  1. Go to the Google Maps Platform
  2. Click the Get Started button in the middle of the screen.
  3. Click on the Google Cloud Platform home in the upper left corner.
  4. Click on Billing to make sure your billing details are up-to-date. If they are not, your Google Maps will not work properly.
  5. Once you’ve confirmed your billing is up-to-date, click on the Google Cloud Platform home in upper left corner again.
  6. Hover to APIs & Services and go to Credentials.
  7. If you want to use an existing project, please select it from the list. Otherwise, select ‘Create a new project’ and enter a project name.
  8. Click Create credentials and select API key. You will see a new dialog that displays the newly created API key.A screenshot of the Create Credentials button which has been clicked and is showing the API key option

Click the Close button in the API key dialogue. Your new API key will be listed on the Credentials page under API keys.A screenshot of an API key created message, also showing the field with the generated API key

View your existing API keys

  1. Go to the Google Maps Platform
  2. If the side menu is not visible, click the three-line (hamburger) menu icon
  3. Click ‘APIs & Services’ (API icon)
  4. Click ‘ Credentials’ (key icon)
  5. If the above steps are not clear enough then please follow the tutorial video from the Google Maps Platform Team below. This video will show you how to generate and restrict API keys