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

# Connect an AI assistant to ABConvert in 5 minutes

> Connect Claude or another MCP client to ABConvert through Claude’s connector directory or with an API token, then run your first test prompt.

By the end of this guide you'll have an AI assistant connected to ABConvert and a real draft test created from a single prompt.

**1. Choose your connection type**

* **Claude.ai / Claude Desktop connector:** find ABConvert in Claude’s connector directory and authorize it with a one-time connect code. No Client ID or Client Secret is required.
* **Claude Code or another header-based client:** mint an API token and send it as an Authorization header.

**2. Connect your AI assistant**

> [tab] Claude Desktop / Claude.ai
>
> 1. Open Claude’s connector directory on desktop or web, search for **ABConvert**, and choose **Connect**.
>
> 2. In ABConvert, choose the surface your store shows:
>
>    * If the Integrations Hub is enabled, open **Integrations → MCP**, select **Claude**, then choose **Desktop / web**.
>    * Otherwise, open **Settings → MCP & API Access** and use the **Generate a Connect Code** card.
>
> 3. Click **Generate connect code**. On the Integrations Hub, it is under **2. Authorize This Store**. In Settings, it is in the **Generate a Connect Code** card.
>
> 4. When Claude opens the ABConvert authorization page, enter that code, check the store domain, and approve access.
>
> Claude lists the ABConvert tools as soon as the connection completes — no restart needed. See [Claude connector](https://docs.abconvert.io/mcp/claude-connector.md) for troubleshooting.

> [tab] ChatGPT
>
> You can connect now through a custom MCP server in the desktop app:
>
> 1. Open **Settings → Plugins → Add → Add MCP server**.
> 2. Enter **ABConvert MCP** as the name and select **Streamable HTTP**.
> 3. Set **URL** to `https://mcp.abconvert.io/mcp`. Leave **Bearer token env var** and **Headers** empty for this OAuth setup, then save.
> 4. Find your server in the **MCPs** list and click **Authenticate**.
> 5. In ABConvert, open **Integrations → MCP** when the Integrations Hub is enabled. Select **ChatGPT**, then under **2. Authenticate This Store** click **Generate connect code**. Otherwise, open **Settings → MCP & API Access** and click **Generate connect code** in the **Generate a Connect Code** card. Enter that code on the ABConvert authorization page, confirm your store, and approve access. Do not paste the code into chat.
> 6. Start a new chat and ask: “List my active ABConvert tests and summarize their results.”
>
> These steps apply to the desktop app with **Plugins → Add MCP server** available.
>
> ![Plugins settings with Add MCP server selected in the Add menu](https://mintcdn.com/abconvert/FAASd3NRiUUqXVVM/images/mcp/chatgpt-add-mcp-server.png?fit=max\&auto=format\&n=FAASd3NRiUUqXVVM\&q=85\&s=4b70e645f1b462df8110265913620657)
>
> Add a custom MCP server from the desktop app’s Plugins settings.
>
> ![Custom MCP form with ABConvert MCP name, Streamable HTTP type, and https://mcp.abconvert.io/mcp URL](https://mintcdn.com/abconvert/FAASd3NRiUUqXVVM/images/mcp/chatgpt-streamable-http.png?fit=max\&auto=format\&n=FAASd3NRiUUqXVVM\&q=85\&s=f05eae40ef5d3934a70b117ec15c31db)
>
> Choose Streamable HTTP and enter the ABConvert MCP server URL.
>
> ![MCP server list showing an Authenticate button for ABConvert](https://mintcdn.com/abconvert/FAASd3NRiUUqXVVM/images/mcp/chatgpt-authenticate.png?fit=max\&auto=format\&n=FAASd3NRiUUqXVVM\&q=85\&s=815872270edc490db78c787ee69cad92)
>
> After saving, click Authenticate to start the connect-code authorization flow.

> [tab] Claude Code (CLI)
>
> 1. In ABConvert, open **Integrations → MCP** when the Integrations Hub is enabled. Select **Claude → Claude Code**, choose **Manage access tokens**, then click **Generate token**. Otherwise, open **Settings → MCP & API Access** and click **Generate token** in the **Access tokens** card.
>
> 2. Choose what the token can do. Read only can list and read tests; read and write can also create, change, and start them. Pick read only unless the client needs to make changes.
>
> 3. Copy the token. It is shown once, so store it safely and never commit it.
>
> 4. Run:
>
> ```sh theme={null}
> claude mcp add --transport http abconvert https://mcp.abconvert.io/mcp \
>   --header "Authorization: Bearer <your-api-token>"
> ```
>
> Verify it is connected:
>
> ```sh theme={null}
> claude mcp list
> # Should show: abconvert (http) — Connected
> ```

> [tab] OpenClaw / other MCP clients
>
> Most header-based clients accept an HTTP transport URL plus an Authorization header:
>
> * **URL:** `https://mcp.abconvert.io/mcp`
> * **Header:** `Authorization: Bearer <your-api-token>`
>
> If the Integrations Hub is enabled, generate the token from **Integrations → MCP**: select **Claude → Claude Code**, choose **Manage access tokens**, then click **Generate token**. Otherwise, use **Settings → MCP & API Access** and click **Generate token** in the **Access tokens** card. Then refer to your client's MCP setup docs for the exact config format.

**3. Confirm the connection**

Open a new chat and type:

> "Use the ABConvert ping tool"

You should see the assistant call `ping` and respond with `{ ok: true }`. If a URL-only connector cannot authorize, generate a new connect code and restart that connector's authorization flow. If a header-based client sees 401, mint or select the correct token. If you see "MCP is not enabled for this shop," ask ABConvert support to enable the feature for your store.

**4. Run your first real prompt**

Try one of these:

> [card] Price test
>
> > "Test 10% off my best-selling product"

> [card] Shipping test
>
> > "Test free shipping over \$50 for US visitors"

> [card] Compare results
>
> > "How is my snowboard price test doing?"

> [card] URL redirect
>
> > "Send 50% of /products/old-hoodie traffic to /products/new-hoodie"

The assistant asks for a hypothesis, primary metric, and traffic split before creating anything. Once you confirm, the test lands in your dashboard as a **draft** — you can review it, then launch from the dashboard or by saying "launch it" in the chat.

## You're done

That's the full setup. Everything else is just exploration — see [What you can do](https://docs.abconvert.io/mcp/tools.md) for the full surface.

## In-app connection guide

When the Integrations Hub is enabled, select **Claude**, **ChatGPT**, **Codex**, or **Other MCP Clients**. Within Claude, choose **Desktop / web** or **Claude Code**. Follow the numbered steps, expand **Set up manually** when needed, and copy the example prompt to verify your connection. Legacy Settings shows direct **Generate a Connect Code** and **Access tokens** cards instead.

![Claude tab with Desktop / web selected, directory setup steps, and a generate connect code button](https://mintcdn.com/abconvert/fE0fHZWO6bfdfCa7/images/mcp/claude-connection-guide.png?fit=max\&auto=format\&n=fE0fHZWO6bfdfCa7\&q=85\&s=0305e5c7d3516d8457baf9c148024a3f)

Claude desktop and web setup in ABConvert’s MCP guide. Local preview with no store data or credentials.

![Claude coding agent setup showing the MCP server URL, bearer header placeholder, and CLI command](https://mintcdn.com/abconvert/fE0fHZWO6bfdfCa7/images/mcp/coding-agent-connection-guide.png?fit=max\&auto=format\&n=fE0fHZWO6bfdfCa7\&q=85\&s=c1270dc698df9de5e0fca272b3a0873c)

Manual connection instructions for Claude Code. Local preview with placeholder credentials only.

## Token management

* **One token per header-based app.** Mint a separate token for Claude Code, OpenClaw, and every other header-based client. You can revoke one without breaking the others.
* **OAuth connectors use connect codes.** Claude directory and custom connectors do not use merchant-generated Client IDs or Client Secrets. Generate a new connect code for each authorization attempt.
* **Revoke tokens at any time.** In the Integrations Hub, open **Integrations → MCP**, select **Claude → Claude Code**, then choose **Manage access tokens**. In legacy Settings, use **Settings → MCP & API Access** and the **Access tokens** card. Revoke the token to stop its next request.
* **Tokens are shop-scoped.** A token minted for Shop A cannot access Shop B, even if the same person owns both.

See [Security & token management](https://docs.abconvert.io/mcp/security.md) for the full guide.


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