_
How to Connect Google Search Console to Agency: A Complete Guide
Estimated Time to Complete: ~5 Minutes
Connecting Google Search Console (GSC) to Agency allows the platform to fetch your performance metrics, analyze winners and losers, automatically trigger PageSpeed scans on your top-performing pages, and build a master crawl record of your site.
Because Agency operates autonomously in the background, it cannot use a simple "Log in with Google" button. Instead, it uses a Google Service Account—a special type of invisible user account that works entirely in the background. This guide will walk you through exactly how to create a Service Account, grant it access to your GSC properties, and plug it into Agency.
1How to Create a Google Service Account
First, we need to create the Service Account in Google Cloud.
- Go to https://console.cloud.google.com/
- Create a Project (or select an existing one).
Click the project dropdown at the top of the screen and click New Project. Name it something like "Agency GSC Access". - Enable the Search Console API:
In the search bar at the top, type Google Search Console API and select it. Click the Enable button. - Create the Service Account:
Go to IAM & Admin > Service Accounts using the left-hand navigation menu. Click + CREATE SERVICE ACCOUNT at the top. Name the service account (e.g.,agency-gsc-bot) and click Create and Continue. You do not need to assign any roles. Click Done. - Generate your Keys:
You will now see your new Service Account in the list. Note the Email address. Copy this email address; you will need it later. Click on the email address to open the Service Account details. Go to the Keys tab. Click Add Key > Create new key. Choose JSON and click Create. A JSON file will automatically download to your computer. Keep this safe!
2How to Grant the Service Account Access to GSC
Now that you have a Service Account, you need to tell Google Search Console that this account is allowed to read your data.
- Open https://search.google.com/search-console
- Select the property (website) you want to connect to Agency from the top-left dropdown.
- Scroll down the left menu and click Settings.
- Click on Users and permissions.
- Click the Add User button in the top right.
- In the Email address field, paste the Service Account Email you copied in Part 1.
- Set the Permission level to Restricted (or Full, but Restricted is perfectly fine for Agency as it only needs read access).
- Click Add.
3How to Add Your Credentials to Agency
Finally, we need to give Agency the keys so it can log in as the Service Account.
- Open the JSON file you downloaded in Part 1 using any text editor (like Notepad, TextEdit, or VS Code).
- Copy the entire contents of the file.
- In Agency, navigate to your Settings or Skills Marketplace page where the Search Console configuration is located.
- Locate the Service Account JSON field.
- Paste the full JSON key file content into the box.
- Under Site URL, enter your Search Console property URL. This must match exactly as shown in GSC (e.g.,
https://www.hobo-web.co.uk/).
4Security & Privacy
We take the security of your Google Search Console data very seriously. Here is exactly how your credentials are treated:
- Read-Only Access: When Agency connects to Google Search Console on your behalf, it forces a Read-Only scope (
https://www.googleapis.com/auth/webmasters.readonly). It is physically impossible for Agency to make changes to your Search Console settings, delete users, or modify your property data. - Vault Encryption: Your Service Account Private Key is never stored in plain text. It is encrypted at rest using a secure system vault key.
- Safe Extraction: When you paste your Service Account JSON into the settings field, it is parsed securely. The private key never leaks back to the frontend UI once saved.
- Why a Service Account?: Using a Service Account instead of a standard "Sign in with Google" button allows Agency to perform background tasks (like queuing PageSpeed audits when traffic spikes) without your browser needing to be open. It restricts access strictly to the bot.
5How the System Works Under the Hood
Auto-Extraction & Verification
Once you paste the JSON file into the settings box, Agency handles the heavy lifting:
- Auto-Extraction: It immediately intercepts the text, locates the specific
"client_email"and"private_key"fields, and securely separates them into the backend configuration. - Auto-Verification: Agency triggers a background test using the newly extracted keys. If it successfully connects to Google, the button next to the settings will switch to "Logged In" or "Verified".
Automated Tasks
After a successful connection, Agency will immediately begin working:
- Background Syncs: Agency will automatically pull the last 90 days of performance data and store it securely for analysis.
- Auto-Scanning: Agency will identify your top 50 pages based on click volume and automatically queue them for performance scanning (PageSpeed/Lighthouse) to ensure your most important pages are fast.
- Reporting: You will be able to view Reports, Winners & Losers, and Keyword history directly inside the Agency interface at
https://thisisagency.ai/console.
Troubleshooting
If Agency reports an error accessing your site:
- Ensure you added the exact Service Account email to the correct GSC property.
- Ensure you copied the private key fully without missing the
BEGINorENDtags. - Ensure you enabled the Google Search Console API in Google Cloud.
6How to Navigate the Console
Once your Search Console data is flowing, you can explore it via the tabs at the top of your Console interface.
- Overview (https://thisisagency.ai/console/): Your primary dashboard showing traffic trends, overall clicks, impressions, and algorithm impact analysis.
- Keywords (https://thisisagency.ai/console/keywords/): Explore the top search queries driving traffic to your site.
- Winners / Losers (https://thisisagency.ai/console/winners-losers/): Automatically compares current performance against previous periods to highlight which pages and queries are gaining or losing traction.
- Rank Tracker (https://thisisagency.ai/console/tracker/): Monitor your visibility and average position for specific target keywords over time.
- Performance (https://thisisagency.ai/console/performance/): Automatically pulls your top-trafficked URLs directly from Search Console and sequentially triggers automated PageSpeed Insights scans (Mobile, Desktop, and Accessibility) for them. It consumes 1 credit per scan.Talking to Elsa: Because Agency uses "frontend grounding," all the Search Console and Performance data you see in your browser is securely passed to Elsa behind the scenes. You don't need any special commands—just open the chat sidebar and ask her things like, "How is my mobile performance affecting my top keywords?" or "Summarize my Winners & Losers," and she already knows exactly what you're looking at.
- Pages (https://thisisagency.ai/console/url-bank/): A complete inventory of your website's URLs, broken down into sub-tabs:
- Indexed: URLs successfully indexed by Google.
- Zero Traffic: URLs that are indexed but currently receive no clicks.
- Indexation Issues: URLs with technical issues or warnings from Google.
- Connected (https://thisisagency.ai/console/import-clients/): Manage connected properties and client data.
- Settings (https://thisisagency.ai/console/settings/): The setup area where you configure your Service Account credentials and target Site URL.
Quick Setup Checklist
If you prefer to skip the explanations, just follow this checklist:
1. Create a Service Account
- Go to https://console.cloud.google.com/
- Create a New Project (e.g., "Agency GSC Access").
- Search for Google Search Console API and click Enable.
- Go to IAM & Admin > Service Accounts and click + CREATE SERVICE ACCOUNT.
- Name it (e.g.,
agency-gsc-bot) and click Create and Continue, then Done (Skip role assignment). - Copy the generated Email address from the Service Accounts list.
2. Generate the Key File
- Click on your new Service Account's email address to open its details.
- Go to the Keys tab.
- Click Add Key > Create new key.
- Choose JSON and click Create (the file will automatically download).
3. Grant Access in Google Search Console
- Open https://search.google.com/search-console
- Select your target property from the top-left dropdown.
- Navigate to Settings > Users and permissions.
- Click Add User.
- Paste the Service Account Email you copied earlier.
- Set Permission to Restricted (or Full) and click Add.
4. Connect to Agency
- Open the downloaded JSON file in a text editor.
- Copy the entire contents of the file.
- Go to Settings in Agency (https://thisisagency.ai/console/settings/).
- Paste the JSON content into the Service Account JSON field.
- Enter your exact property URL into the Site URL field (e.g.,
https://www.hobo-web.co.uk/). - Wait for the button to switch to Logged In or Verified.
5. Verify the Connection
- Navigate to your Console (https://thisisagency.ai/console/).
- Confirm that your background syncs and PageSpeed audits have begun processing.
Shaun Anderson
Shaun Anderson, AKA @hobo_web, is the Lead AI Architect behind Agency (thisisagency.ai). Shaun has over 25 years of experience in forensic SEO auditing. He was the primary investigator of the Google Search Leak of 2024, the writer of The Hobo SEO Quadrilogy, and a Keynote speaker at SMX Paris 2026.