How to Use a Service Account with Index Worker
Overview
Section titled “Overview”Index Worker currently uses OAuth-based API requests. Switching these requests to use a service account may help avoid some rate limit errors.
✅ Reference: What are service accounts?
📌 This is unrelated to the 2,000 URLs per day limit for each property.
Google Cloud Setup
Section titled “Google Cloud Setup”-
Log in to the Google Cloud Console.
-
Select a project or create a new project.

-
From the navigation menu, select “IAM & Admin” > “Service Accounts.”

-
Click “Create service account.”

-
Enter the service account name, ID, and description, then click “Create.”
-
Select the service account you created from the list, then click “Manage keys.”

-
Select “Add key” > “Create new key,” choose JSON as the format, then click “Create.”

-
Store the downloaded JSON file in a safe place.
-
Next, grant permissions to the service account you just created from Search Console. Log in to Search Console.
-
From “Settings” -> “Users and permissions” in the lower-left corner of the screen, add the service account you just created (for example,
hoge@fuga.iam.gserviceaccount.com) with “Full” permissions (full permissions/full user).



Amethyst Setup
Section titled “Amethyst Setup”-
Log in to Amethyst.
-
From “Workspace settings” -> “Service accounts” -> “Choose file” in the lower-left corner of the screen, upload the JSON file you downloaded.


-
This completes service account registration in Amethyst. The final step is to use the service account.
-
Select “Search Console Properties” in Index Worker.

-
Select ”+ Add” in the upper-right corner of the screen.

-
Set the account used to reference properties to the service account you created.

-
Select any Search Console property.
-
Complete the property addition from “Review selection.”
-
You can now select Search Console properties through the service account when creating or editing Index Worker jobs, which may help avoid some rate limit errors.