login Sign in with Google
How to Use Google Indexing API for Better Search Console?

How to Use Google Indexing API for Better Search Console?

Google's Indexing API allows you to notify Google when pages on your website are added or removed. This speeds up the crawling and indexing process, making it an essential tool for Better Search Console users. This tutorial will guide you through setting up and using the Google Indexing API effectively.

 

Prerequisites

Step 1: Enable Google Indexing API

  1. Go to Google Cloud Console: Google Cloud Console

  2. Create a New Project:

    • Click on the project dropdown

    • Select "New Project"

Select a project

    • Give it a meaningful name (e.g., Better Search Console API)

    • Click "Create"

  1. Enable the API:

    • Navigate to "APIs & Services" > "Library"

Enable API

    • Search for "Indexing API"

Search for "Indexing API"

    • Click "Enable"

Click on enable

  1. Create Service Account:

    • Go to "APIs & Services" > "Credentials"

Go to "APIs & Services" > "Credentials"

    • Click "Create Credentials" > "Service Account"

    • Provide a name and description

Provide a name and description

    • Click "Create & Continue"

  1. Assign Roles:

    • Choose "Owner"

Choose owner

    • Click "Continue"

    • Click "Done"

  1. Generate a Key:

    • Click on the newly created service account

Click on the newly created service account

    • Navigate to the "Keys" tab

Navigate to the "Keys" tab

    • Click "Add Key" > "Create new key"

    • Select "JSON" and click "Create"

Select "JSON" and click "Create"

    • Download the key file and store it securely

Download the key file and store it securely

Step 2: Add Service Account to Google Search Console

 

  • Select your property (domain)Select your property

  • Navigate to "Settings" > "Users and permissions"Navigate to setting

  • Click "Add User"

Enter the email from your service account (found in the JSON file)Enter the email from your service account (found in the JSON file)

Set permission to "Owner" and click on add

Set permission to "Owner" and click on add

Step 3: Add the JSON file to your Better Search Console account

  1. Log in to Better Search Console with the same Google account as Google Search Console 
  2. Select the same website as beforeSelect the same website as before
  3. Go to Setting
  4. Click on service account button and add the JSON fileClick on service account button and add the JSON file
  5. Click on save, and index your pages!