# Facebook

## Steps to Use

**Step 1:** In the **Bots** section, go to the **Platform Integration** tab. Then click the **Facebook** button.

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

**Step 2:** Inside, click the **+ Add page** button.

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

**Step 3:** Log in to your Facebook account.

<figure><img src="/files/pUZ61GSB2Yc5EAc1Bvqk" alt="" width="563"><figcaption></figcaption></figure>

**Step 4:** Give CX Genie permission to access the page where you want to add the bot and click the **Save** button.

<figure><img src="/files/czGIJLey7Y0juR28D6m2" alt="" width="533"><figcaption></figcaption></figure>

**Step 5:** Select the bot you want to use for the Facebook page and click **Submit**.

<figure><img src="/files/yE7748qyZrSuC1gkAEt0" alt="" width="431"><figcaption></figcaption></figure>

If you're not sure which bot to add, click **I’ll do it later**, then click **+ Select Bot** to choose your bot. After that, click **Save changes** to connect the bot to your page.

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

**Step 6:** Go to your Facebook page and give your chatbot a try!

<figure><img src="/files/N1hOFNE0Xkj0s4mDQwJU" alt="" width="308"><figcaption></figcaption></figure>

## Video Guide

{% embed url="<https://www.youtube.com/watch?index=6&list=PLDjYzJq8XiPUySns0_nSDmgolst-R3Q5t&pp=gAQBiAQB&v=TXYTyvs_RO4>" %}

## Quick Tips

* **Each Facebook page** can only be connected to **one bot at a time**.

## Troubleshooting

* **Problem:** Cannot add the bot to a Facebook page.

  **Solution:** Make sure the page is not already connected to another bot. Remove it from the other bot first.
* **Problem:** Trying to connect the bot to a personal Facebook account.

  **Solution:** CX Genie only works with Facebook Pages, not personal accounts. Make sure you are connecting to a Page.

**Need help?** Join our [Discord community](https://discord.gg/SsYEF8PW65) or email us at <hello@cxgenie.ai>.


---

# 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://documents.cxgenie.ai/integrations-and-connections/connect-the-bot-to-your-business/facebook.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.
