# Facebook Messenger

To launch the chatbot you built for “Facebook Messenger” channel, follow these steps:

{% embed url="<https://youtu.be/7NnDBgnUBe8?si=4it_u3IIYBx-W9KE>" %}

## Step 1: Connect your Facebook account

Goto Settings > Channels > Facebook Messenger and click “Connect to Facebook”.

<figure><img src="/files/9Lu6SQL7ayqEtV7FXb68" alt=""><figcaption></figcaption></figure>

Doing this opens the Facebook pop-up asking for permissions, here make sure you choose all the pages that you may want to add the chatbot to.&#x20;

{% hint style="info" %}
You will require “Admin” permissions to be able to connect the chatbot to a Facebook page. If you do not see any pages in the list, it means that you do not have the required permissions.
{% endhint %}

## Step 2: Connect the chatbot to the Facebook page

Once your Facebook account is successfully configured, the Facebook pop-up will auto-close, and you will be able to see all the Facebook pages in the current screen.

Click on the “Expand” icon to be able to choose the chatbot you want to connect.&#x20;

Once done, hit “Save” and your chatbot is now live on Facebook Messenger.&#x20;

{% hint style="info" %}
If the bot's status is turned on then you will see <mark style="color:green;">ACTIVE</mark> written on that page & if the bot is turned off, you will see <mark style="color:red;">INACTIVE</mark>\
\
If there is no status, that means that no bot is not connected to the page
{% endhint %}


---

# 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://help.wotnot.io/deploy/publishing-agents/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.
