# Facebook Messenger

> Connect your Quickchat AI Agent to Facebook Messenger. Link a Facebook Page and your AI Agent replies to Messenger conversations automatically.

This guide shows how to connect your **Quickchat AI Agent** to **Facebook Messenger**. Once a Facebook Page is linked, your AI Agent replies to people who message that Page on Messenger, and every conversation appears in your [Quickchat AI Inbox](https://app.quickchat.ai).

If you get stuck, jump to [Troubleshooting & FAQs](#troubleshooting--faqs) or [contact us](https://quickchat.ai/contact).

## Step 0 - Prerequisites

- A **Facebook Page** for your business. Messenger integrations connect to a Page, not to a personal profile.
- **Admin access** to that Page.
- A **Facebook account with Business permissions** for the Page, so you can authorize Quickchat AI.

:::caution
A Facebook Page can be connected to **one AI Agent** at a time. If you manage several Agents, use a separate Page for each.
:::

## Step 1 - Connect your Facebook Page

1. Open the [Quickchat AI App](https://app.quickchat.ai) and go to **External Apps**.
2. Click **Messenger**, then click **Connect**.
3. A Facebook pop-up opens. Log in if prompted and **continue as yourself**.
4. **Select the Page** you want your AI Agent to reply for, and review the requested permissions.
5. Click **Continue / Confirm** to grant Quickchat AI access.
6. The pop-up closes and the panel shows your connected **Page name** and **Page ID**.

That's it. **Your AI Agent is now live on Messenger!** 🎉

## Step 2 - Enable the bot

Use the **Enable** toggle to switch the integration on or off without disconnecting the Page. When it's on, your AI Agent replies to incoming Messenger messages; when it's off, the Page stays connected but the Agent stops replying.

## Try it out

Open your Page in Messenger (for example via `m.me/<your-page-username>`) and send a message. Your AI Agent replies, and the conversation appears in your [Quickchat AI Inbox](https://app.quickchat.ai), where you can read the full transcript, see the visitor's name, and take over from the AI at any time.

## Troubleshooting & FAQs

**The pop-up doesn't open.**

- Disable pop-up and tracker blockers in your browser, refresh the page and try again. If that doesn't help, try a different browser.

**My AI Agent doesn't reply.**

- Make sure the **Enable** toggle is on and the panel shows the Page as connected.
- Confirm you connected the intended **Page** and that the correct **AI Agent** is selected.
- One Page connects to one AI Agent. Don't connect the same Page to multiple Agents.

**I connected the wrong Page.**

- Click **Switch Page** in the integration panel and repeat the connection flow with the correct Page.

**How do I change the welcome message?**

- The greeting is your AI Agent's message, configured in the [Quickchat AI App](https://app.quickchat.ai). Update it there and it applies to every channel, including Messenger.

## Need Help?

Still stuck? Reach out on [Discord](https://discord.gg/KqkHwvPRNH) or [contact us](https://quickchat.ai/contact) and we'll help you get your Page connected.
