How to Get a JSON API Key in Google Cloud Console
A Google Cloud API key is an important element for working with Google's services and tools. It is used to identify your application, service or user when accessing various Google Cloud services and r…
A Google Cloud API key is an important element for working with Google's services and tools. It is used to identify your application, service or user when accessing various Google Cloud services and resources via the API. API integration 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 fairly simple, but to avoid getting lost in the multitude of settings, we have created a step-by-step instruction for you with visual support in the form of screenshots.
Instructions: How to Create an API Key in Google Cloud Console.
1. Open Google Cloud Console, select an existing project or create a new one
2. To create a project, enter its name (for example, your website name). In the Location field you can leave "No organization" if you don't have an Organization in Google.
3. After selecting the project, we move on to searching for the API we need - in the search field we enter the API name and choose it from the dropdown list.
Here are some of the APIs you may need for one task or another: Content API for Shopping, Google Sheets API, Google Drive API, Maps JavaScript API, Web Search Indexing API.
4. Click the Enable button
5. Move on to creating a service account
6. Again, select the API we need and specify the type of required data as "Application data", then click Next
7. At this stage we come up with and enter the service account name and click "Create and continue"
8. Next we don't enter anything, just click "Continue"
9. Confirm with the "Done" button - the account is created
10. Go to the Credentials tab and edit the service account created there
11. Go to the Keys tab, click Add key, then Create new key
12. Choose the key type "JSON" and click Create. The key downloads to your computer. Remember where it is saved.
Now the JSON key can be opened with any text editor, such as Notepad, and copied for pasting into the required form. Or select the key file itself, if uploading a JSON file is expected.