> For the complete documentation index, see [llms.txt](https://alhena.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alhena.gitbook.io/docs/integrations/communication/integrating-alhena-ai-with-facebook.md).

# Facebook Messenger

Let Alhena manage your Facebook Page by automatically responding to Messenger conversations and comments on your posts.

## Prerequisites

* A Facebook Page with admin access
* Pro plan or higher

## Setup

1. In Alhena, go to **Settings > Integrations**
2. Find **Facebook Messenger** and toggle it on
3. You'll be redirected to Facebook to authorize the connection
4. Log in and grant Alhena access to your Facebook Page

Once connected, your Facebook Page name will appear in the integration card.

***

## Settings

After connecting, configure how Alhena interacts with your Facebook Page:

### AI Replies to Comments

Enable AI to automatically respond to comments on your posts. When enabled:

* Alhena monitors comments on your Page posts
* AI generates contextual replies based on your training
* You can review and manage replies in **Social Conversations > Facebook**

Click **Change reply settings** to choose whether Alhena **requires admin approval before posting** a reply, or **posts automatically without approval**.

### AI Replies to Direct Messages

Enable AI to automatically respond to Facebook Messenger conversations. When enabled:

* Customers can message your Facebook Page
* Alhena's AI responds based on your training and guidelines
* Conversations appear in your Alhena inbox

***

## Managing Replies

View and manage AI-generated replies in [Social Conversations](/docs/dashboard/social-conversations.md):

1. Go to **Social Conversations**
2. Select the **Facebook** tab
3. Review, edit, or approve pending replies

***

## Disconnecting

Facebook cannot be disconnected from within Alhena. To remove the integration:

1. Go to your Facebook Page settings
2. Navigate to **Settings > Business Integrations**
3. Find Alhena and remove access

***

## Related

* [Social Conversations](/docs/dashboard/social-conversations.md) - Manage AI replies
* [Instagram Integration](/docs/integrations/communication/integrating-alhena-ai-with-instagram.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://alhena.gitbook.io/docs/integrations/communication/integrating-alhena-ai-with-facebook.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
