> ## 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.

# Grok Bot

> Connect Grok Bot to VexiData to query your databases with natural language.

## Prerequisites

* The [Grok Bot](https://x.ai/bot) app, on a plan that includes Grok Bot
* A [VexiData](https://vexidata.com) account with at least one connected data source

## Connect Grok Bot to VexiData

**1. Copy your MCP Server URL**

Your MCP Server URL is:

```text theme={null}
https://vexidata.com/mcp
```

You can also find this on the [**Integrations**](https://vexidata.com/integrations) page in VexiData.

**2. Ask a Bot to add VexiData**

Grok Bot has no settings form for custom MCP servers: a Bot adds them for you. In a chat with any of your Bots, send:

```text theme={null}
Add a custom MCP server named VexiData at https://vexidata.com/mcp using streamable HTTP.
```

The Bot registers the server and shows a **Connect** card, because VexiData needs you to sign in.

**3. Authorize the connection**

Click **Connect** on the card. Your browser opens VexiData: sign in if asked, review the requested access, and click **Authorize**. Back in Grok Bot, VexiData appears under **Installed** in **Connect apps**.

If the sign-in doesn't finish, choose **Reopen** on the card, or **Reconnect** on the app in **Connect apps**.

**4. Start querying your data**

In any chat, type `@` and pick **VexiData** to attach it to the task, then ask about your data. For example:

* *"Which customers placed the most orders this quarter?"*
* *"What's the total revenue by region?"*
* *"Show me the top 5 most viewed pages"*

The Bot uses VexiData to run the right query against your connected database and returns the results. Apps are account-wide, so every Bot you run can use VexiData.

## Managing your connection

You can view and manage your Grok Bot connection from the **Integrations** page in VexiData. From there you can:

* See when the connection was established
* Disconnect Grok Bot by clicking **Disconnect**

To remove VexiData from Grok Bot as well, ask a Bot to remove the VexiData MCP server.

Beyond your databases, every platform connected on the **Integrations** page exposes its tools through the same connection — see [What your assistant can use](https://vexidata.com/docs/ai-integrations/introduction.md#what-your-assistant-can-use).

## Troubleshooting

> [accordion] VexiData shows Disabled by team admin
>
> * On a team, Grok Bot follows the team's connector policy. Ask an admin to allow VexiData on the team dashboard's **Plugins & MCPs** page
> * On Enterprise plans with an MCP allowlist, the admin also needs to add `https://vexidata.com/mcp` to it. Restart Grok Bot afterwards

> [accordion] Sign-in doesn't finish, or VexiData shows Needs auth or Disconnected
>
> * Choose **Authenticate** on the app in **Connect apps** (**Authorize** on the phone) and finish the sign-in in your browser
> * Ensure you're logged in to VexiData before approving the connection
> * If it keeps failing, ask the Bot to remove the VexiData server, then add it again with the MCP Server URL from VexiData

> [accordion] Grok Bot can't find my tables or data
>
> * Verify you have at least one database connected in VexiData under **Integrations**
> * Check that your database connection is active (the schema should be analyzed)
> * Try being specific about which database or table you're asking about


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