> ## Documentation Index
> Fetch the complete documentation index at: https://vexidata.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Search Console

> Connect Google Search Console to VexiData to analyze search performance with your AI assistant.

Connect Google Search Console and ask your AI assistant about search performance, check how Google indexes your pages, and manage sitemaps — all in natural language.

## Prerequisites

* A Google account with access to at least one property in [Search Console](https://search.google.com/search-console) (as an owner or a user)
* The **Connect sources** capability in your VexiData organization, to connect the platform — Owners and Admins have it by default

## Connect Google Search Console

**1. Open the Integrations page**

Go to the [**Integrations**](https://vexidata.com/integrations) page in VexiData and find **Google Search Console**.

**2. Sign in with Google**

Click **Connect**. VexiData redirects you to Google's consent screen — pick the account that has access to your properties and approve the request.

VexiData asks for the `webmasters` scope, which covers reading search analytics and managing sitemaps for your properties. It also requests your basic Google profile and email address — the email address is what names the connection. Keep the Search Console box ticked on the consent screen: without it, the connection is refused and you need to connect again.

> [!NOTE]
>
> Each Google product connects separately. Connecting Search Console does not connect [Google Analytics](https://vexidata.com/docs/integrations/google-analytics.md) or [Google Ads](https://vexidata.com/docs/integrations/google-ads.md) — each has its own consent flow.

**3. Pick your default sites**

Click the new connection's card to open its page. In the **Settings** card, check the sites the AI should work with when you don't name one, then click **Save**. You can always ask about a different site in a conversation.

## Managing the connection

To connect another Google account, click **Add account** on the Google Search Console card on the [**Integrations**](https://vexidata.com/integrations) page. Each account becomes its own connection, and the one with the **Primary** badge is the primary, which tools use when a request doesn't name a connection.

Click a connection's card to open its page. It has **Connection details**, **Settings**, and **Connection** cards, plus an [**Access**](https://vexidata.com/docs/workspaces/invite-team-members.md#access-to-a-data-source) section for choosing who can use the connection. From there you can:

* **Set default sites** — in **Settings**, check the properties the AI uses by default and click **Save**.
* **Make primary** — in **Connection**, make this connection the primary one. The button is hidden on the connection that is already primary.
* **Reconnect** — appears in **Connection** only when Google access has expired (the card shows **Reconnect required**). It runs the Google consent flow again; sign in with the same account to refresh this connection. A different account is added as a separate connection.
* **Disconnect** — in **Connection**, remove the connection. AI tools stop working for it immediately.

## What the AI can do

| Tool | What it does | Access |
| - | - | - |
| `search_console_list_sites` | Lists the Search Console properties the connection can access. | Read |
| `search_console_query` | Queries search analytics — clicks, impressions, CTR, and position by query, page, country, device, date, or hour (hourly data for up to 10 days). | Read |
| `search_console_inspect_url` | Inspects a URL's index status, crawl result, and indexing issues. | Read |
| `search_console_list_sitemaps` | Lists the sitemaps submitted for a site. | Read |
| `search_console_submit_sitemap` | Submits a sitemap to Google. | Write |
| `search_console_delete_sitemap` | Removes a submitted sitemap. | Destructive |
| `search_console_indexation_summary` | Rolls up indexation signals from your submitted sitemaps — URL totals, errors, warnings, and sitemaps still pending. | Read |

> [!NOTE]
>
> Write and destructive tools need **Write** access on the connection — by
> default, Owners and Admins. Members get the read tools. Try asking: *"Which
> queries brought the most clicks last month?"* or *"Why isn't /pricing
> indexed?"*

## Troubleshooting

> [accordion] Connection expired or tools return authorization errors
>
> Google access expires when the account password changes, when access is revoked from the Google account's security settings, or when consent lapses. Open the connection from the **Integrations** page — its card shows **Reconnect required** — and click **Reconnect** in the **Connection** card to run the consent flow again.

> [accordion] A property is missing from the site list
>
> VexiData sees exactly the properties the connected Google account can access:
>
> * Check the property exists in [Search Console](https://search.google.com/search-console) when you're signed in with that account
> * Ask a property owner to add the account under the property's **Settings** > **Users and permissions**
> * If you connected the wrong Google account, click **Add account** on the **Integrations** page and sign in with the right one — a different account becomes a second connection — then open the wrong connection and click **Disconnect**

> [accordion] Tools don't appear in my AI client
>
> Tools register as soon as the platform is connected, but some clients cache the tool list. Reload or reconnect the VexiData connector in your AI client.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.