An API key is a piece of string for a system to authenticate an application or identify a user, and by using a Google Cloud API key, we will be able to access a variety of services such as Google Maps, Google Workspace, Gmail, etc.

In this tutorial, I will walk you through the steps on how to getting your API key on the Google Cloud Platform.

Create an API Key

  1. Log in to Google Cloud Platform Dashboard (
  1. Select the project where the API key will be created.
  1. Click on Navigation Menu > APIs & Services > Credentials.

  1. On the top, click on CREATE CREDENTIALS > API key

    An API key will get generated. Store the API key somewhere safe, and you’re done.