# Connect Facebook Messenger

### Before You Start

* A Facebook Page for your business (personal profiles won't work)
* Admin access to that Facebook Page
* A Zipchat agent already set up

### Setup Steps

**Step 1 — Go to Channels**

Open your Zipchat dashboard and navigate to your agent's Channels section. You'll see the Messenger card with the description "Let Zipchat respond to your Facebook page messages."

**Step 2 — Click "Connect page"**

Click the Connect page button on the Messenger card. This will redirect you to Facebook to authorize the connection.

**Step 3 — Log in to Facebook**

If you're not already logged in, Facebook will ask you to sign in. Use the account that has admin access to the Facebook Page you want to connect.

**Step 4 — Select your Facebook Page**

Facebook will show you a list of Pages you manage. Select the Page you want Zipchat to respond on and grant the requested permissions.

**Step 5 — Confirm and return to Zipchat**

After approving, you'll be redirected back to Zipchat. The Messenger card will now show a Connected badge with your page name.

That's it — your AI agent is now responding to Messenger conversations automatically.

### What You Get After Connecting

* **Automatic responses** — Your AI agent replies to incoming Messenger messages using your knowledge base, just like it does on your website.
* **Link to Messenger chat** — A shareable link (m.me/yourpage) you can put on your website, emails, or social media to send customers directly to chat with your agent.
* **QR code** — A scannable QR code that opens a Messenger conversation with your agent — great for print materials or in-store displays.
* **Pre-filled messages** — Optionally set a default message that pre-fills the text box when someone opens the chat link or scans the QR code.
* **Test button** — Quickly test the connection by clicking "Test" to open a Messenger chat with your agent.


---

# Agent Instructions: 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:

```
GET https://docs.zipchat.ai/tips/connect-facebook-messenger.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
