How to create JSON API key in Google Cloud Console

Create JSON API key in Google Cloud Console for indexing more number pages.

How to create JSON API key in Google Cloud Console
Photo by Michael Dziedzic / Unsplash

If you are a customer of Indexly and require indexing of more than 400 pages per day, you must provide us with a JSON key. The Google Cloud Console has a limit of 200 pages per project. However, depending on the total number of pages on your website, you can create multiple JSON keys to increase the indexing limits.

E.g., If you need to index a maximum of 600 pages per day, you will need to use 3 projects and 3 JSON keys to enable us to index your pages faster.

The first step

Before creating a JSON key in Google Cloud Console, verify if your site is linked to Google Search Console. Below is the step-by-step process to connect your site to Google Search Console.

Setup your site on Google Search Console
Go to Google Search Console. · Click ‘Add a property’ under the search drop-down. · Verify ownership of your site and you are done.

Once the above step is done, Getting an API key is quite simple. To avoid getting lost with multiple settings, we have created a step-by-step guide with screenshots.

Step-by-step instructions on creating JSON Key

  1. Log in to Google Cloud Console.
  2. Select an existing project or create a new project.
  1. 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.
  1. After creating a project, you first need to select the newly created project, or if it's an existing project select it from the top of your screen. After choosing the project, you need to click on "API & Services" section to enable the required APIs for Indexing.
  1. On Clicking "API & Services" you will reach the "API Library" section. On this page, you can search for an API and enable it. From the search box at the top of the page, enter the name of the API in the search field, and select it in the drop-down list. We need two APIs enabled for your project -
    1. Web Search Indexing API
    2. Google Search Console API
  2. To enable Indexing API, Search for "Websearch Indexing API" from the drop-down and select that API.
  1. Click the "Enable" button to enable the API for your project.
  1. To enable Search Console API, Search "Google Search Console API" and select from the drop-down options as shown in the screenshot below.
  1. Click Enable to activate the Google Search Console API for your project.
  1. After enabling the APIs in the selected project, you need to create a service account. To do so, go to the "IAM & Admin" section and then click on the "Service Accounts" as seen in the below screenshot.
  1. Click on "Create service account" to begin the process of creating a service account.
  1. Provide a name for your new service account and click "Create and continue". Note: Service Account Id is auto-populated by Google. Confirm with the "Done" button - the account should now be created.
  1. Now browse to the "Credentials" tab and edit the newly created service account. Go to the "Keys" tab, press "Add key", then click on "Create new key".
  1. Select the Key type as "JSON" and press "Create". And you are done! 😃 The JSON API key will get downloaded to the computer. Please make a note of where the key was downloaded.

Also, note you can download the JSON API key only once.

That's it! There you go, you have your JSON API Key ready. Upload this to your Indexly account and you are ready to go! 😄


Supercharge your SEO with Indexly

It usually takes a few weeks for Googlebot to crawl and index your website's pages. However, Indexly can simplify this process by automatically checking your sitemaps, finding new pages, and submitting them to Google Search Console.

This reduces human effort and errors and significantly reduces the time it takes to get indexed. When your website's pages are indexed, they rank higher on search engines, ultimately boosting organic traffic.