{"id":28,"date":"2026-11-28T18:41:19","date_gmt":"2026-11-28T11:41:19","guid":{"rendered":"https:\/\/www.sora.ai.in\/plugins\/blog\/google-cloud-project-service-account-json-key-indexing-api\/"},"modified":"2026-11-30T21:44:59","modified_gmt":"2026-11-30T14:44:59","slug":"google-cloud-project-service-account-json-key-indexing-api","status":"publish","type":"post","link":"https:\/\/www.sora.ai.in\/plugins\/blog\/google-cloud-project-service-account-json-key-indexing-api\/","title":{"rendered":"How to Create a Google Cloud Project and Service Account JSON Key for the Indexing API"},"content":{"rendered":"<p>Why does a page you published this morning still not show up in Google days later? The Google Indexing API exists to close that gap: instead of waiting to be discovered, you notify Google directly that a URL is new or updated, so it can be crawled sooner. The setup is where most people stall \u2014 a Google Cloud project, a service account, a JSON key file, and one permission change in Search Console. This guide walks through all six steps in order, with the exact screens you will see.<\/p>\n<h2>The short version: project, key, Owner<\/h2>\n<ul>\n<li>You need three things from Google Cloud: a <strong>project<\/strong>, the <strong>Indexing API enabled<\/strong> on it, and a <strong>service account JSON key<\/strong>.<\/li>\n<li>The service account must be added as an <strong>Owner<\/strong> of your Search Console property \u2014 this is the step behind most 403 errors.<\/li>\n<li>Each project has a default quota of <strong>200 publish\/update requests per day<\/strong>; busy sites can register several projects and rotate between them.<\/li>\n<li>Once connected, a plugin can submit URLs automatically on publish and update, and keep a log of every submission.<\/li>\n<\/ul>\n<nav class=\"sseo-toc\"><p class=\"sseo-toc-title\">Table of Contents<\/p><ul><li><a href=\"#the-short-version-project-key-owner\">The short version: project, key, Owner<\/a><\/li><li><a href=\"#before-step-1-two-accounts-and-ten-minutes\">Before Step 1: two accounts and ten minutes<\/a><\/li><li><a href=\"#step-1-create-a-google-cloud-project\">Step 1: Create a Google Cloud project<\/a><\/li><li><a href=\"#step-2-enable-the-indexing-api\">Step 2: Enable the Indexing API<\/a><\/li><li><a href=\"#step-3-create-a-service-account\">Step 3: Create a service account<\/a><\/li><li><a href=\"#step-4-create-the-json-key\">Step 4: Create the JSON key<\/a><\/li><li><a href=\"#step-5-add-the-service-account-as-owner-in-search-console\">Step 5: Add the service account as Owner in Search Console<\/a><\/li><li><a href=\"#step-6-connect-the-key-in-soradigital-multi-indexer\">Step 6: Connect the key in SoraDigital Multi Indexer<\/a><\/li><li><a href=\"#when-it-fails-the-four-errors-you-will-actually-see\">When it fails: the four errors you will actually see<\/a><\/li><li><a href=\"#one-project-or-several-compared-with-the-rank-math-guide\">One project or several? Compared with the Rank Math guide<\/a><\/li><li><a href=\"#what-google-officially-says-this-api-is-for\">What Google officially says this API is for<\/a><\/li><li><a href=\"#six-steps-two-traps-one-test-submission\">Six steps, two traps, one test submission<\/a><\/li><\/ul><\/nav>\n<h2>Before Step 1: two accounts and ten minutes<\/h2>\n<ul>\n<li>A Google account that can create projects in Google Cloud (a free account is fine; the Indexing API itself does not require billing to be enabled).<\/li>\n<li>Your site verified in Google Search Console, with Owner-level access for the account you will use to add the service account.<\/li>\n<li>About ten minutes. None of the steps require code.<\/li>\n<\/ul>\n<h2>Step 1: Create a Google Cloud project<\/h2>\n<ol>\n<li>Go to the <a href=\"https:\/\/console.cloud.google.com\/\" target=\"_blank\" rel=\"noopener\">Google Cloud Console<\/a>.<\/li>\n<li>Click the project selector at the top of the page, then <strong>New Project<\/strong>.<\/li>\n<li>Give the project a recognizable name \u2014 for example, <em>indexing-api<\/em> \u2014 and click <strong>Create<\/strong>.<\/li>\n<li>Wait for the creation notification, then make sure the new project is selected in the project selector before continuing.<\/li>\n<\/ol>\n<p>One project can serve multiple sites, as long as its service account is an Owner on each site&#8217;s Search Console property. If you plan to submit a lot of URLs, note the project name \u2014 you may create siblings of it later for extra quota.<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.sora.ai.in\/plugins\/wp-content\/uploads\/2026\/11\/gcp-project-dashboard.jpg\" alt=\"Google Cloud project dashboard\" style=\"max-width:100%;height:auto\" loading=\"lazy\" \/><figcaption>The Google Cloud project dashboard. Everything in this guide happens inside one project like this one \u2014 note the Project ID, you will see it again in the key file.<\/figcaption><\/figure>\n<h2>Step 2: Enable the Indexing API<\/h2>\n<ol>\n<li>With your new project selected, open <strong>APIs &amp; Services \u2192 Library<\/strong>.<\/li>\n<li>Search for <strong>Indexing API<\/strong> and open it.<\/li>\n<li>Click <strong>Enable<\/strong>.<\/li>\n<\/ol>\n<p>Skipping this step produces a specific error later: <em>&#8220;Indexing API has not been used in project \u2026 before or it is disabled.&#8221;<\/em> Enabling it now takes ten seconds and saves a debugging round-trip.<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.sora.ai.in\/plugins\/wp-content\/uploads\/2026\/11\/gcp-indexing-api-enabled.jpg\" alt=\"Web Search Indexing API enabled in Google Cloud\" style=\"max-width:100%;height:auto\" loading=\"lazy\" \/><figcaption>The Web Search Indexing API page with Status: Enabled. If this page shows an Enable button instead, click it before continuing.<\/figcaption><\/figure>\n<h2>Step 3: Create a service account<\/h2>\n<ol>\n<li>Go to <strong>IAM &amp; Admin \u2192 Service Accounts<\/strong>.<\/li>\n<li>Click <strong>Create Service Account<\/strong>.<\/li>\n<li>Enter a name (for example, <em>indexer<\/em>) and click <strong>Create and Continue<\/strong>. You can skip the optional role-granting steps \u2014 click <strong>Continue<\/strong>, then <strong>Done<\/strong>.<\/li>\n<li>Copy the service account&#8217;s email address (it looks like <em>indexer@your-project.iam.gserviceaccount.com<\/em>). You will need it in Step 5.<\/li>\n<\/ol>\n<p>A service account is a robot identity that your WordPress site uses to talk to Google. No IAM roles are required for the Indexing API; the permission that matters is granted inside Search Console, not in Cloud IAM.<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.sora.ai.in\/plugins\/wp-content\/uploads\/2026\/11\/gcp-service-accounts-list.jpg\" alt=\"Service accounts list in IAM and Admin\" style=\"max-width:100%;height:auto\" loading=\"lazy\" \/><figcaption>IAM &amp; Admin \u2192 Service Accounts. The service account email (partially masked here) is what you will add as Owner in Search Console in Step 5.<\/figcaption><\/figure>\n<h2>Step 4: Create the JSON key<\/h2>\n<ol>\n<li>In the service accounts list, click the service account you just created, then open the <strong>Keys<\/strong> tab.<\/li>\n<li>Click <strong>Add Key \u2192 Create new key<\/strong>.<\/li>\n<li>Choose <strong>JSON<\/strong> and click <strong>Create<\/strong>. The key file downloads automatically.<\/li>\n<\/ol>\n<p>Treat this file like a password: anyone holding it can submit URLs as your service account. Store it somewhere private, and never commit it to a public repository. You will upload or paste it into your indexing plugin in Step 6 \u2014 after that, you can delete the local copy.<\/p>\n<h2>Step 5: Add the service account as Owner in Search Console<\/h2>\n<ol>\n<li>Open <a href=\"https:\/\/search.google.com\/search-console\" target=\"_blank\" rel=\"noopener\">Google Search Console<\/a> and select your site&#8217;s property.<\/li>\n<li>Go to <strong>Settings \u2192 Users and permissions<\/strong>.<\/li>\n<li>Click <strong>Add user<\/strong>, paste the service account email from Step 3, set the permission to <strong>Owner<\/strong>, and click <strong>Add<\/strong>.<\/li>\n<\/ol>\n<p>Owner is required \u2014 &#8220;Full&#8221; or &#8220;Restricted&#8221; access is not enough, and submissions will fail with a 403 error. If you manage several sites, repeat this step on each property; the same service account can be Owner on all of them.<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.sora.ai.in\/plugins\/wp-content\/uploads\/2026\/11\/gsc-users-permissions-owner.jpg\" alt=\"Service account as Owner in Search Console Users and permissions\" style=\"max-width:100%;height:auto\" loading=\"lazy\" \/><figcaption>Search Console \u2192 Settings \u2192 Users and permissions, with the service account listed as Owner (\u201cPemilik\u201d in this Indonesian interface).<\/figcaption><\/figure>\n<h2>Step 6: Connect the key in SoraDigital Multi Indexer<\/h2>\n<ol>\n<li>In WordPress, open <strong>SD Multi Indexer<\/strong> in the admin menu.<\/li>\n<li>Add a key: upload the JSON file (or paste its contents). The plugin reads the project ID and service account email from the file and stores the key encrypted.<\/li>\n<li>Send a test submission for your homepage. A successful response (HTTP 200) confirms the whole chain: project, API, key, and Owner permission.<\/li>\n<li>Optionally enable automatic submission so new and updated posts are sent as you publish, and IndexNow so Bing, Yandex, and other engines are notified at the same time.<\/li>\n<\/ol>\n<p>If your site publishes more than ~200 URLs a day, repeat Steps 1\u20135 for a second project and add its key as well. Multi Indexer tracks each project&#8217;s remaining daily quota and rotates submissions to whichever project still has room, so a single exhausted project never blocks the queue.<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.sora.ai.in\/plugins\/wp-content\/uploads\/2026\/11\/smi-json-projects-tab.jpg\" alt=\"SoraDigital Multi Indexer JSON Projects tab\" style=\"max-width:100%;height:auto\" loading=\"lazy\" \/><figcaption>SoraDigital Multi Indexer \u2192 JSON \/ Projects: the connected project with its daily quota, used and remaining.<\/figcaption><\/figure>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.sora.ai.in\/plugins\/wp-content\/uploads\/2026\/11\/smi-queue-tab.jpg\" alt=\"SoraDigital Multi Indexer Queue tab\" style=\"max-width:100%;height:auto\" loading=\"lazy\" \/><figcaption>The Queue tab: URLs waiting for quota are processed automatically, rotating across projects.<\/figcaption><\/figure>\n<h2>When it fails: the four errors you will actually see<\/h2>\n<h3>403: Permission denied. Failed to verify the URL ownership.<\/h3>\n<p>The service account is not an Owner of the Search Console property that matches the submitted URL. Re-check Step 5: the email must be exact, the permission must be <strong>Owner<\/strong>, and the property must cover the URL (a domain property covers all subdomains; a URL-prefix property only covers its exact prefix). Allow a few minutes after adding the user before retrying.<\/p>\n<h3>403: Indexing API has not been used in this project before, or it is disabled.<\/h3>\n<p>The API is not enabled on the project that owns the key. Open the link inside the error message \u2014 it leads straight to the right project&#8217;s API page \u2014 click <strong>Enable<\/strong>, wait a minute, and retry.<\/p>\n<h3>429 \/ quota exhausted<\/h3>\n<p>The project has used its daily publish\/update quota (200 requests by default). Options: wait for the daily reset, request a quota increase in the Cloud Console, or \u2014 simplest for most sites \u2014 add another project key and let rotation spread the load. A submission log makes it easy to see which project ran dry and when.<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.sora.ai.in\/plugins\/wp-content\/uploads\/2026\/11\/smi-log-tab.jpg\" alt=\"SoraDigital Multi Indexer Log tab\" style=\"max-width:100%;height:auto\" loading=\"lazy\" \/><figcaption>The Log tab: every submission with its project, HTTP status and result \u2014 the first place to look when a submission fails.<\/figcaption><\/figure>\n<h3>404: Requested entity was not found<\/h3>\n<p>This usually appears when asking for the status of a URL that has never been submitted. Send a publish\/update notification for the URL first, then check its status.<\/p>\n<h2>One project or several? Compared with the Rank Math guide<\/h2>\n<p>Rank Math&#8217;s well-known tutorial, <a href=\"https:\/\/rankmath.com\/blog\/google-indexing-api\/\" target=\"_blank\" rel=\"noopener\">&#8220;Get Google To Index Your Website Instantly Using the Indexing API&#8221;<\/a>, covers the same Google Cloud groundwork: create a project, enable the API, create a service account and JSON key, add the service account as Owner in Search Console, then configure their separate Instant Indexing plugin. The Google-side steps in this guide are intentionally the same \u2014 there is only one way to create a project and a key.<\/p>\n<p>Where the two approaches differ is what happens after the key exists. The Rank Math flow is built around a single project and a single key: simple to set up, and entirely sufficient for a site that publishes a handful of URLs a day. SoraDigital Multi Indexer is built for the next stage \u2014 several projects whose quotas rotate automatically, a queue so bursts of publishing do not fail, per-channel duplicate protection so the same URL is not sent twice, a full submission log, and IndexNow handled in the same plugin.<\/p>\n<div class=\"sd-table-wrap\">\n<table>\n<thead>\n<tr>\n<th>Aspect<\/th>\n<th>SoraDigital Multi Indexer<\/th>\n<th>Rank Math guide + Instant Indexing plugin<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Google Cloud setup<\/td>\n<td>Same steps; repeatable for additional projects<\/td>\n<td>One project, one service account, one JSON key<\/td>\n<\/tr>\n<tr>\n<td>Daily quota<\/td>\n<td>200\/day per project, rotated across all registered projects<\/td>\n<td>200 requests\/day (single project)<\/td>\n<\/tr>\n<tr>\n<td>When quota runs out<\/td>\n<td>Submissions move to the next project with quota; overflow is queued<\/td>\n<td>Wait for reset or request an increase<\/td>\n<\/tr>\n<tr>\n<td>Duplicate protection<\/td>\n<td>Built-in dedupe per URL and channel, with a log-based skip for already-sent URLs<\/td>\n<td>Manual care when resubmitting<\/td>\n<\/tr>\n<tr>\n<td>Submission history<\/td>\n<td>Persistent log: URL, project used, status, and response code<\/td>\n<td>Response shown at send time<\/td>\n<\/tr>\n<tr>\n<td>IndexNow (Bing, Yandex\u2026)<\/td>\n<td>Built into Multi Indexer, sent alongside Google submissions<\/td>\n<td>Handled by the main Rank Math plugin&#8217;s Instant Indexing module<\/td>\n<\/tr>\n<tr>\n<td>Works without the vendor&#8217;s SEO plugin<\/td>\n<td>Yes \u2014 standalone, pairs with any SEO plugin<\/td>\n<td>Yes \u2014 standalone plugin<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Neither approach changes Google&#8217;s side of the equation: the Indexing API quota, the Owner requirement, and the enable-the-API step are identical. The difference is operational \u2014 how much headroom and visibility you have once submissions become routine.<\/p>\n<h2>What Google officially says this API is for<\/h2>\n<p>Google officially recommends the Indexing API for pages containing <strong>JobPosting<\/strong> structured data, or <strong>BroadcastEvent<\/strong> embedded in a VideoObject. In practice, site owners widely use it for regular content, and Google does crawl submitted URLs \u2014 but you should know the official scope before relying on it, and keep your sitemap and internal linking healthy regardless. Treat the API as an accelerator for discovery, not a replacement for the fundamentals.<\/p>\n<h2>Six steps, two traps, one test submission<\/h2>\n<p>Count it off: project, API, service account, JSON key, Owner permission, connect \u2014 six steps, none of them code. In practice, setups stall in just two places: an API that was never enabled, and a service account granted less than Owner in Search Console. Both take a minute to check. After that, one test submission returning 200 proves the whole chain works, and new posts can be announced as they publish instead of waiting to be found.<\/p>\n<p>Have your JSON key downloaded? Start with <a href=\"https:\/\/www.sora.ai.in\/plugins\/multi-indexer\/\">SoraDigital Multi Indexer<\/a>, and pair it with <a href=\"https:\/\/www.sora.ai.in\/plugins\/seo-optimizer\/\">SoraDigital SEO Optimizer<\/a> for the rest of your on-page and technical SEO.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Step-by-step: create a Google Cloud project, enable the Indexing API, generate a service account JSON key, add it as Owner in Search Console, and connect it for instant indexing \u2014 with common 403 fixes and a comparison to the single-project approach.<\/p>\n","protected":false},"author":1,"featured_media":92,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-28","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-seo"],"_links":{"self":[{"href":"https:\/\/www.sora.ai.in\/plugins\/wp-json\/wp\/v2\/posts\/28","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sora.ai.in\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sora.ai.in\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sora.ai.in\/plugins\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sora.ai.in\/plugins\/wp-json\/wp\/v2\/comments?post=28"}],"version-history":[{"count":4,"href":"https:\/\/www.sora.ai.in\/plugins\/wp-json\/wp\/v2\/posts\/28\/revisions"}],"predecessor-version":[{"id":81,"href":"https:\/\/www.sora.ai.in\/plugins\/wp-json\/wp\/v2\/posts\/28\/revisions\/81"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sora.ai.in\/plugins\/wp-json\/wp\/v2\/media\/92"}],"wp:attachment":[{"href":"https:\/\/www.sora.ai.in\/plugins\/wp-json\/wp\/v2\/media?parent=28"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sora.ai.in\/plugins\/wp-json\/wp\/v2\/categories?post=28"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sora.ai.in\/plugins\/wp-json\/wp\/v2\/tags?post=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}