# Google Indexing API

{% hint style="info" %}
**Who can use this feature?**

* This feature is available for Pro and Enterprise plan users.
* Learn[ Indexing API Quickstart with Google](https://developers.google.com/search/apis/indexing-api/v3/quickstart)
  {% endhint %}

#### How to get Google Instant Index key?

{% stepper %}
{% step %}
**Sign in to** [**Google Cloud Console**](https://console.developers.google.com/)
{% endstep %}

{% step %}
Create a project in **Google Cloud Console** (if you don't already have one)

<figure><img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2FdDLcOQLNCFk9btu9EDw8%2FWeb%20search%20API%20indexing.png?alt=media&#x26;token=4ab4efcb-3b2d-4d92-a95d-d4c67508be99" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
In the main navigation menu, click **APIs & Services, Library**
{% endstep %}

{% step %}
Search for **Indexing API** and enable it
{% endstep %}

{% step %}
Click **Credentials** *→* Click **Create credentials** *→* Select **Service account option**

<figure><img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2F5OnxBA06XEU3R1xcMPdx%2FCredentials.png?alt=media&#x26;token=06f6cf3e-0cd7-4b07-bf7f-eceee60fb4e8" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Give it a name and description&#x20;
{% endstep %}

{% step %}
Click **Create and continue**

<figure><img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2FzxpKyjS3X0y0dql5jlPh%2FInsert%20name%20and%20description.png?alt=media&#x26;token=a940c199-8999-4db2-b022-31f86e9146d9" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Choose **Owner** from the dropdown list *→* click **Continue** *→* Click **Done** on last step

<figure><img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2FwHu2o8OpGD88hacXfdWG%2Fclick%20owner%20and%20continue.png?alt=media&#x26;token=b2ec03df-41eb-4c2e-a1ff-1398f85ff143" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
From the **Service accounts table**, click on the newly service account to edit it

<figure><img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2Fu7Im5NYtwXSGGDlIVHdj%2Fservice%20account.png?alt=media&#x26;token=3eff2520-e03a-4108-acca-9e93c5686f06" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Click on Keys tab *→* Click **Add key** *→* Click **Create new key**

<figure><img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2FT68jipOXvsMvfY79KKzq%2Fadd%20key.png?alt=media&#x26;token=d3571fc1-bc1b-4d99-9512-a8a7f5aebe17" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Select JSON as key type and click **Create.** JSON file will be auto downloaded to your device.

<figure><img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2FNR9n19poKw5H0IZEU1Cl%2Fjson.png?alt=media&#x26;token=ef4ad88e-0ac2-4401-a5fa-6cdd1b20fb59" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Now you need to add your service account as a site owner to Google Search Console. Go to[ Google Search Console](https://search.google.com/search-console/welcome) *→* Login with your website

<figure><img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2FJr1gCpMoWylmomdX00gh%2FGSC.png?alt=media&#x26;token=fdbaf801-decb-412b-bf6a-c73b9f6be35c" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
From the left navigation panel, click on **Settings**. In Property settings, click **Users and permissions** *→* Click **Add user button**

<figure><img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2FYJ3DpAUYXDp0V9n4wWxg%2Fadd%20user.png?alt=media&#x26;token=02e2a1b2-f60a-4962-b970-ef29270bac2c" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Enter the email address provided by the Service account you just created.

Make sure to select **Owner** from the Permission field to prevent 403 error when submitting the URLs for indexing.

{% hint style="warning" %}
This email can be retrieved from Google Cloud Console, IAM & Admin, Service Accounts, your service account, Details tab. You can get email by opening your downloaded JSON file and select `client_email line`.
{% endhint %}
{% endstep %}
{% endstepper %}
