> For the complete documentation index, see [llms.txt](https://docs.patagon.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.patagon.ai/en/getting-started/connect-whatsapp.md).

# How to connect your WhatsApp number

Connecting your WhatsApp number activates your AI agent and allows it to start receiving and responding to leads. The process takes about 10 minutes and requires access to your Meta Business Manager.

In the sidebar, go to Agent > Channels & Integrations and click the Channels tab. Click the WhatsApp card to start.

![Channels tab](/files/AMt6a4jcFQpi9C0xnGiw)

## Step 1 — Connect WhatsApp Business

Click Connect WhatsApp Business. You'll be redirected to Facebook to authorize the connection. Once authorized, you'll see "Successfully connected to WhatsApp."

## Step 2 — Enter your WhatsApp Business Account ID

Enter your WABA ID in the WhatsApp Business Account ID field. To find it: log in to Meta Business Manager, go to Business Settings > Accounts > WhatsApp Accounts, select your account, and copy the numeric ID from the URL. Click Verify & Continue.

## Step 3 — Select your phone number

Choose the number from the Available Phone Numbers dropdown. Click Select & Continue.

## Step 4 — Enter the activation PIN

WhatsApp will send a 6-digit PIN to your phone number. Enter it in the PIN Code field and click Activate & Continue.

## Step 5 — Configure the webhook

This step is handled automatically by Patagon AI. Click Configure & Continue.

## Step 6 — Configure agent settings

Select the agent you want to connect to this number from the Select Agent dropdown. Click Configure & Continue.

## Step 7 — Test the integration

Click Send Test Message. If successful, you'll see "Test Successful" with a Message ID and timestamp. Click Finish Setup.

{% hint style="warning" %}
Your phone number must already exist in your Meta Business Manager before starting this process. If you haven't set one up yet, see How to set up your Business Manager first.
{% endhint %}

Once connected, your agent will start receiving messages automatically. Check the connection status at any time from Agent > Channels & Integrations > Channels.

## Next step

Continue with [How to set up your Business Manager](/en/getting-started/business-manager-setup.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.patagon.ai/en/getting-started/connect-whatsapp.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
