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

# ChatGPT Integration

> Connect OnlyTraffic Studio MCP to ChatGPT via Developer Mode.

ChatGPT exposes custom MCP connectors only when **Developer Mode** is enabled. It's a one-time toggle in settings; after that you can add any MCP server, including OnlyTraffic Studio.

## Enable Developer Mode

<Steps>
  <Step title="Open Settings">
    Click your avatar (top-right) → **Settings**.
  </Step>

  <Step title="Switch to Developer Mode">
    Open the **Connectors** tab → **Advanced** → toggle **Developer Mode** on.

    A new section "Custom connectors" appears below.
  </Step>
</Steps>

<Info>Developer Mode is available on plans that include connectors (Plus / Pro / Business / Enterprise). If the toggle isn't visible, check your plan first.</Info>

## Add the OnlyTraffic Studio connector

<Steps>
  <Step title="Add custom connector">
    Under **Custom connectors**, click **New connector**.

    | Field          | Value                                    |
    | -------------- | ---------------------------------------- |
    | Name           | `OnlyTraffic Studio`                     |
    | MCP Server URL | `https://studio-api.onlytraffic.com/mcp` |
    | Authentication | `OAuth`                                  |
  </Step>

  <Step title="Authorize">
    Click **Connect**. ChatGPT opens the OnlyTraffic authorize page. Paste your **Studio API key** ([create one here](https://studio.onlytraffic.com/api)) and click **Authorize**.

    The popup closes and the connector status turns to **Connected**.
  </Step>

  <Step title="Enable for a chat">
    Open a new chat. Click the **+** button → **Connectors** → toggle **OnlyTraffic Studio** on for the conversation.

    ChatGPT will reach for your Studio data whenever the question warrants it.
  </Step>

  <Step title="Try it">
    Ask, for example:

    > Pull last 30 days of subscriber growth grouped by source. Make a chart.

    ChatGPT will pull the answer from your Studio data and plot the result.
  </Step>
</Steps>

## Revoking access

To disconnect ChatGPT from your Studio account:

1. Go to [Studio → API](https://studio.onlytraffic.com/api).
2. Revoke the API key ChatGPT is using. Existing ChatGPT sessions stop working immediately.

You can also delete the connector from ChatGPT's settings — that disconnects this client and leaves the API key in place for other clients.

## Troubleshooting

<AccordionGroup>
  <Accordion title="The 'Developer Mode' toggle is missing">
    Custom connectors require a paid plan with connector support. ChatGPT Free does not expose this option. Check **Settings → Account** for your current plan.
  </Accordion>

  <Accordion title="The authorize popup is blocked">
    Allow popups from `chatgpt.com` and `studio-api.onlytraffic.com`, then click **Connect** again. Some corporate browsers block third-party popups by default.
  </Accordion>

  <Accordion title="ChatGPT 'doesn't know' it can access Studio">
    Make sure the connector is toggled on for the current chat. Connectors are per-conversation by default, not global.
  </Accordion>
</AccordionGroup>
