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

# Connect Claude

> Add Popcorn to Claude on the web, desktop and mobile as a custom connector, or to Claude Code with one command, then approve access and try it.

Claude connects to Popcorn in two ways. **Claude** on the web, desktop and mobile uses a custom connector (or a button, where Popcorn's directory listing is available). **Claude Code** uses one command. Either way you approve access once in your browser, and from then on Claude can work in your workspace.

## Before you start

* A Popcorn role with **API keys** view access, so you can open **Settings → AI assistants**. **Owner**, **Admin** and **Manager** have it.
* For the connector: a Claude plan that can add custom connectors. Where that option lives is Claude's own interface; the **Claude** card says to use **Customize**, **Connectors**, **Add custom connector**. For Claude Code: Claude Code installed on your computer.
* A Popcorn account with a phone number that has finished setup, for the connector. If it has not, Popcorn takes you through that first and then returns you to the approval screen.
* If you belong to more than one workspace, switch to the one you want first. The connection belongs to the workspace you approve it in.

## Connect

> [tab] Claude (web, desktop, mobile)
>
> **1. Copy the connector URL**
>
> In Popcorn, go to **Settings → AI assistants**. Under **Connect an assistant**, find the **Claude** card (labelled **Custom connector**) and click **Copy connector URL**. The value is:
>
> ```
> https://api.trypopcorn.ai/claude/mcp
> ```
>
> If the card shows a **Claude connector** label and a **Connect in Claude** button instead, click it: it opens Popcorn AI in Claude's connectors directory. Select Connect, sign in to your Popcorn AI account, review the access it asks for, and skip to the last step.
>
> **2. Add it in Claude**
>
> Click **Open Claude** (it opens Claude's connectors page), or open Claude yourself. Under **Customize**, **Connectors**, choose **Add custom connector**, paste the URL and continue. There is no token or key to enter.
>
> **3. Approve access in your browser**
>
> Popcorn opens "Connect *assistant* to Popcorn AI" ("This will let *assistant* do the following in *workspace*."). If you are not signed in, you are sent to sign in first and then brought back.
>
> The screen shows the **App**, the **Workspace** (with your email), when the **Request expires**, the **Connection address** and **Requested access**. Check that the workspace is the one you intend, then click **Allow access**.
>
> **4. Try a request**
>
> Ask Claude something read-only first, for example "Give me an overview of my Popcorn workspace" or "List my WhatsApp templates and their approval status."

> [tab] Claude Code
>
> **1. Copy the command**
>
> In Popcorn, go to **Settings → AI assistants**. Under **Connect an assistant**, find the **Claude Code** card (labelled **Command line**) and click **Copy command**. The command is:
>
> ```
> claude mcp add --transport http popcorn https://api.trypopcorn.ai/mcp
> ```
>
> **2. Run it**
>
> Paste the command into your terminal and run it. This adds Popcorn to Claude Code as a server named `popcorn`. No token or key is involved.
>
> **3. Approve access on first use**
>
> Claude asks you to sign in the first time it uses Popcorn, or when you run `/mcp` in Claude Code and choose **Authenticate**. Popcorn then opens the approval screen in your browser, with the same **App**, **Workspace**, **Request expires**, **Connection address** and **Requested access** as above. Click **Allow access**, then return to Claude Code.
>
> **4. Try a request**
>
> Ask Claude something read-only first, for example "Show me conversations waiting on a human reply."

> [!NOTE]
>
> The approval request is valid for 10 minutes. If the page says **Authorization request was not found.**, ask Claude to use Popcorn again to get a fresh approval screen. For the connector, a request that lapsed while you were signing in or finishing account setup is renewed when you come back, for up to 24 hours after the connection started.

## What the approval screen means

* **Requested access** lists each area Claude asked for, in the form "Campaigns: Read", with a short description and the access code beside it. A description that says "after you confirm the action" means Claude must show you a preview and get your go-ahead each time before Popcorn carries it out.
* The connector asks for every area at once, and Popcorn grants only what your role allows. If your role allows none of them, approval is refused. Claude Code chooses what it asks for. If it asks for more than your role can grant, the page shows **Authorization request expired.** instead of the approval screen. If Claude does not ask for specific areas, Popcorn grants read-only access to every area your role can view.
* **Deny** cancels the request. Nothing is connected.

See [Permissions and safety](https://docs.trypopcorn.ai/ai-assistants/permissions-and-safety.md) for the full model.

## What is different between the two

| | Claude connector | Claude Code |
| - | - | - |
| Address | `https://api.trypopcorn.ai/claude/mcp` | `https://api.trypopcorn.ai/mcp` |
| Billing | Not offered: no plan, credits or invoice access | Offered, with confirmation |
| Role | Granted the subset your role allows | Denied if it asks for more than your role allows |

## First requests to try

| Ask Claude | What happens |
| - | - |
| "Show me conversations waiting on a human reply and suggest who should take each." | Reads the Inbox and reports back. Assignments happen only if you ask for them. |
| "Draft a template for our Ramadan sale and tell me what Meta might reject." | Creates a template draft you can review in **Templates**. Nothing is submitted until you confirm. |
| "Compare my agent's draft version with the live one." | Reads both versions and shows the differences. Publishing needs your confirmation. |
| "Which knowledge articles have not been updated in three months?" | Reads Knowledge. |
| "Check whether my Shopify connection is healthy." | Reads integration status. |

## Built-in workflows

Popcorn publishes four ready-made workflows that Claude can list and run: **Safely prepare and launch a campaign**, **Triage the Popcorn inbox**, **Review and publish an agent version**, and **Connect a commerce or messaging integration**. Each walks Claude through reading first, showing you a preview, and waiting for your confirmation. See [What you can do](https://docs.trypopcorn.ai/ai-assistants/what-you-can-do.md#built-in-workflows).

## Troubleshooting

| Symptom | What to do |
| - | - |
| The command fails | Check it was pasted exactly as copied, including `--transport http`. |
| Claude cannot reach the connector | Check the URL is exactly `https://api.trypopcorn.ai/claude/mcp`. The connector address differs from the one Claude Code uses. |
| **Authorization request was not found.** | The 10-minute window passed, or the request was already approved or denied. Ask Claude to use Popcorn again and approve promptly. |
| **Authorization request expired.** on a request you just started | The page uses this text for several refusals: you are signed in to Popcorn as a different user than the one who started the connection, or your role cannot grant the access Claude asked for. Sign in as the right user or ask an Owner or Admin about your role, then try again. |
| **Unable to complete authorization.** after you click **Allow access** | Popcorn could not finish the approval, for example because it lapsed or was already used. Start the connection again from Claude. |
| Claude says it lacks permission for an action | Your role does not allow it. Check your role under **Settings → Roles and permissions**, then reconnect so the new access is requested. |
| Claude says too many requests | Popcorn limits how fast each assistant can call it. Wait for the time it reports and try again. |
| Claude stopped working after a team change | If your role was changed or you were removed from the workspace, access ends with the next request. |

## Related

* [What you can do](https://docs.trypopcorn.ai/ai-assistants/what-you-can-do.md)
* [Permissions and safety](https://docs.trypopcorn.ai/ai-assistants/permissions-and-safety.md)
* [Connect ChatGPT](https://docs.trypopcorn.ai/ai-assistants/connect-chatgpt.md) and [Connect Codex](https://docs.trypopcorn.ai/ai-assistants/connect-codex.md)


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