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

# AI assistants overview

> Connect ChatGPT, Claude or Codex to your Popcorn workspace so it can run campaigns, work the inbox and answer questions about your store.

AI assistants lets the assistant you already use, ChatGPT, Claude or Codex, work inside your Popcorn workspace with you. Once connected, you can ask it in plain language to draft a template, launch a campaign, go through open conversations, look up a customer or order, or pull last week's numbers, and it does the work through Popcorn on your behalf.

Setup is one copied value, or one button, plus an approval screen. There is no API key to create, paste or keep safe.

## How it works

**1. Pick an assistant**

Go to **Settings → AI assistants** ("Popcorn for AI assistants") and find your assistant under **Connect an assistant**. See [Connect ChatGPT](https://docs.trypopcorn.ai/ai-assistants/connect-chatgpt.md), [Connect Claude](https://docs.trypopcorn.ai/ai-assistants/connect-claude.md) or [Connect Codex](https://docs.trypopcorn.ai/ai-assistants/connect-codex.md).

**2. Sign in and approve**

Popcorn opens a page titled "Connect *assistant* to Popcorn AI" in your browser. It shows the **App** asking, the **Workspace** it will reach, when the **Request expires**, the **Connection address**, and a **Requested access** list. Click **Allow access** or **Deny**.

**3. Ask and take action**

Ask the assistant for what you need. It reads and changes only what your own Popcorn role allows, and you confirm every send, launch and deletion.

## Ways to connect

| Assistant | Card on **Connect an assistant** | What you copy | Connection address |
| - | - | - | - |
| ChatGPT | **ChatGPT** | **Copy server URL** | `https://api.trypopcorn.ai/chatgpt/mcp` |
| Claude on the web, desktop and mobile | **Claude** | **Copy connector URL** | `https://api.trypopcorn.ai/claude/mcp` |
| Claude Code | **Claude Code** | **Copy command** | `https://api.trypopcorn.ai/mcp` |
| Codex | **Codex** | **Copy commands** | `https://api.trypopcorn.ai/mcp` |
| Any other client with OAuth sign-in | **Other MCP clients** | **Copy URL** | `https://api.trypopcorn.ai/mcp` |

The **ChatGPT** and **Claude** cards show one of two setups. Where Popcorn's listing in the assistant's directory is available, the card has a **Connect in ChatGPT** or **Connect in Claude** button instead of a URL: click it, select Connect there, sign in to Popcorn AI and review the access it asks for. Otherwise the card shows the URL to add by hand.

## What your assistant can reach

| Area | What it can do |
| - | - |
| Campaigns and templates | Draft, clone and update WhatsApp templates; submit them for review; build audiences; launch, pause, resume, stop and delete campaigns; create automated campaigns; read delivery results |
| Inbox | List and read conversations, timelines and notes; assign, close, reopen, tag and snooze; take over a conversation or hand it back to an AI agent; send messages, media and products after your confirmation |
| Customers | Search and read profiles; update details; import customers; delete customers after your confirmation |
| Products and orders | Read the catalog and orders; create, update and delete products; manage recommendation rules, custom options, shipping options and payment preferences; sync the catalog from your store |
| Analytics | Workspace overview, reports, and performance by agent |
| AI agents and tools | Create and edit agents, save draft versions, publish or roll back after your confirmation, route WhatsApp numbers, manage custom tools |
| Knowledge | Create, edit, preview, publish and delete articles and folders; restore an earlier version; see which articles the agent used |
| Integrations and channels | Check store, Meta and WhatsApp connection health; start a store, Meta or Slack connection that you finish in the browser; update your WhatsApp profile; sync the Meta catalog |
| Team | See members and pending invites; invite, remove and change roles after your confirmation |
| Billing | Read your plan, credits and invoices; buy credit packages, pay an open invoice and change billing preferences with your saved payment method, after your confirmation. Offered only through Claude Code, Codex and other clients that use the main address; ChatGPT and the Claude connector leave billing out |
| Workspace settings | General settings, your profile and notification preferences, Website chat and WhatsApp button settings, the message-status webhook, sandbox test numbers |
| Workspace setup | Analyze your public website, then create the first agent and knowledge base in an empty workspace after your confirmation |

For example requests in each area, see [What you can do](https://docs.trypopcorn.ai/ai-assistants/what-you-can-do.md).

> [!NOTE]
>
> The **What assistants can do** panel on **Settings → AI assistants** is a summary of six areas: **Knowledge base**, **Campaigns and templates**, **Customers and conversations**, **Performance and workspace**, **Products and orders**, and **Agents and tools**. The table above is the full set.

## What keeps this safe

* **It asks before anything it cannot undo.** Sending messages, launching campaigns, publishing, importing, deleting, changing billing and similar actions come back as a preview first. The assistant must show you that preview and get your go-ahead before Popcorn carries it out. The go-ahead is valid for 10 minutes and for that exact plan only.
* **Access is bound to you.** Every connection is tied to your user, the workspace you approved it in, and the assistant you approved. Popcorn re-checks your user and role on every request, so the assistant can never do more than your role allows. If your role is reduced or you are removed from the workspace, its access stops with the next request.
* **You see what it gets.** The approval screen lists each area of access. ChatGPT and the Claude connector ask for everything and receive only what your role allows; Claude Code, Codex and other clients choose what they ask for, and one that asks for nothing specific receives read-only access.
* **Customer content is data, not instructions.** Popcorn tells the assistant that customer messages, articles, imported rows and store content are information to work with, never commands to follow, and enforces permissions and confirmations regardless.

Details are in [Permissions and safety](https://docs.trypopcorn.ai/ai-assistants/permissions-and-safety.md).

## Before you start

* You need a Popcorn role with **API keys** view access to open **Settings → AI assistants**. **Owner**, **Admin** and **Manager** have it; **Agent** and **Viewer** do not. See [Team and roles](https://docs.trypopcorn.ai/settings/team-and-roles.md).
* What the assistant can do afterwards depends on the rest of your role. A role without **Campaigns** full access, for example, cannot launch campaigns through an assistant either.
* If you belong to more than one workspace, switch to the one you want before you approve. The connection belongs to the workspace you approve it in.
* The assistant must support remote connections with sign-in.

## What it costs

Connecting an assistant and asking it questions does not use Popcorn credits. Actions it carries out cost what they cost in the app: a campaign it launches uses campaign credits, and a credit package it buys on your instruction is charged to your saved payment method after you confirm. One read-style request is an exception: generating an AI summary of a conversation can use AI credits, so the assistant asks you before running it. See [Credit usage](https://docs.trypopcorn.ai/billing/credit-usage.md).

## Pick your assistant

> [card] [ChatGPT](https://docs.trypopcorn.ai/ai-assistants/connect-chatgpt.md)
>
> Add Popcorn as a server URL, or connect from ChatGPT's directory.

> [card] [Claude](https://docs.trypopcorn.ai/ai-assistants/connect-claude.md)
>
> A custom connector for the web, desktop and mobile, or one command in Claude Code.

> [card] [Codex](https://docs.trypopcorn.ai/ai-assistants/connect-codex.md)
>
> Two commands in Codex CLI.

## 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)
* [API reference](https://docs.trypopcorn.ai/api-reference/introduction.md) if you need to build your own integration rather than use an assistant


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