Integrate Google Search Console

Explore Google Search Console Data right inside SerpBear
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 Last 30 days. Easily View the top keywords, countries & 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:
Step 1: Create a Google Cloud Project
Step 2: Activate the Google Search Console API
Once you have to created the project, activate the Google Search Console API by going to your Google Cloud Dashbaord > Library.
Then Search for "Google Search Console" and click the "Enable API' button.
Step 3: Create a Service Account Key
- 1.
- 2.You should Already see a service account created. Click the three dots beside it, and click the "Manage Keys" option.
- 3.Once you are in the Manage keys page. Click the Add key button and select JSON.
- 4.A Json file will be downloaded. This will file will contain the
private_key
& theclient_email
value which should be added as your environment variable for the app. - 5.If you are deploying locally, you need to open the env.local file and the 2 values this way:
SEARCH_CONSOLE_PRIVATE_KEY=-----BEGIN PRIVATE KEY-----\ssssaswdkihadho\nlnb/Kt88qQC6gO638o062+5peN8/UAE1+SbaQ10Vtrh7j9c5HoFjEE3BQjLv37qu\nxFtQ7JJ2IottyRnssrUf7RlmpjaAV0zc27IrQcI5bZQIBHiM1G5qdMThh3eDjKzI\nGvWP0LIQsoyAzoU29D3gS0/9deR0bpxK7/xtk7ClifKguewMWYNd8jVw9TvoNXRI\nSkK7m0sOTgp6f/xCSLcGQkhVN7gHIS5MqMu3a8AGT8iOoYfLtx5sSqp2/pTbwv3l\n8X5ik9tk6gR/tR9oharmW72ttVILk1M/wA6dc+H+8ssMCwseF91V+ZoujZxerrus\nyawSWNj9AgMBAAECggEANHCiAYY3gt2XjUgTmtQNvf78wQEVnO//VfHKtB5Z2YfU\nUWKJylLtGxW6htnmND46cuCWmiESS4N9jzj6sIb5Kf6MfspejIrBXjlkSXqgRiDa\n9LscBg/yA0O39Mm+KuCmnlFvu5FaLJIOUBWQZOGdLrpocS8TvVfdHf5QoFt8Yf0a\n0R+qn2TkGdm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RIVATE KEY-----\n
If you are deploying with docker, and passing environment directly with the docker run command, you need to also pass these 2 variables.
If you are using docker-compose, you can simply insert these 2 values in the environment section.
Step 4: Connect your Google Cloud Account with your Google Search Console Properties.
- 1.Go to your Google Search Console Dashboard, and select the domains that you want to connect with SerpBear.
- 2.Go to the Settings page, and click the "Users & Permissions" menu.
- 3.From the Users and permissions page, click the "Add User" button.
- 4.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.
Last modified 8mo ago