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

# Claude Web

> Set up Detrics in Claude.ai or Claude Desktop in 30 seconds, no API key needed

<Note>
  **Claude Pro or higher required.** MCP custom connectors are available on Claude Pro, Team, and Enterprise plans. The free Claude plan does not support MCP.
</Note>

## Setup

The whole process takes about 30 seconds.

<Steps>
  <Step title="Open the setup guide in Detrics">
    Go to [app.detrics.io/mcp/claude](https://app.detrics.io/mcp/claude). This page shows numbered steps with screenshots for each one.
  </Step>

  <Step title="Open Claude settings">
    In Claude Desktop (or claude.ai), open **Settings** by clicking the gear icon.
  </Step>

  <Step title="Go to Connections">
    In the settings sidebar, click **Connections**. You will see a list of your connected services.
  </Step>

  <Step title="Add a custom connector">
    Scroll to the bottom of the connections list and click **Add custom connector**.

    Enter:

    * **Name:** `Detrics`
    * **URL:** `https://mcp.detrics.io`

    No trailing slash, no `/sse` suffix. Just the base URL.
  </Step>

  <Step title="Click Connect">
    Click **Connect** next to the Detrics connector that appears in your list.
  </Step>

  <Step title="Authorize with your Detrics account">
    You will be redirected to Detrics. Sign in with your account to authorize access. Once authorized, the connection is established.
  </Step>

  <Step title="Verify it works">
    Start a new chat in Claude and ask:

    ```
    What platforms do I have connected?
    ```

    You should see a list of your connected data sources. If you do, you are all set.
  </Step>
</Steps>

## Example prompts

Once connected, try these:

* "What was my total ad spend across all platforms last month?"
* "Compare my Google Ads and Meta Ads ROAS for the last 30 days"
* "Show me my top 5 campaigns by conversions this week"
* "What's my Shopify revenue trend over the last 90 days?"
* "What metrics are available for TikTok Ads?"

Or browse the [Prompt Templates](/claude/use-prompt-templates) for 40+ ready-made marketing prompts.

## Using AI Contexts

AI Contexts let you pre-select which accounts to query. Instead of specifying platform and account every time, you create a Context once and reference it in your prompts.

See [Create an AI Context](/claude/create-ai-context) to set one up.

## Revoking access

To disconnect Detrics from Claude:

1. Go to Claude **Settings > Connections**
2. Find the Detrics connector
3. Click **Disconnect** or **Remove**

This immediately revokes the OAuth token. You can reconnect at any time from [app.detrics.io/mcp/claude](https://app.detrics.io/mcp/claude).

## Troubleshooting

<AccordionGroup>
  <Accordion title="&#x22;Authorization failed&#x22; or stuck on login page">
    Try these steps:

    1. Clear your browser cookies and try again
    2. Make sure you are using a supported Claude plan (Pro, Team, or Enterprise)
    3. Check that your Detrics account is active at [app.detrics.io](https://app.detrics.io)
    4. Try opening the connection flow from a private/incognito window
  </Accordion>

  <Accordion title="&#x22;Connection error&#x22; after authorizing">
    This usually means the MCP server URL was entered incorrectly.

    **Fix:** Make sure the server URL is exactly `https://mcp.detrics.io`. Enter the base URL by itself, with no trailing slash and no `/sse` suffix.
  </Accordion>

  <Accordion title="Claude cannot access Detrics tools">
    The MCP connection may have expired or been disconnected.

    **Fix:**

    1. Go to Claude Settings > Connections
    2. Remove the existing Detrics connection
    3. Reconnect from [app.detrics.io/mcp/claude](https://app.detrics.io/mcp/claude)
  </Accordion>

  <Accordion title="&#x22;No connections found&#x22; response">
    Your Claude connection works, but there are no platforms connected in your Detrics workspace.

    **Fix:**

    1. Go to [app.detrics.io](https://app.detrics.io) and connect at least one data source
    2. Or ask Claude: "Connect my Facebook Ads account", it will generate an OAuth link for you
  </Accordion>
</AccordionGroup>

For more issues, see [Troubleshooting](/claude/troubleshooting).
