# FB Engagement Ads Button Setup

1. Open the bot which connected to the FB page you want to create ads.
2. Find T**ools**.
3. Find **FB Ads**.
4. Create a **FB Ads Payload**. (Each button have to use different payload)
5. Go to Ads setting.
6. Find **Message Template**.
7. Select **Partner App**.
8. Select **JSON Code**.
9. Copy the FB Ads Payload from chatkuai to the "payload" field in JSON Code.
10. Make sure setup the button type nicely. ("**web\_url"** means will redirect to other website, "**postback"** will trigger the flow in chatkuai.

{% embed url="<https://youtu.be/i_5Oi0Bpy-M>" %}


---

# 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.mampuai.com/mampu-ai/platform/connect-to-social-media-channels/facebook/fb-engagement-ads-button-setup.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.
