In this tutorial, I'll walk you through the process of setting up auto-indexing, a new feature we've added to help you efficiently index your entire website. Auto-indexing is a great solution to overcome Google's limitation of on allowing the indexing of 200 pages a day. With our system, you can schedule the indexing of thousands of pages over a week, saving you time and effort. Let's dive into the steps to get this set up.
Go to Google Cloud and create an account. If you don't have one no worries tt's free.
Once logged in create a new project.
Name the project with the related website. *NOTE: you can make multiple projects for each site you have on Drafthorse.
the go here and https://console.cloud.google.com/apis/enableflow?apiid=indexing.googleapis.com
Then select the project and go to the related dashboard.
Next enable the Indexing API by going to this link. Make sure you're still on the same project and click enable.
Then go to https://console.cloud.google.com/projectselector2/iam-admin/serviceaccounts and select the related project.
Then create a service account.
Name the service account.
You can leave 2 and 3 blank.
Now on the service account dashboard click manage keys.
Create new key.
Select JSON.
Now go back to Drafthorse and upload that private key.
Next go back to service accounts and copy the email.
Then go to Google Search Console setting and add that email as an owner.
Then navigate back to Drafthorse and paste you sitemap URL and click update site.
Once your service account is set up, you'll need to generate a JSON key to use it for communication. Here's how:
Now let's enable the necessary APIs for auto-indexing:
To allow your service account to access your Google Search Console, follow these steps:
Now let's upload the necessary information to Draft Horse for auto-indexing:
Once your information is uploaded and validated, you're almost there:
Keep in mind that Google imposes quotas on API usage. If you notice that your publish request quota is larger than 200 per day, reach out to us. We can adjust this to enable faster publishing.
And that's it! You've successfully set up auto-indexing for your website using Draft Horse. If you have any questions or need further assistance, feel free to reach out.