# How to integrate Facebook Messenger with Tiledesk

Within Tiledesk, you can manage your page messages and chats with our seamless integration with Facebook -messenger. Here's both a video guide and a written step-by-step tutorial.

{% embed url="<https://www.youtube.com/watch?v=unQQ0i_QTXA>" %}

### ***Step 1. Configure your Facebook*** <a href="#step-1-configure-your-facebook" id="step-1-configure-your-facebook"></a>

First login into the Tiledesk Dashboard, then click “Apps” in the left menu and click **Install** on the Facebook icon.

<figure><img src="/files/heU2LnJA37mWfqmVIYFC" alt=""><figcaption></figcaption></figure>

You will then be redirected to Facebook to enter your email and password.

<figure><img src="/files/50NfVaAAaD7hIduMFhnH" alt=""><figcaption></figcaption></figure>

Facebook changed their user policies recently, while logged in, you will need to give Facebook permission to send page messages. This integration will not work without this permission.

From there, you can also add all Facebook Pages that you want your Webhook to receive events for when people on Facebook Messenger chat with it.

For that, please follow the instructions below:

Add/reconnect Facebook Pages again and click allow/yes to all permissions.

<figure><img src="/files/RHGVY8SDQ1nJM5tDmN8I" alt=""><figcaption></figcaption></figure>

Give Tiledesk permission to access data.

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

Once completed, you will see a confirmation page. &#x20;

<figure><img src="/files/kAiAByOuayiUVFjBvigR" alt=""><figcaption></figcaption></figure>

### ***Step 2. Page Subscribed*** <a href="#step-2-page-subscribed" id="step-2-page-subscribed"></a>

Go back to the Tiledesk Dashboard, Apps section and select the FB page you'd like to connect. If you haven’t created any pages on FB, then please do so to be able to complete this final step. Your selected page will have a green tick. You can also select the department connected to your FB Bot or simply leave it as default.

<figure><img src="/files/ay6IfQ8osqP6ok4SKccj" alt=""><figcaption></figcaption></figure>

### ***Step 3. Send a message from your page to test it*** <a href="#step-3-send-a-message-from-your-page-to-test-it" id="step-3-send-a-message-from-your-page-to-test-it"></a>

Now open your subscribed page ex: Tiledesk portal and send a text message from there.

<figure><img src="/files/mlR33Opby9khJjAYOcs9" alt=""><figcaption></figcaption></figure>

After that, go to the Tiledesk dashboard and check your chats.

<figure><img src="/files/ZPtPxn4ES6y1Ah1L011I" alt=""><figcaption></figcaption></figure>

You're all set!&#x20;

If you have any questions or need further help, just give us a shout via our live chat!


---

# 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://guide.tiledesk.com/other-integrations/how-to-integrate-facebook-messenger-with-tiledesk.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.
