Integrate Google Search Console
Last updated
Last updated
When you integrate your Google Search Console Account, you will unlock these features:
Ability to View the Actual visit counts, impressions, and Average Position beside each tracked data.
Ability to Explore already ranking keywords in Google.
Ability to View the Stats for the Last 30 days. Easily View the top keywords, countries and pages.
Get the Last 7 days' Search Console Data in the notification Email.
To integrate your Google Search Console Account with SerpBear, follow these steps:
Create a New Project in Your Google Cloud.
Once you have created the project, activate the Google Search Console API by going to your Google Cloud Dashboard > Library.
Then Search for "Google Search Console" and click the "Enable API' button.
Go to Google Service Accounts Dashboard, and then select your Project.
You should already see a service account created. Click the three dots beside it, and click the "Manage Keys" option.
Once you are on the Manage Keys page. Click the Add key button and select JSON.
A JSON file will be downloaded. This file will contain the private_key
& the client_email
values that we will need for the next step.
Go to your Google Search Console Dashboard, and select the domains you want to connect with SerpBear.
Go to the Settings page, and click the "Users & Permissions" menu.
From the Users and Permissions page, click the "Add User" button.
In the Add User Popup, insert the client_email
value you found in the JSON file you downloaded from the Google Cloud account.
Note: You will have to perform step 4 for every domain that you want to connect to SerpBear.
There are a few ways to connect your Google Search Console Domain/URL to SerpBear.
Method 1: Connecting through the App Settings UI.
Open the SepBear App Settings Panel, and click the "Search Console" tab, and insert the private_key
& the client_email
into the relevant fields. These two values will be automatically used globally for all your domains added to SerpBear.
Method 2: Connecting through the Domain Settings UI.
You can connect a specific account to a specific domain by inserting the private_key
& the client_email
values through the Domain Settings Modal.
Method 3: Connecting through the environment variable
When you pass the private_key
& the client_email
into values via environment variables, the values are used for all the domains assuming the private key and the client email value have access to all your domains.
If you are deploying locally, you need to open the env.local file and the 2 values this way:
If you are deploying with docker, and passing environment directly with the docker run command, you must also pass these 2 variables.
If you use docker-compose, you can simply insert these 2 values in the environment section.