> ## 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 a WhatsApp number

> Connect your WhatsApp Business number through Meta's window, then manage connected numbers, the default number, message limits and reconnects.

Connecting a WhatsApp Business number lets your AI agent answer customers on WhatsApp and lets you send campaigns and templates from that number. You connect it once through Meta's sign-up window; Popcorn registers the number and keeps its message limit in sync afterwards.

## Before you start

* A Facebook login with admin access to your business. The sign-up runs in Meta's own window, so allow pop-ups for Popcorn.
* A phone number that can get a code by text message or call, and your business name as customers will see it. If the number is already in use on the WhatsApp Business app and you want to keep using the app, follow [Use Popcorn with the WhatsApp Business app](https://docs.trypopcorn.ai/channels/whatsapp-coexistence.md) instead.
* A role that can connect integrations. Without it, the page reads "WhatsApp isn't connected yet" and asks you to "Ask an admin to connect your WhatsApp Business number." See [Team and roles](https://docs.trypopcorn.ai/settings/team-and-roles.md).
* Optional: a catalog for your products. You can also set it up later; see [Products in WhatsApp](https://docs.trypopcorn.ai/channels/whatsapp-catalog.md).

## Connect the number

**1. Open WhatsApp**

Go to **Integrations** and click **Connect** on the **WhatsApp** row. With no number connected, the page reads **Connect your WhatsApp Business number**. If you already have one, open the **Account** tab and click **Connect another number**.

**2. Click Connect WhatsApp**

Under "What Meta will ask for" you see what to have ready: your Facebook login, a phone number that can get a code, your business name and, optionally, a catalog. It takes about 3 minutes. Click **Connect WhatsApp**: Meta's window opens in the same click.

**3. Finish in Meta's window**

Sign in with Facebook, choose or create your WhatsApp Business account, add the phone number and verify it with the code Meta sends. Keep every permission switched on. While you work, Popcorn shows **Finish in Meta's window** with **Show Meta's window** and **Start over**. If Meta asks you to create a catalog, choose Commerce as its vertical; it starts on Generic.

**4. Choose the account and number**

If you shared more than one WhatsApp account, Popcorn asks "Which WhatsApp account should Popcorn AI use?". If the account has more than one number, it asks "Which number should Popcorn AI answer on?". Choose one and click **Connect**. You can add the others later.

**5. Wait for the connection**

**Connecting your number** shows its steps (**Signed in**, **Securing**, **Linking your number**, **Checking it can send and receive** and **Setting up products**) and takes up to 30 seconds. Keep the page open. Then you see **WhatsApp is connected**, for example "+966 5x xxx xxxx is connected. Your AI agent now answers messages here." If you connected a catalog in the same sign-in, it says so, and **Other numbers on this account** lists up to three more, each with **Add**. If the check finds something to fix, you see **Connected, one thing left** instead; see [below](#if-the-number-connects-but-needs-one-more-thing).

Your agent answers on the number straight away: a number that is attached to no agent is answered by your default agent. To bind it to a specific agent, open the agent, go to its **Channels** tab and switch the number on; see [Connect knowledge, tools and channels](https://docs.trypopcorn.ai/agents/connect-knowledge-tools-channels.md).

While the number connects, Popcorn registers it with Meta using a two-step verification PIN that it generates and stores, links the number to your workspace and reads its message limit. It then asks Meta whether it can send from the number and whether customers' messages to it reach Popcorn. The first number you connect becomes the default. A number that is on the WhatsApp Business app is connected as a coexistence number instead.

## If Meta asks to confirm the number

Meta sometimes won't switch a number on until it is confirmed with a code sent to that phone. Popcorn then shows **Confirm your number** ("Meta needs to confirm this number before Popcorn AI can use it. Meta sends a 6-digit code to the phone with this number.") on the page, so you don't go back to Meta.

**1. Ask for the code**

Click **Text me the code**, or **Call me instead** to have Meta call the number and read the code out.

**2. Enter it**

Type it under **6-digit code** and click **Confirm and connect**. The connection then finishes as usual.

Under **Didn't get it?**, **Send a new code** asks again and **Call me instead** or **Text me instead** changes how it is sent. A wrong code shows "Meta didn't accept that code. Check it and enter it again, or ask for a new one." **Meta couldn't send the code** means wait a minute and ask again, or ask for a call. **Cancel** stops without connecting the number.

## If the number connects but needs one more thing

The number is saved and listed under **Connected numbers**, but the check after connecting found that it can't do your agent's work yet. **Connected, one thing left** says what is wrong and the one fix:

| What it says | What to do |
| - | - |
| "…is connected, but Meta isn't letting Popcorn AI send from it yet. Usually the WhatsApp account picked in Meta's window still belongs to your previous provider." | Click **Connect again**, and when Meta asks which WhatsApp Business account to use, create a new one. |
| "…is connected, but customers' messages still go to your previous provider, another app on this number." | Click **Open Meta Business Suite**, open Conversation routing and choose Popcorn AI for customer conversations, or remove the previous provider from the number. Templates and campaigns still send meanwhile. |
| "…is connected, but Meta has it offline." | Click **Connect again**. Meta may send a code to the number to confirm it. |

When you have made the change, click **Check again**. If Meta now says the number is ready, the notice turns into **WhatsApp is connected**. Otherwise a notice says nothing has changed for the number yet, and what is still wrong. The same problems and buttons stay on the number's row; see [Status and what needs you](#status-and-what-needs-you).

## If the connection fails

The page shows what happened, with one next step.

| Message | What to do |
| - | - |
| **Your browser blocked Meta's window** | Allow pop-ups for this site, then click **Try again**. |
| **Meta's window closed before you finished** | Nothing was connected. The message names the step you stopped at, for example "You stopped before entering the code Meta sent to your phone." Click **Start again**. |
| **Meta's sign-in didn't load** | Check your internet connection, or allow facebook.com in any blocker, then **Try again**. |
| **Some permissions are switched off** | Popcorn AI needs every permission Meta asks for. Click **Connect again** and keep them all on. |
| **Meta didn't share a WhatsApp account** or **Your WhatsApp account has no number yet** | Connect again, and choose your account or add your number when Meta asks. |
| **Your number isn't verified yet** | Finish verifying it in Meta, then connect again. **Open Meta** takes you there. When you connect a single number, Popcorn asks for the code on the page instead; see [If Meta asks to confirm the number](#if-meta-asks-to-confirm-the-number). |
| **Turn off two-step verification first** | The number still has a two-step PIN from an earlier connection. In WhatsApp Manager open the number's settings, then **Two-step verification**, and turn it off (Meta emails you a link to confirm). Then connect again. |
| **This number is in another workspace** | It is connected to another Popcorn AI workspace. Contact support to move it, or delete it there first. |
| **This number isn't on the WhatsApp Business app** | You chose to connect it from the app, but Meta doesn't show it there. Connect again and choose to connect it as a new number. |
| **Only an admin can connect WhatsApp** | Ask your account owner or an admin. |

For a dropped connection, Popcorn says "Your connection dropped. Checking whether your number connected." and offers **Check again** if it can't tell. More cases are in [Channel troubleshooting](https://docs.trypopcorn.ai/channels/troubleshooting.md).

## The Account tab

**Connected numbers** lists every number in your workspace.

| Column | What it shows |
| - | - |
| **Number** | The phone number. With several numbers, the default carries a **Default** badge. A number shared with the WhatsApp Business app carries **Uses WhatsApp Business app**. |
| **Date added** | When the number was connected. |
| **Status** | **Live** for a healthy number. Other values are explained below. |
| **Message limit** | The number's daily limit from Meta, such as "2,000 a day" or "No limit". |

The **⋯** menu (**More actions**) on a row has **Make default** for a number that is not the default, **How to disconnect** for a coexistence number, and **Delete**. **Connect another number** sits below the table. A badge next to the page title shows the status of the number that needs you most, so a healthy account reads **Live**.

### Status and what needs you

| Status | Meaning |
| - | - |
| **Live** | The number is working. |
| **Reconnecting** | "Meta is checking this connection. Messages may pause for a few minutes." Meta usually restores it by itself. If Popcorn still has no access about 45 minutes later, the number is taken off your workspace and you connect it again. |
| **Needs reconnect** | Customers on the number get no replies. The row says why: "Popcorn AI can't send from this number anymore", "Meta has this number offline", or "Meta isn't letting Popcorn AI send from this number, usually because the WhatsApp account still belongs to your previous provider". Click **Reconnect** on the row, or ask your account owner or an admin to. For the previous provider, create a new WhatsApp Business account when Meta asks which one to use. |
| **Not receiving** | "Customers' messages to this number go to another app." Your agent doesn't see them, but templates and campaigns still send. Click **Open Meta Business Suite**, open Conversation routing and choose Popcorn AI. |
| **Disconnected** | Access to the number was lost. The row says either "Access to this number was removed in Meta, so customers on it get no replies." or "Popcorn AI can no longer find this number in your WhatsApp account, so customers on it get no replies." Click **Reconnect** on the row, or ask your account owner or an admin to. |
| **Name needs approval**, **Name in review**, **Name declined**, **Name needs activation** | Meta won't send from the number until its display name is approved. **Open display name** takes you to the **Profile** tab. See [WhatsApp business profile](https://docs.trypopcorn.ai/channels/whatsapp-profile.md). |
| **Meta payment problem** | "Meta refuses the messages it charges for from this WhatsApp account until its payment is fixed. Campaigns and automatic messages wait and send by themselves after that." Click **Open Meta billing**. A **Not receiving** number with the same problem keeps that status and also offers **Open Meta billing**. See [Meta refuses to bill your WhatsApp account](https://docs.trypopcorn.ai/channels/troubleshooting.md#meta-refuses-to-bill-your-whatsapp-account). |

When the row says the number is offline, that Meta isn't letting Popcorn AI send from it, or **Not receiving**, it also has **Check again** for team members who can edit integrations. Popcorn asks Meta again whether the number can send and whether customers' messages reach it, then tells you either that Meta says the number is ready ("It can send messages, and customers' messages reach Popcorn AI.") or that nothing has changed yet. Popcorn also checks these numbers by itself about every 15 minutes, so the status clears on its own once the fix is made in Meta.

The status comes from what Popcorn last learned from Meta, so opening the page never waits on Meta. The **Integrations** row, the sidebar ("WhatsApp needs a reconnect", or "WhatsApp messages go to another app") and the Inbox composer also say when a number needs you.

## Message limits

Meta limits how many customers a number can start a conversation with in a 24-hour period. The limit belongs to your Meta business portfolio, so every number in the same WhatsApp Business account shares it. Popcorn reads it when you connect and refreshes it every 24 hours. The tiers are 250, 1,000, 2,000, 10,000, 100,000 and unlimited.

* **Syncing with Meta** means Popcorn has no confirmed limit for this number yet. Campaign messages from it are held and retried every minute; if the limit is still unknown after about an hour, they are marked as failed. If it stays on this for more than a day, connect the number again with **Connect another number**, which refreshes Popcorn's access.
* **Limit unavailable** means Meta returned a temporary error. Popcorn retries by itself, starting 15 minutes later and spacing the tries out to once a day.

Campaign sending stays within the limit; see [Delivery and reachability](https://docs.trypopcorn.ai/campaigns/delivery-and-reachability.md#whatsapp-daily-limits).

## Make a number the default

The default number is preselected as the sender for campaigns and templates, and it is the number the **Profile** tab opens on. See [what the default number means](https://docs.trypopcorn.ai/channels/overview.md#what-the-default-number-means).

On the **Account** tab, open the **⋯** menu of the number and click **Make default**. You see **Default WhatsApp number updated**. Campaigns you already created keep their own sender. **Make default** only appears if your role can edit integrations.

## Delete a number

Open the **⋯** menu of the number and click **Delete**. The dialog "Delete" followed by the number says:

* Your AI agent stops replying to messages on this number.
* At Meta, the number stops sending and receiving messages until it's connected again. For a number shared with the WhatsApp Business app, "Nothing changes in your WhatsApp Business app."
* Connect the same number again later to bring back its templates, AI agent and team label.
* If it was the default, another connected number becomes the default.

Click **Delete number** to confirm; you see **WhatsApp number deleted**. A coexistence number can't be deleted here while Popcorn still has access to it: use **How to disconnect** and follow [disconnecting a coexistence number](https://docs.trypopcorn.ai/channels/whatsapp-coexistence.md#disconnect-the-number).

## Settings on the Account tab

Below the numbers, the **Account** tab holds workspace-wide WhatsApp options. Changing a switch brings up a bar with **Save changes** and **Discard**, and you see **Settings saved**.

* **Products in WhatsApp**: sync your products to a Meta catalog so customers get product cards and carts. See [Products in WhatsApp](https://docs.trypopcorn.ai/channels/whatsapp-catalog.md).
* **WhatsApp Business app**: appears only when a number is shared with the app. See [Use Popcorn with the WhatsApp Business app](https://docs.trypopcorn.ai/channels/whatsapp-coexistence.md).

## What customers see while your agent replies

* When your agent is about to reply, the customer's message is marked as read and WhatsApp shows that you are typing until the reply arrives.
* Stickers and GIFs a customer sends reach your agent as pictures, so it can take them in context, as long as **Let the agent handle media messages** is on under **Settings → General**. See [Workspace settings](https://docs.trypopcorn.ai/settings/workspace.md).

## Related

> [card] [WhatsApp business profile](https://docs.trypopcorn.ai/channels/whatsapp-profile.md)
>
> Display name, photo, category and contact details customers see.

> [card] [Use Popcorn with the WhatsApp Business app](https://docs.trypopcorn.ai/channels/whatsapp-coexistence.md)
>
> Keep replying from the app on the same number.

> [card] [Send a campaign](https://docs.trypopcorn.ai/campaigns/send-a-campaign.md)
>
> Choose the sender number and estimate credits.

> [card] [Channel troubleshooting](https://docs.trypopcorn.ai/channels/troubleshooting.md)
>
> Number not connecting, display name pending, messages not delivering.


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