1. Home
  2. Blog
  3. Step-by-Step Guide: Connect Your GA4 and Your Search Console...

Step-by-Step Guide: Connect Your GA4 and Your Search Console to Your AI Assistant via MCP

From zero to asking your analytics questions in plain language: what you need before you start, how the one-click Google connection works, how the assistant is linked via MCP, and the first 10 questions worth asking.

Article cover: Step-by-Step Guide: Connect Your GA4 and Your Search Console to Your AI Assistant via MCP

Before you start: what you need to have ready

The connection takes minutes, but it helps to arrive with the basics in order:

  • A Google Analytics 4 property for your site, with data (if your site already gets visits, you almost certainly have it).
  • A verified Search Console property for the same site. If you do not have it yet, verify it first: without it Google is not recording how people find you, and it is step zero of any SEO work. In our article on what MCP is and why connect your analytics to AI we explain the full context.
  • Access to the Google account that manages those properties. The connection is made with that account; no password is shared.
  • Your AI assistant with support for MCP connectors.

Step 1: create your account in Xelnabox

Register on the platform and confirm your company. Each company (tenant) connects its own Google account and sees only its own data: if you are an agency, each client is isolated in its own space. Plans differ by how many properties you can connect and how many queries the month includes; you can start with the Free plan and upgrade when you need to — the detail is in Plans.

Step 2: connect your Google account with one click

From your dashboard, the Google connection is via OAuth: you choose your account, review the permission and authorize it. Three important things about that permission:

  1. It is read-only. Xelnabox queries your data; it cannot modify your GA4 or Search Console properties.
  2. Access tokens are stored encrypted.
  3. You can revoke the connection whenever you want, from your dashboard or from your own Google account.

Step 3: choose your GA4 and Search Console properties

With the account connected, you select which GA4 property and which Search Console property are associated with your company and will be the ones the assistant queries by default. If you manage several brands, verify that you chose the property for each site — it is the most common mistake when starting: asking the AI about data from another property.

In the dashboard you generate your personal MCP token. That token is the key with which your AI assistant presents itself to Xelnabox: you configure it once in your assistant as an MCP connector and it is linked to your company. Treat it like a password: do not share it and rotate the token if your team changes.

Step 5: the first 10 questions worth asking

With everything connected, these questions make good use of the connection because they touch the three levels of features: your data, calculated insights and the market.

  1. "How is my traffic this week compared with the previous one, in sessions and conversions?"
  2. "Which pages lost the most clicks in Search Console this month?"
  3. "Which new queries started bringing impressions?"
  4. "Which pages are in positions 4 to 15 with CTR below what is expected for their position?"
  5. "Do I have queries where two of my pages compete with each other?" (cannibalization)
  6. "Which channels bring this month's conversions in GA4?"
  7. "How does my traffic behave by device and by country?"
  8. "Is this URL indexed and what sitemaps does my property have registered?"
  9. "Which keywords does this competitor domain rank for that I am not working on?"
  10. "For this keyword, who are the top 3 and what blocks does Google show?"

Questions 4 and 5 come from the calculated insights on your own data; the full review routine is described in the weekly SEO audit with GA4 and Search Console.

Common problems when connecting

  • "My assistant does not see data." It is almost always the wrong property chosen in step 3, or the connected Google account does not have access to that property. Check it in the dashboard before touching anything else.
  • "Today's data does not appear." Both GA4 and Search Console process information with a delay: today's data may look incomplete and Search Console usually closes its figures days later. Compare complete periods, not the current day.
  • "I connected the personal account, not the company one." Disconnect and redo step 2 with the account that manages the properties. Data does not mix: each connection queries only what that account can see.

Security, in summary

The architecture is designed so that asking the AI does not mean releasing your data: read-only OAuth authorization, encrypted tokens, scope limited to your company's properties, and revocation at any time. Your assistant receives the tools' responses, not free access to your Google account.

Conclusion

Connecting GA4 and Search Console to your AI assistant is not a technical project: it is five steps, one authorization click and one token. What changes is the day-to-day: the question "how is the site doing?" stops waiting for the monthly report and is answered in the conversation, with your figures.

You ask this, you don't export it: connect your MCP

Everything in this article — your GA4, your Search Console and the market data — is asked in plain language when your AI assistant is connected over MCP. Start the connection now: along the way you create your free account, connect your Google and generate your token in the panel. It takes minutes and asks for no card.

Start my free connection See plans

Free plan: 1 active GA4 property and 1 Search Console property, 100 queries a month and 1 market query. No card.

Keep reading