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

# MCP Gateway Quick Start

> An administrator adds a data source and gives a user access. The user connects an AI agent and asks a question about live data.

In most teams, two people set up MCP access: an administrator adds a data source and gives a user access to it, and the user connects an AI agent and asks a question. This guide splits the steps the same way. If you are doing both, the [Quick Start](https://docs.cloud.cdata.com/en/Quick-Start-Guide.md) covers everything in one pass.

## For Administrators

### Step 1: Sign Up

[Create a Connect AI account](https://cloud-login.cdata.com/u/signup), or [log in](https://cloud.cdata.com/) to the account that you already have.

### Step 2: Add a Data Source

Adding a data source requires the Administrator, Workspace Administrator, or Connection Administrator role.

Open **Sources** > **+ Add Connection**, select your source, enter its connection details, and then click **Save and Test**. Each source has its own page under **Data Sources** that lists the fields it needs. To try the setup without credentials, use the [sample weather file](https://docs.cloud.cdata.com/en/Quick-Start-Guide.md#step-3-add-a-data-source) from the Quick Start.

### Step 3: Invite a User and Grant Access

On the **Users** tab of the **Identities** page, click **Invite Users** and enter the user's email address. Under **Permissions**, select the **Select** checkbox for the connection that you added in Step 2, and then click **Send Invite**.

For the other options in the dialog, see [Invite Users](https://docs.cloud.cdata.com/en/Identities/Users.md#invite-users). To grant the same access to many users at once, use a [policy](https://docs.cloud.cdata.com/en/Roles-Policies/Policies.md) instead.

> [!TIP]
>
> Optional: describe your data in the [Context Editor](https://docs.cloud.cdata.com/en/Context-Editor.md) so that agents use your
> business terms. Context is in early access. See [Context Overview](https://docs.cloud.cdata.com/en/Context.md).

## For Users

### Step 4: Connect Your Agent

Accept the invitation email, then set your password and sign in. See [Accept an Invitation](https://docs.cloud.cdata.com/en/Identities/Users.md#accept-an-invitation).

Point your agent at the Connect AI MCP server, *[https://mcp.cloud.cdata.com/mcp](https://mcp.cloud.cdata.com/mcp)*, and sign in with OAuth when the agent asks. In Claude Code, run the following command, start a session with `claude`, run `/mcp`, select **connectai**, and then choose **Authenticate**:

```bash wrap theme={null}
claude mcp add --transport http connectai https://mcp.cloud.cdata.com/mcp
```

For other agents, such as Claude, ChatGPT, Copilot Studio, Gemini, Cursor, and Visual Studio Code, see [AI Tools](https://docs.cloud.cdata.com/en/Clients/AITools.md).

### Step 5: Ask a Question

Confirm that your agent sees the connection that your administrator shared:

```text wrap theme={null}
Using the connectai MCP server, list the data sources you can see.
```

Then ask a question about the data in that connection. The agent finds the tables and writes the SQL for you.

> [!TIP]
>
> **You made your first MCP query.** Your agent queried live data through Connect AI, with the
> access that your administrator granted.

If the list is empty, ask your administrator to check your permissions on the connection.

> [!TIP]
>
> Optional: tell agents about your role, the filters you usually apply, and how you want answers in
> [User Context](https://docs.cloud.cdata.com/en/User-Context.md).

## Next Steps

> [card] [Tool Servers](https://docs.cloud.cdata.com/en/MCP-Tool-Servers.md)
>
> Give an agent one URL for a chosen set of MCP servers.

> [card] [AI Tools](https://docs.cloud.cdata.com/en/Clients/AITools.md)
>
> Setup guides for Claude, ChatGPT, Copilot, Cursor, and more.

> [card] [Permissions](https://docs.cloud.cdata.com/en/Permissions.md)
>
> Control who can read and write each source.

> [card] [Context Overview](https://docs.cloud.cdata.com/en/Context.md)
>
> Give agents your business definitions.


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