> ## 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 ChatGPT

> Add Popcorn to ChatGPT with a server URL or from ChatGPT's directory, approve access in your browser, and try your first requests.

ChatGPT connects to Popcorn as a remote server. You copy one URL from Popcorn into ChatGPT, or use the **Connect in ChatGPT** button where it is offered, approve access once in your browser, and from then on you can ask ChatGPT to 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.
* A ChatGPT account that can add apps. Where that option lives is ChatGPT's own interface and changes over time. The **ChatGPT** card says: "If your ChatGPT account has developer mode, add this server URL in the app settings and choose OAuth."
* A Popcorn account with a phone number that has finished setup. 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

**1. Copy the server URL**

In Popcorn, go to **Settings → AI assistants**. Under **Connect an assistant**, find the **ChatGPT** card (labelled **Developer setup**) and click **Copy server URL**. The value is:

```
https://api.trypopcorn.ai/chatgpt/mcp
```

If the card shows a **ChatGPT app** label and a **Connect in ChatGPT** button instead, click it: it opens Popcorn AI in ChatGPT. Select Connect, sign in to your Popcorn AI account, review the access it asks for, and skip to the last step.

**2. Add the server in ChatGPT**

Click **Open ChatGPT**, or open ChatGPT yourself. In the app settings add a new server, paste the URL as its address and choose OAuth. ChatGPT discovers Popcorn's sign-in requirements from the URL; there is no token or key to enter.

**3. Approve access in your browser**

When ChatGPT connects, 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**, with one line per area such as "Inbox: Read". Check that the workspace is the one you intend, then click **Allow access**. You are returned to ChatGPT.

**4. Try a request**

Ask ChatGPT something read-only first, for example "Give me an overview of my Popcorn workspace" or "Which campaigns ran this month and how did they deliver?"

> [!NOTE]
>
> The approval request is valid for 10 minutes. For ChatGPT, 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. If the page says **Authorization request was not found.**, start the connection again from ChatGPT.

## What the approval screen means

* **Requested access** lists each area ChatGPT asked for, in the form "Inbox: Read", with a short description such as "Send Inbox content to customers after you confirm the action." and the access code beside it. Anything described as "after you confirm the action" means ChatGPT must show you a preview and get your go-ahead each time before Popcorn carries it out.
* ChatGPT asks for every area at once. Popcorn grants only what your role allows, and the screen lists exactly that. An Agent sees fewer lines than a Manager. If your role allows none of them, approval is refused.
* **Deny** cancels the request. Nothing is connected.
* **Manage connected assistants** opens **Settings → AI assistants** in a new tab. That page holds setup only; to see or end connections, ask the assistant. See [Permissions and safety](https://docs.trypopcorn.ai/ai-assistants/permissions-and-safety.md#revoking-a-connection).

## What is different in ChatGPT

* ChatGPT does not offer billing. It cannot read your plan, credits or invoices, buy credits or pay an invoice; use **Plan and billing** in Popcorn for those.
* When ChatGPT lists conversations, it gets only the latest customer, agent or team message of each, up to 500 characters. It opens a conversation to read the whole thread.
* ChatGPT has one extra tool, **Open Popcorn workspace**. It shows a card with your workspace and shortcuts for insights, customer support, campaigns, agents, knowledge and commerce, limited to what your role can use. It sends and changes nothing.
* Everything else, including how confirmations work, matches the other assistants.

## First requests to try

| Ask ChatGPT | What happens |
| - | - |
| "Summarise my open conversations and which ones need a human." | Reads the Inbox and reports back. No changes. |
| "Draft a WhatsApp template announcing free shipping this weekend." | Creates a template draft you can review in **Templates**. Nothing is submitted to Meta until you confirm. |
| "Prepare a campaign to customers who ordered in the last 30 days using that template." | Builds a campaign draft and shows the audience, template, timing and credit estimate. It launches only after you confirm the exact plan. |
| "Which products sold most last week?" | Reads orders and products. |
| "Which conversations did my AI agent hand over this week?" | Reads the Inbox. |

## Changing what ChatGPT can do

The access you approved is fixed for that connection. If your role gains permissions, or you want ChatGPT to start with a wider set, remove and re-add the server in ChatGPT so it requests access again, then approve the new list. If you want less access, ask ChatGPT to revoke its own connection and reconnect, or have an Owner or Admin adjust your role; see [Permissions and safety](https://docs.trypopcorn.ai/ai-assistants/permissions-and-safety.md#revoking-a-connection).

## Troubleshooting

| Symptom | What to do |
| - | - |
| ChatGPT cannot reach the server | Check the URL is exactly `https://api.trypopcorn.ai/chatgpt/mcp`, with no trailing characters. The ChatGPT address differs from the one Claude Code and Codex use. |
| **Authorization request was not found.** | The 10-minute window passed, or the request was already approved or denied. Reconnect from ChatGPT 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 allows none of the access ChatGPT asked for. Sign in as the right user or ask an Owner or Admin about your role, then reconnect from ChatGPT. |
| **Unable to complete authorization.** after you click **Allow access** | Popcorn could not finish the approval, for example because it lapsed or was already used. Go back to ChatGPT and start the connection again. |
| **This request has been refreshed. Review the requested access and choose again to continue.** | The approval lapsed while the page was open. Check the list and click **Allow access** again. |
| ChatGPT says it lacks permission for an action | Your role does not allow it, so the approval screen did not list it. Check your role under **Settings → Roles and permissions**, ask an Owner or Admin to change it if needed, then reconnect. |
| ChatGPT says too many requests | Popcorn limits how fast each assistant can call it. Wait for the time it reports and try again. |
| ChatGPT 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 Claude](https://docs.trypopcorn.ai/ai-assistants/connect-claude.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.