# Facebook Messenger

1. To integrate your chatbot with **Facebook Messenger**, head over to your **Dashbaord** and click on the **Messenger Icon** under **Channels** for the chatbot you wish to connect
2. Click on **Connect to Facebook** to connect your Facebook account to Wonderchat
3. After clicking, you will be redirected to Facebook for authentication. Select the pages that you wish to grant access to Wonderchat.
4. Upon successful connection, you will receive a notification informing you of the successful connection
5. Once connected, you can click on the **Messenger Icon** again and select the connected account under **Facebook Account**
6. Select a Facebook page to connect to your chatbot under **Facebook Page**
7. Wonderchat will now respond to messages on your connected Facebook Page via Facebook Messenger! You can also set a disengagement period—if your agents reply directly through Facebook Messenger for Business, Wonderchat will pause automated responses for the specified duration
8. You can manage, view and add additional Facebook accounts under **Settings > Integrations > Facebook Messenger > Connect & Manage**


---

# 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.wonderchat.io/integration-guides/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.
