Setup Guide
Get Google Indexing connected to your HubSpot portal in around 10 minutes. Follow these steps after installing the app.
Create a Google Cloud project
Go to console.cloud.google.com and sign in with your Google account.
- Click Select a project at the top, then New Project
- Give it a name (e.g.
HubSpot Indexing) and click Create - Make sure your new project is selected before continuing
Enable the required APIs
You need to enable two APIs on your project:
- Indexing API — allows the app to submit URLs to Google
- Site Verification API — allows the service account to verify your domain automatically
Click each link above, make sure your project is selected, then click Enable.
Create a service account
In Google Cloud Console, go to IAM & Admin → Service Accounts.
- Click Create Service Account
- Give it a name (e.g.
hubspot-indexing) and click Create and Continue - Skip the optional role and user access steps — click Done
Make a note of the service account email address — the app will display it once you upload your JSON key.
Download the JSON key file
Open your service account and go to the Keys tab.
- Click Add Key → Create new key
- Select JSON and click Create
- A JSON file will download — keep it safe
This file contains your service account credentials. Do not share it publicly or commit it to a code repository.
Paste the JSON key into the app
Open Google Indexing in your HubSpot portal. Open the downloaded JSON file in a text editor (Notepad on Windows, TextEdit on Mac), select all, copy, and paste the entire contents into the Service Account JSON field. Click Save & continue.
The app will detect and display the service account email address so you can confirm the correct file was pasted.
Verify your domains
After saving the service account, the app will list your HubSpot domains. Select the domains you want to submit to Google and click Get verification codes.
For each domain, the app will provide a meta tag to add to your homepage's <head> in HubSpot. Once the tag is live, click Verify now — the app confirms ownership automatically via the Site Verification API.
In HubSpot, add the meta tag via the page editor: open your homepage, go to Settings → Advanced → Head HTML, paste the tag, and publish. Then return to the app and click Verify now.
You're done
Once your domain is verified, the app is active. Every blog post and site page you publish or update in HubSpot will be submitted to Google automatically via the Indexing API.
Use the Verify Search Console Ownership button on the dashboard at any time to confirm the service account is still connected correctly.