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

# Connect to ChatGPT

> Connect your data to ChatGPT as a custom MCP app

Add Raily to ChatGPT as a custom app (MCP connector). Once connected, ChatGPT can search your data right inside a chat, with your access policies and analytics applied.

## Requirements

* A ChatGPT account that can add custom apps. Adding an unverified MCP connector needs **Developer mode**, flagged as an elevated-risk feature.
* Your **Raily MCP Server URL** (for example `https://railyconnect.raily.ai/mcp`). You'll find it on your AI Endpoint in Raily.

## Setup Steps

### Step 1: Open ChatGPT

Go to [chatgpt.com](https://chatgpt.com) and sign in.

<Frame>
  <img src="https://mintcdn.com/railyai/CC-R1Kj1PVtRsym2/images/gpt/step1.png?fit=max&auto=format&n=CC-R1Kj1PVtRsym2&q=85&s=acf6a3e0367b02f698a04d3dea5e350a" alt="ChatGPT home screen" width="1908" height="1027" data-path="images/gpt/step1.png" />
</Frame>

### Step 2: Open Settings

Click your profile in the bottom left, then choose **Settings**.

<Frame>
  <img src="https://mintcdn.com/railyai/CC-R1Kj1PVtRsym2/images/gpt/step2.png?fit=max&auto=format&n=CC-R1Kj1PVtRsym2&q=85&s=6ca41465d72229e4ce9e22603faab763" alt="ChatGPT account menu with Settings" width="1910" height="1033" data-path="images/gpt/step2.png" />
</Frame>

### Step 3: Turn on Developer mode

Open **Security and login** in Settings, then toggle **Developer mode** on. This lets you add a custom, unverified MCP connector.

<Frame>
  <img src="https://mintcdn.com/railyai/cWHjvF0hrK7eL_FJ/images/gpt/developer_mode.png?fit=max&auto=format&n=cWHjvF0hrK7eL_FJ&q=85&s=86072ad5265b8da5750acf6bfa9ada1e" alt="Developer mode toggle under Security and login" width="690" height="610" data-path="images/gpt/developer_mode.png" />
</Frame>

### Step 4: Go to Plugins

Open the **Plugins** section (this used to be called **Apps**). It lists everything connected to your chats.

<Frame>
  <img src="https://mintcdn.com/railyai/cWHjvF0hrK7eL_FJ/images/gpt/plugins.png?fit=max&auto=format&n=cWHjvF0hrK7eL_FJ&q=85&s=d413cd49aa26b33723ab2cc11dd9e111" alt="Plugins section in ChatGPT settings" width="715" height="622" data-path="images/gpt/plugins.png" />
</Frame>

### Step 5: Browse plugins

Click **Browse plugins**, then click **+** in the top right.

<Frame>
  <img src="https://mintcdn.com/railyai/cWHjvF0hrK7eL_FJ/images/gpt/plus.png?fit=max&auto=format&n=cWHjvF0hrK7eL_FJ&q=85&s=5794cf8e7c1ac2eb765bb529b7cb9b87" alt="Browse plugins page with the add button" width="897" height="635" data-path="images/gpt/plus.png" />
</Frame>

### Step 6: Create the app

Fill in the form:

* **Name** and an optional **Description**.
* **MCP Server URL** - your Raily MCP Server URL.
* **Authentication** - select **OAuth**.

Check **I understand and want to continue**, then click **Create**.

<Frame>
  <img src="https://mintcdn.com/railyai/CC-R1Kj1PVtRsym2/images/gpt/step5.png?fit=max&auto=format&n=CC-R1Kj1PVtRsym2&q=85&s=f3d8623678593cd80dc0bb38af209f9c" alt="New App form with name, MCP server URL, and OAuth" width="1914" height="1023" data-path="images/gpt/step5.png" />
</Frame>

### Step 7: Allow access in Raily

Raily opens an **Application Access Request**. Confirm the callback address belongs to ChatGPT, then click **Allow Access**.

<Frame>
  <img src="https://mintcdn.com/railyai/CC-R1Kj1PVtRsym2/images/gpt/step6.png?fit=max&auto=format&n=CC-R1Kj1PVtRsym2&q=85&s=b0602dd25f191aac990ab1c4229c9faa" alt="Raily application access request with Allow Access" width="1916" height="1003" data-path="images/gpt/step6.png" />
</Frame>

### Step 8: Sign in and approve

Sign in to your Raily account and click **Allow** to grant access.

<Frame>
  <img src="https://mintcdn.com/railyai/CC-R1Kj1PVtRsym2/images/gpt/step7.png?fit=max&auto=format&n=CC-R1Kj1PVtRsym2&q=85&s=5573f5dca02a6b036aab74d238a14d38" alt="OAuth consent screen granting access to Raily" width="1895" height="1031" data-path="images/gpt/step7.png" />
</Frame>

### Step 9: App connected

The app now shows as connected, with its URL and OAuth details. ChatGPT can use its **search** action.

<Frame>
  <img src="https://mintcdn.com/railyai/CC-R1Kj1PVtRsym2/images/gpt/step8.png?fit=max&auto=format&n=CC-R1Kj1PVtRsym2&q=85&s=c076a4412502ac0454e0bb0b1afe2d58" alt="Connected Raily app showing connection details and actions" width="675" height="599" data-path="images/gpt/step8.png" />
</Frame>

### Step 10: Add the app to a chat

In a chat, click **+**, open **More**, and select your Raily app.

<Frame>
  <img src="https://mintcdn.com/railyai/CC-R1Kj1PVtRsym2/images/gpt/Step9.png?fit=max&auto=format&n=CC-R1Kj1PVtRsym2&q=85&s=8ee203ef6666340f1f3d3a8665f40f22" alt="Selecting the Raily app from the chat menu" width="1916" height="1026" data-path="images/gpt/Step9.png" />
</Frame>

### Step 11: Ask a question

Type your question. ChatGPT searches your data through the app and answers from your content.

<Frame>
  <img src="https://mintcdn.com/railyai/CC-R1Kj1PVtRsym2/images/gpt/Step10.png?fit=max&auto=format&n=CC-R1Kj1PVtRsym2&q=85&s=b50fe4c694beed1f5606b204a3233d67" alt="Asking a question with the Raily app attached" width="1911" height="1023" data-path="images/gpt/Step10.png" />
</Frame>

## Next Steps

Once connected, ChatGPT can discover and search your data based on your configured access policies.

<CardGroup cols={2}>
  <Card title="Access Control" icon="shield-check" href="/features/access">
    Configure access policies for your data
  </Card>

  <Card title="Analytics" icon="chart-line" href="/features/analytics">
    Track how ChatGPT uses your data
  </Card>
</CardGroup>
