# How to Add Messenger Platform to Your Facebook App

### **Add the Messenger Platform to your Facebook App**

Click the **'Product'** button.

<figure><img src="/files/XPwaBD6OiLH3SOOTaZtV" alt=""><figcaption><p>Add Product</p></figcaption></figure>

From the product list page, click on the '**Set Up'** button on the **'Webhook'** product. The Webhook Platform will be added to your app, and the webhook settings console will be displayed.

<figure><img src="/files/ki6d193pTgIotxpdOVdZ" alt=""><figcaption><p>Set Up Messenger</p></figcaption></figure>

### Configure the Messenger For Your App&#x20;

In the **'Webhooks'** section of the Messenger settings console, click the **'Add Subscription'**. This allows your app to receive webhook events for the Page.

<figure><img src="/files/Ie9SFJ5Rgk8ot9AaAgwH" alt=""><figcaption><p>Webhooks</p></figcaption></figure>

Enter the callback URL you obtained when you initially created the Facebook channel.&#x20;

<figure><img src="/files/Nr7LZq6aqMivIM43LmAY" alt=""><figcaption><p>Add Callback URL</p></figcaption></figure>

Once the callback URL has been added, click the **'Add subscription'** button to add a subscription to the webhook field. Select **'messages'**, **'message\_deliveries'** and **'messaging\_postbacks'**. Then, click the **'Save'** button.

<figure><img src="/files/QAlVuXnTMyI6XWU1YHvL" alt=""><figcaption><p>Subscription Fields</p></figcaption></figure>

Messenger subscription addition has been successful.

<figure><img src="/files/DvM5pnT8LB5HHAOQbx6i" alt=""><figcaption><p>Subscription Messenger</p></figcaption></figure>

On the permissions and features page, click **'Request Advanced Access'** on **pages\_messaging**.

<figure><img src="/files/ZFrMp3NznLhnXmtgCHZg" alt=""><figcaption><p>Permissions and Features</p></figcaption></figure>

After that, you only need to wait for the results from Facebook regarding the request you sent.

{% hint style="info" %}
You can refer to [this](/integration/channel-connector/facebook/how-to-create-facebook-app/permission-and-feature.md) page to find the difference between standard and advanced access.
{% 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://docs.3dolphins.ai/integration/channel-connector/facebook/how-to-add-messenger-platform-to-your-facebook-app.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.
