Guide: Get Google Service Account

Steps to Create an Indexing API Project

1. Go to Google Cloud Platform

Visit the Google Cloud Platform website (opens in a new tab) .

2. Create a New Project

Ensure that you’re creating a new Indexing API project by clicking the Create Project option. 20240209193828

Alternatively, you can click the Select a project drop-down and choose ** New Project** from the popup that appears on the screen. 2 In the next screen, enter a project name that you can recognize later. And then click Create. 4

3. Enable Access to API

Once you create the project, you’d need to enable the project to access the API. In the next step, you’d see a screen as shown below. Confirm if the selected project is the one that we’ve created for Instant Indexing API, else, select the drop-down at the top to change the project. Once you’ve selected the project, click Next. 5 In the next step, click the Enable option to enable the project to access the Instant Indexing API. 6 Once you’ve enabled it, you can close this tab.

Steps to Create a Service Account

Next, you need to create a service account by opening the service accounts page (opens in a new tab).

1. Select the Project

You will first be prompted to select the API project you wish to create this service account (the one created in the previous step). 7

2. Create Service Account

After selecting the project you wish to create a service account for, you’ll be taken to the following page, where you simply need to click the Create Service Account button highlighted below: 8

On the Create service account screen, enter a name and description for the newly created service account.

Select and copy the whole Service Account ID (the one that looks like an email address) because you will need it later. Then, click on the Done button at the bottom: 9

3. Manage Keys for Service Account

You will then be able to download the file that contains your API key. To do so, simply click the three vertical dots in the Actions column and then select the Manage keys as shown below: 10

4. Create New JSON Key for Service Account

Click Add Key, then Create new key, select JSON and click Create. This will automatically download a JSON file containing your key. 11 Choose the default JSON format when prompted in the overlay, and click Create: 12

5. Add the Service Account as an Owner

To do this, you’ll need to register and verify your website with the Google Search Console (if you haven’t done so already), which is super easy: just follow the recommended steps to verify ownership of your property (opens in a new tab).

6. Navigate to Users and Permissions in GSC Settings

After verifying your property, open the Google Search Console (opens in a new tab), select your property on the left (if prompted), and then click on Settings near the bottom: 13 Click on Users and Permissions: 14

7. Add User to Your Search Console Property

Click Add User and paste the service account email you copied. Choose Owner as the role. 15 16

8. Delegate Service Account ID as Owner

Once done, your Service Account ID will now be listed as an owner. 17