Stand with Ukraine! How can you help?

How to get json API key in Google Cloud Console

OpenCartBot - 21/10/2023
How to get json API key in Google Cloud Console

The Google Cloud API key is an important element for working with Google services and tools. It is used to identify your application, service or user when accessing various Google Cloud services and resources via API. Integration API keys are essential for managing and monitoring the interaction of your application or service with various Google Cloud services and resources. Getting an API key is quite simple, but in order not to get lost in a lot of settings, we have created a step-by-step guide for you with visual support in the form of screenshots.


Instruction: how to generate a API key in the Google Cloud Console.


1. Open Google Cloud Console, select an existing or create a new project


Step 1

2. To create a project, enter its name (for example, the name of your site). You can leave "No organization" in the Location field if you don't have a Google Company.


Step 2

3. After choosing a project, we go to the search for the API we need, enter the name of the API in the search field and select it in the drop-down list.
Here are some of the APIs that you may need for one or another task: Content API for Shopping, Google Sheets API, Google Drive API, Maps JavaScript API, Web Search Indexing API.


Step 3

4. Click the Enable button


Step 4

5. Let's move on to creating a service account


Step 5

6. We again choose the API we need and specify the type of data we need "Application data", click the Next button


Step 6

7. At this stage, we will come up with and enter the name of the service account and click "Create and continue"


Step 7

8. Next, do not enter anything, just click "Continue"


Step 8

9. Confirm with the "Done" button - the account is created


Step 9


10. Go to the Credentials tab and edit the service account created there


Step 10

11. Go to the Keys tab, press Add key, then Create new key


Step 11

12. Select the type of key "JSON" and press Create. The key is downloaded to the computer. We remember where it is stored.


Step 12


Now the json key can be opened with any text editor, such as Notepad, and copied to paste into the desired form. Or select the key file itself, if it is intended to download a json file.


Products related to this post


Related Posts