Connect your Facebook pages so your AI agent can handle Messenger conversations, with human takeover
The Chatbase Messenger integration connects your AI agent to one or more Facebook Pages, so it answers the messages customers send those Pages in Facebook Messenger. It’s for businesses that get customer questions through their Facebook Page, such as online stores handling product and order questions. You can also take over any conversation yourself and reply through Messenger, so routine inquiries are automated but you keep the freedom to step in whenever you want.
What you can do:
Answer Messenger inquiries automatically, take over a conversation the moment you want to handle it yourself, and run different AI agents on different pages.
Attachments are supported, so your AI agent can process them and respond based on their content. See Attachments.
You can connect more than one Facebook page: select multiple pages during setup, or add more later using Connect a new Facebook page in the Messenger dashboard.
Use cases
Customer support. Your AI agent answers from its Data Sources and can read the photos and documents customers send. When a customer needs a person, the Escalations Action opens a ticket and the AI agent tells the customer a ticket was opened. With Chatbase Helpdesk as the ticket platform, the AI agent then stops replying, your team’s replies show up live in Messenger, and closing the ticket hands the conversation back. See Handover with Chatbase Helpdesk.Shopping and orders. With Shopify connected, these Shopify Actions work on Messenger: Retrieve and display products, Update cart, Get cart, Create order, Create exchange (new order), and Retrieve and display orders. A customer can ask “Do you have this in blue?”, add it to their cart, check out, and later ask where their order is, all in Messenger. They can also send a photo of a product, and the AI agent finds matching items with search by image.Public comments.Comment monitoring turns comments on your Facebook posts into Helpdesk tickets, so your team can answer questions like “How much is shipping?” under a post from the same place as your other tickets.
Before you start
A Chatbase account with an AI agent
A Facebook page you administer
How to connect Messenger
1
Open the Messenger channel
Navigate to your dashboard, pick an AI agent, and go to Channels. Click Setup if this is your first time using the integration, or Manage if you’ve connected pages before.
2
Grant permission
If this is the first time, you’ll be asked for permission to allow Chatbase to use your information.
If you’ve already integrated some pages and want to modify your selection, pick the Edit Previous Settings option.
3
Choose your pages
Select Opt into current pages only to choose specific pages, or Opt all current pages to integrate every page on your account.
4
Review and save
Review the permissions and click Save.
Click Done and wait a few seconds for the integration to connect.
Send a message to your connected Facebook page and confirm your AI agent replies.
Once connected, you can manage your pages through the Messenger dashboard: add new pages with Connect a new Facebook page, or delete existing ones using the three dots next to the page.
Human takeover
The human takeover feature lets you take over a chat whenever you want and reply to customers yourself. It works at the conversation level, so you can pick a specific conversation from the dashboard and stop the AI agent answering it.
Enable human takeover for a conversation
Navigate to Activity > Conversations in the left sidebar.
In the Conversations section, filter to show only Messenger chats.
Click the human takeover icon to the right of the source.
Click the icon to enable human takeover.
Click the icon again to restore access to the AI agent.
Some conversations won’t have the human takeover icon. This happens when you delete a page from the integrations dashboard. You keep access to the conversations in Activity > Conversations, but not the takeover feature, because that page’s integration was deleted. The same applies if you delete a page and add it back, so be careful when deleting pages from the Messenger dashboard.
Response delay
Customers on Messenger often send several short messages in a row. If your AI agent replies too fast, it answers each message separately before the customer has finished. The Messenger response delay sets how long your AI agent waits after the latest customer message before it replies. Messages sent during that wait are grouped into one reply instead of one reply per message.To set it:
Go to Channels → Messenger → Manage → Delay.
For each Facebook page, set a Minimum delay and a Maximum delay in seconds.
Click Save.
For each reply, your AI agent waits a random time between the minimum and the maximum, so replies don’t arrive at an exact, robotic interval. To always wait the same amount of time, set both values to the same number.
Both values can be between 2 and 30 seconds, and the maximum can’t be lower than the minimum. Pages you haven’t configured wait 2 seconds.
Comment monitoring
Turn comments on your Facebook posts into Chatbase Helpdesk tickets, so your team can monitor and respond to customers directly from Chatbase. Comment monitoring is available from the channel settings for your Facebook accounts.
1
Open your channel settings
Go to Channels and select your connected Facebook channel.
2
Open Comments
Select the Comments tab.
3
Enable comment monitoring
Turn on Enable comment monitoring and select the Facebook Pages you want to monitor.
4
Receive comments as tickets
When someone comments on a monitored Facebook post, Chatbase automatically creates a ticket in the Chatbase Helpdesk.The ticket includes information about the original post and the comment, giving your team the context needed to respond.
5
Reply from the Chatbase Helpdesk
Open the ticket in the Chatbase Helpdesk and reply directly to the comment.Replies sent from Chatbase are posted as replies to the original Facebook comment.
Connecting different AI agents to different pages
You can connect different AI agents to different Facebook pages, so each page gets specialized interactions.
1
Open the AI agent you want to connect
After connecting your first pages, you have access to the manage Facebook pages integrations page. Navigate to the AI agent you want to connect, then Channels > Manage.
2
Connect a new page
You’ll see all the pages connected to this AI agent. Click Connect a new Facebook Page.
Then click Edit previous settings.
3
Keep your existing pages selected
A list of connected pages is displayed.
Don’t deselect any page you want to stay connected to Chatbase, because deselecting disables that page for Chatbase.
4
Select the new page and save
Select the page you want to add the new AI agent to and click Next. If the page was already selected, just click Next.
Click Save.
The new page is added to the dashboard and is now integrated with the new AI agent.
You can enable or disable the Messenger integration without disconnecting it. Disabling pauses messages while keeping your setup intact, and you can re-enable at any time. New chats still appear in Activity > Conversations.
Limitations
Deleting a page removes takeover for its conversations. The conversations remain, but the takeover icon disappears, and re-adding the page doesn’t restore it for old conversations.
Deselecting a page during setup disables it for Chatbase, even if you only meant to change something else.
When you use Edit previous settings, keep every page you want connected selected. Avoid deleting pages you still use, because their conversations lose the takeover icon.
Route comments to the Helpdesk
Turn on comment monitoring for the pages where customers ask questions under posts, so public questions don’t go unanswered.
Give Messenger its own instructions
Turn off Sync with global instructions on the Messenger channel’s Overview tab to write instructions for Messenger only. See Instructions and global instructions.
Changes you save to instructions, Actions, and channel settings go into a draft. Messenger customers keep talking to the live AI agent until you click Publish. See Drafts and versions.
Troubleshooting
A conversation has no human takeover icon
The page it came from was deleted from the Messenger integration. The conversation stays in Activity > Conversations, but takeover isn’t available for it, even if you add the page back.
A page stopped responding after you edited your settings
The page was probably deselected in Edit previous settings, which disables it for Chatbase. Go through Connect a new Facebook page and Edit previous settings again and make sure the page is selected.
The AI agent stopped replying in a conversation
Check whether human takeover is on for the conversation, or whether it has an open Helpdesk ticket. A conversation can also be paused manually or by Spam detection. If it stopped on every conversation, check that the Messenger integration is enabled.
Frequently asked questions
Can I connect more than one Facebook page?
Yes. Select several pages during setup, or add more later with Connect a new Facebook page in the Messenger dashboard.
Can different pages use different AI agents?
Yes. Each Facebook Page connects to one AI agent at a time. Open the AI agent you want to use, go to Channels > Manage, and add the page through Connect a new Facebook Page and Edit previous settings. See Connecting different AI agents to different pages.
Does the AI agent reply to comments on my posts?
No. The AI agent doesn’t respond to comments. Turn on Comment monitoring in the channel settings to create a Chatbase Helpdesk ticket when a comment arrives. Your team replies from the ticket, and the reply is posted under the original comment. See Comment monitoring.
How do I reply to a customer myself?
Turn on human takeover for the conversation from Activity > Conversations, or let the customer reach your team through an Escalations ticket in Chatbase Helpdesk. Either way, the AI agent stops answering that conversation until you hand it back.
How many message credits does Messenger use?
Each reply uses message credits based on your AI agent’s model (Auto by default). A reply that triggers an Action, such as looking up an order, costs twice that, and attachments add credits per image or PDF page.
Next steps
Instagram
Connect the Instagram accounts linked to your Facebook pages for the same treatment.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Chatbase","colors":{"primary":"#18181b","light":"#f4f4f5","dark":"#18181b"},"logo":{"light":"https://mintcdn.com/chatbase/pJU9vM3D9oN_YQME/logo/light.svg?fit=max\u0026auto=format\u0026n=pJU9vM3D9oN_YQME\u0026q=85\u0026s=a45a73af7ac778cd0920dbb6ad1aaa93","dark":"https://mintcdn.com/chatbase/8k6_6eFSz4sj8EO0/logo/dark.svg?fit=max\u0026auto=format\u0026n=8k6_6eFSz4sj8EO0\u0026q=85\u0026s=c0c106d2f92f6a87f872a2be66706041","href":"https://chatbase.co"},"favicon":"https://mintcdn.com/chatbase/NsUPSmNqecm03uiz/favicon.ico?fit=max\u0026auto=format\u0026n=NsUPSmNqecm03uiz\u0026q=85\u0026s=b37388fc54cd76cfaf3efcb8ab4a4dc8","appearance":{},"navbar":{"links":[{"href":"https://chatbase.co/help","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://www.chatbase.co/dashboard"}},"footer":{"socials":{"x":"https://x.com/chatbase_co","linkedin":"https://linkedin.com/company/chatbase-co","youtube":"https://www.youtube.com/@chatbase_"}},"seo":{"metatags":{"canonical":"https://www.chatbase.co/docs"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"metadata":{"timestamp":false},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"chatbase","hasAudioNarration":false,"actualSubdomain":"chatbase","customDomains":["chatbase.co"],"gitSource":{"type":"github","owner":"chatbase-co","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6afb2ce1ad9313ad123bf3cb","clientVersion":"0.0.4149","searchFilterCounts":[{"language":"default","tag":"User Guide","count":109},{"language":"default","tag":"API Reference","count":92},{"language":"default","tag":"Endpoints","count":78},{"language":"default","tag":"API v2","count":71},{"language":"default","tag":"Helpdesk","count":40},{"language":"default","tag":"Integrations","count":35},{"language":"default","tag":"Developer Guide","count":32},{"language":"default","tag":"AI Agent Management","count":32},{"language":"default","tag":"SDKs","count":26},{"language":"default","tag":"Actions","count":22}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".nav-dropdown-trigger{border-color:transparent!important;border-bottom-color:rgb(var(--gray-500) / 0.2)!important;border-radius:0!important;padding:0.5rem 0.875rem 0.875rem 1rem!important}.nav-dropdown-trigger .nav-dropdown-item-icon{display:none!important}.nav-dropdown-trigger .nav-dropdown-item-text-container{padding-left:0!important}.nav-dropdown-trigger .nav-dropdown-item-title{font-weight:600!important}.nav-dropdown-item-title::after{display:inline-block;margin-left:0.5rem;padding:0.125rem 0.5rem;border-radius:0.375rem;font-size:0.7rem;font-weight:600;line-height:1.2;vertical-align:middle}:is(.nav-dropdown-trigger,.nav-dropdown-item):has([style*=\"/code.svg\"]) .nav-dropdown-item-title::after{content:\"Current\";color:rgb(22 163 74);background:rgb(22 163 74 / 0.12)}:is(.nav-dropdown-trigger,.nav-dropdown-item):has([style*=\"/box-archive.svg\"]) .nav-dropdown-item-title::after{content:\"Deprecated\";color:rgb(217 119 6);background:rgb(217 119 6 / 0.12)}"}],"page":{"pagePath":"user-guides/integrations/messenger","slug":"/user-guides/integrations/messenger","pageMetadata":{"title":"Add an AI agent to Facebook Messenger","sidebarTitle":"Messenger","icon":"facebook-messenger","description":"Connect your Facebook pages so your AI agent can handle Messenger conversations, with human takeover","href":"/user-guides/integrations/messenger"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Connect your Facebook pages so your AI agent can handle Messenger conversations, with human takeover\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,hr:`hr`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,Check,Frame,Heading,Info,Note,OptimizedImage,Step,Steps,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!Check)_missingMdxReference(`Check`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`The Chatbase Messenger integration connects your AI agent to one or more Facebook Pages, so it answers the messages customers send those Pages in Facebook Messenger. It’s for businesses that get customer questions through their Facebook Page, such as online stores handling product and order questions. You can also take over any conversation yourself and reply through Messenger, so routine inquiries are automated but you keep the freedom to step in whenever you want.`}),`\n`,_jsx(Card,{title:`What you can do:`,icon:`comments`,children:_jsx(_components.p,{children:`Answer Messenger inquiries automatically, take over a conversation the moment you want to handle it yourself, and run different AI agents on different pages.`})}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Attachments are supported, so your AI agent can process them and respond based on their content. See `,_jsx(_components.a,{href:`/user-guides/chatbot/channels#attachments`,children:`Attachments`}),`.`]})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`You can connect more than one Facebook page: select multiple pages during setup, or add more later using `,_jsx(_components.strong,{children:`Connect a new Facebook page`}),` in the Messenger dashboard.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`use-cases`,children:`Use cases`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Customer support.`}),` Your AI agent answers from its `,_jsx(_components.a,{href:`/user-guides/chatbot/data-sources`,children:`Data Sources`}),` and can read the photos and documents customers send. When a customer needs a person, the `,_jsx(_components.a,{href:`/user-guides/chatbot/actions/escalate-to-human`,children:`Escalations`}),` Action opens a ticket and the AI agent tells the customer a ticket was opened. With Chatbase Helpdesk as the ticket platform, the AI agent then stops replying, your team’s replies show up live in Messenger, and closing the ticket hands the conversation back. See `,_jsx(_components.a,{href:`/user-guides/chatbot/actions/escalate-to-human#handover-with-chatbase-helpdesk`,children:`Handover with Chatbase Helpdesk`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Shopping and orders.`}),` With `,_jsx(_components.a,{href:`/user-guides/integrations/shopify`,children:`Shopify`}),` connected, these `,_jsx(_components.a,{href:`/user-guides/chatbot/actions/shopify-actions#channel-compatibility`,children:`Shopify Actions`}),` work on Messenger: `,_jsx(_components.strong,{children:`Retrieve and display products`}),`, `,_jsx(_components.strong,{children:`Update cart`}),`, `,_jsx(_components.strong,{children:`Get cart`}),`, `,_jsx(_components.strong,{children:`Create order`}),`, `,_jsx(_components.strong,{children:`Create exchange (new order)`}),`, and `,_jsx(_components.strong,{children:`Retrieve and display orders`}),`. A customer can ask “Do you have this in blue?”, add it to their cart, check out, and later ask where their order is, all in Messenger. They can also send a photo of a product, and the AI agent finds matching items with `,_jsx(_components.a,{href:`/user-guides/chatbot/actions/shopify-actions#search-by-image`,children:`search by image`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Public comments.`}),` `,_jsx(_components.a,{href:`#comment-monitoring`,children:`Comment monitoring`}),` turns comments on your Facebook posts into Helpdesk tickets, so your team can answer questions like “How much is shipping?” under a post from the same place as your other tickets.`]}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-start`,children:`Before you start`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`A Chatbase account with an AI agent`}),`\n`,_jsx(_components.li,{children:`A Facebook page you administer`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`how-to-connect-messenger`,children:`How to connect Messenger`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open the Messenger channel`,children:_jsxs(_components.p,{children:[`Navigate to your dashboard, pick an AI agent, and go to `,_jsx(_components.strong,{children:`Channels`}),`. Click `,_jsx(_components.strong,{children:`Setup`}),` if this is your first time using the integration, or `,_jsx(_components.strong,{children:`Manage`}),` if you’ve connected pages before.`]})}),_jsxs(Step,{title:`Grant permission`,children:[_jsx(_components.p,{children:`If this is the first time, you’ll be asked for permission to allow Chatbase to use your information.`}),_jsx(Note,{children:_jsxs(_components.p,{children:[`If you’ve already integrated some pages and want to modify your selection, pick the `,_jsx(_components.strong,{children:`Edit Previous Settings`}),` option.`]})}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-4.png?fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=72f1e06df0e5131b97e50da4c01abe31`,alt:`Granting Chatbase permission to access your Facebook information`,\"data-og-width\":`891`,width:`891`,\"data-og-height\":`868`,height:`868`,\"data-path\":`user-guides/integrations/images/messenger/messenger-4.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-4.png?w=280\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=a29e62753eefbd7a48510123fded61ed 280w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-4.png?w=560\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=41466ae3564a338a355e04a2fe58d5d6 560w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-4.png?w=840\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=624ef8754e0fe0f819a13a9f5402cdb1 840w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-4.png?w=1100\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=62ed65c98ed8d7ed04caf2d88440ae73 1100w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-4.png?w=1650\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=52bde6152b9c6850b12f09f7ecf865a1 1650w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-4.png?w=2500\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=0d9eea14a9b995fc35f6085d3e1472b5 2500w`})})]}),_jsxs(Step,{title:`Choose your pages`,children:[_jsxs(_components.p,{children:[`Select `,_jsx(_components.strong,{children:`Opt into current pages only`}),` to choose specific pages, or `,_jsx(_components.strong,{children:`Opt all current pages`}),` to integrate every page on your account.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-5.png?fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=481c447b59d2c8a6e5fb0a58fbeb1ac3`,alt:`Choosing which Facebook pages to integrate`,\"data-og-width\":`891`,width:`891`,\"data-og-height\":`878`,height:`878`,\"data-path\":`user-guides/integrations/images/messenger/messenger-5.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-5.png?w=280\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=c83aa4c9e541f9400c3ae38d5e0bb168 280w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-5.png?w=560\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=b961aa81898389c9d8286fced74d60bf 560w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-5.png?w=840\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=7bf5170825cfcf811e6e3d9d9dc97201 840w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-5.png?w=1100\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=8459a43321b00d84e6c7ccd6fd88eeb2 1100w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-5.png?w=1650\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=23dea02f35063e98182b33ecb4c77d53 1650w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-5.png?w=2500\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=00ed3c5e20e7d45a8c018b1f6d3592d4 2500w`})})]}),_jsxs(Step,{title:`Review and save`,children:[_jsxs(_components.p,{children:[`Review the permissions and click `,_jsx(_components.strong,{children:`Save`}),`.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-6.png?fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=ab2e531a5dfe29c28476b27d83c3dbb1`,alt:`Reviewing Messenger permissions`,\"data-og-width\":`891`,width:`891`,\"data-og-height\":`849`,height:`849`,\"data-path\":`user-guides/integrations/images/messenger/messenger-6.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-6.png?w=280\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=a4cac5d6cc772b6f93a4d69c6f1f95ba 280w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-6.png?w=560\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=700520847f7d41613ff9c7bfd426b708 560w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-6.png?w=840\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=762d71680a23e0cebddfad651b097c1f 840w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-6.png?w=1100\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=01d03aada8494bf544e5118bd19063b8 1100w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-6.png?w=1650\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=46e554444ef2fe73dfde77bf33c5ee83 1650w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-6.png?w=2500\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=b7f3adc68b280363d4a0dc346f3a96be 2500w`})}),_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Done`}),` and wait a few seconds for the integration to connect.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-7.jpg?fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=8f5c381b88ba04f40de02b97b61fcf0d`,alt:`The Messenger integration connecting`,\"data-og-width\":`640`,width:`640`,\"data-og-height\":`510`,height:`510`,\"data-path\":`user-guides/integrations/images/messenger/messenger-7.jpg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-7.jpg?w=280\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=f0ec2f81de7c546afcae83fcaba79181 280w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-7.jpg?w=560\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=5e084d41f3f1b7a153f5073ad1a4a2f7 560w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-7.jpg?w=840\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=9cfc8fc3184d2612c4dae04cdc0cc8fb 840w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-7.jpg?w=1100\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=0781ba0f75b8ad10e7aff839e4c2eb69 1100w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-7.jpg?w=1650\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=515ed42e56466b1ae9539aa6f8f5d14a 1650w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-7.jpg?w=2500\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=0e6ff8d8c625602f5a120cd3677541ec 2500w`})})]})]}),`\n`,_jsx(Check,{children:_jsx(_components.p,{children:`Send a message to your connected Facebook page and confirm your AI agent replies.`})}),`\n`,_jsxs(_components.p,{children:[`Once connected, you can manage your pages through the Messenger dashboard: add new pages with `,_jsx(_components.strong,{children:`Connect a new Facebook page`}),`, or delete existing ones using the three dots next to the page.`]}),`\n`,_jsx(Heading,{level:`2`,id:`human-takeover`,children:`Human takeover`}),`\n`,_jsx(_components.p,{children:`The human takeover feature lets you take over a chat whenever you want and reply to customers yourself. It works at the conversation level, so you can pick a specific conversation from the dashboard and stop the AI agent answering it.`}),`\n`,_jsx(Heading,{level:`3`,id:`enable-human-takeover-for-a-conversation`,children:`Enable human takeover for a conversation`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Navigate to `,_jsx(_components.strong,{children:`Activity > Conversations`}),` in the left sidebar.`]}),`\n`,_jsxs(_components.li,{children:[`In the `,_jsx(_components.strong,{children:`Conversations`}),` section, filter to show only Messenger chats.`]}),`\n`,_jsxs(_components.li,{children:[`Click the human `,_jsx(_components.strong,{children:`takeover icon`}),` to the right of the source.`]}),`\n`,_jsx(_components.li,{children:`Click the icon to enable human takeover.`}),`\n`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chatbase/bO49Edenw4JMFhBZ/user-guides/integrations/images/messenger/messenger-11.png?fit=max\u0026auto=format\u0026n=bO49Edenw4JMFhBZ\u0026q=85\u0026s=83224225c821426ac58e29912641fb08`,alt:`The human takeover icon in the Conversations list`,\"data-og-width\":`1848`,width:`1848`,\"data-og-height\":`776`,height:`776`,\"data-path\":`user-guides/integrations/images/messenger/messenger-11.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chatbase/bO49Edenw4JMFhBZ/user-guides/integrations/images/messenger/messenger-11.png?w=280\u0026fit=max\u0026auto=format\u0026n=bO49Edenw4JMFhBZ\u0026q=85\u0026s=1aeaee1e8d18c8c77beb54bb4948b326 280w, https://mintcdn.com/chatbase/bO49Edenw4JMFhBZ/user-guides/integrations/images/messenger/messenger-11.png?w=560\u0026fit=max\u0026auto=format\u0026n=bO49Edenw4JMFhBZ\u0026q=85\u0026s=440760d198046c463d79ad78d6ed5bb4 560w, https://mintcdn.com/chatbase/bO49Edenw4JMFhBZ/user-guides/integrations/images/messenger/messenger-11.png?w=840\u0026fit=max\u0026auto=format\u0026n=bO49Edenw4JMFhBZ\u0026q=85\u0026s=9ad6f9c5c7691afdb98c467784377809 840w, https://mintcdn.com/chatbase/bO49Edenw4JMFhBZ/user-guides/integrations/images/messenger/messenger-11.png?w=1100\u0026fit=max\u0026auto=format\u0026n=bO49Edenw4JMFhBZ\u0026q=85\u0026s=ee305184b586717d67a4affbe07218b3 1100w, https://mintcdn.com/chatbase/bO49Edenw4JMFhBZ/user-guides/integrations/images/messenger/messenger-11.png?w=1650\u0026fit=max\u0026auto=format\u0026n=bO49Edenw4JMFhBZ\u0026q=85\u0026s=be42c85697520e4cf0d29acca6b4c5ba 1650w, https://mintcdn.com/chatbase/bO49Edenw4JMFhBZ/user-guides/integrations/images/messenger/messenger-11.png?w=2500\u0026fit=max\u0026auto=format\u0026n=bO49Edenw4JMFhBZ\u0026q=85\u0026s=3f206c6ce221830820605715bd53463e 2500w`})}),`\n`,_jsx(_components.p,{children:`Click the icon again to restore access to the AI agent.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Some conversations won’t have the human takeover icon. This happens when you delete a page from the integrations dashboard. You keep access to the conversations in `,_jsx(_components.strong,{children:`Activity > Conversations`}),`, but not the takeover feature, because that page’s integration was deleted. The same applies if you delete a page and add it back, so be careful when deleting pages from the Messenger dashboard.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`response-delay`,children:`Response delay`}),`\n`,_jsx(_components.p,{children:`Customers on Messenger often send several short messages in a row. If your AI agent replies too fast, it answers each message separately before the customer has finished. The Messenger response delay sets how long your AI agent waits after the latest customer message before it replies. Messages sent during that wait are grouped into one reply instead of one reply per message.`}),`\n`,_jsx(_components.p,{children:`To set it:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Go to `,_jsx(_components.strong,{children:`Channels → Messenger → Manage → Delay`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`For each Facebook page, set a `,_jsx(_components.strong,{children:`Minimum delay`}),` and a `,_jsx(_components.strong,{children:`Maximum delay`}),` in seconds.`]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Save`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`For each reply, your AI agent waits a random time between the minimum and the maximum, so replies don’t arrive at an exact, robotic interval. To always wait the same amount of time, set both values to the same number.`}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Both values can be between 2 and 30 seconds, and the maximum can’t be lower than the minimum. Pages you haven’t configured wait 2 seconds.`})}),`\n`,_jsx(Heading,{level:`2`,id:`comment-monitoring`,children:`Comment monitoring`}),`\n`,_jsxs(_components.p,{children:[`Turn comments on your `,_jsx(_components.strong,{children:`Facebook posts into Chatbase Helpdesk tickets`}),`, so your team can monitor and respond to customers directly from Chatbase. Comment monitoring is available from the channel settings for your Facebook accounts.`]}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open your channel settings`,children:_jsxs(_components.p,{children:[`Go to `,_jsx(_components.strong,{children:`Channels`}),` and select your connected `,_jsx(_components.strong,{children:`Facebook`}),` channel.`]})}),_jsx(Step,{title:`Open Comments`,children:_jsxs(_components.p,{children:[`Select the `,_jsx(_components.strong,{children:`Comments`}),` tab.`]})}),_jsxs(Step,{title:`Enable comment monitoring`,children:[_jsxs(_components.p,{children:[`Turn on `,_jsx(_components.strong,{children:`Enable comment monitoring`}),` and select the Facebook Pages you want to monitor.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chatbase/t6rQFYPtI-Id_rjI/user-guides/integrations/images/messenger/messenger-comments.png?fit=max\u0026auto=format\u0026n=t6rQFYPtI-Id_rjI\u0026q=85\u0026s=4d8844d734ba65e00a8b5b83f74d86de`,alt:`The Comments tab in the Messenger channel settings, with Enable comment monitoring turned on and a Facebook Page selected`,\"data-og-width\":`2528`,width:`2528`,\"data-og-height\":`1502`,height:`1502`,\"data-path\":`user-guides/integrations/images/messenger/messenger-comments.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chatbase/t6rQFYPtI-Id_rjI/user-guides/integrations/images/messenger/messenger-comments.png?w=280\u0026fit=max\u0026auto=format\u0026n=t6rQFYPtI-Id_rjI\u0026q=85\u0026s=feece5d4a8c75aadd441307503d337ac 280w, https://mintcdn.com/chatbase/t6rQFYPtI-Id_rjI/user-guides/integrations/images/messenger/messenger-comments.png?w=560\u0026fit=max\u0026auto=format\u0026n=t6rQFYPtI-Id_rjI\u0026q=85\u0026s=a0952de23b235766d8e8e71cf4cc5ad5 560w, https://mintcdn.com/chatbase/t6rQFYPtI-Id_rjI/user-guides/integrations/images/messenger/messenger-comments.png?w=840\u0026fit=max\u0026auto=format\u0026n=t6rQFYPtI-Id_rjI\u0026q=85\u0026s=b7b4f109594d0616111001dde9e78fca 840w, https://mintcdn.com/chatbase/t6rQFYPtI-Id_rjI/user-guides/integrations/images/messenger/messenger-comments.png?w=1100\u0026fit=max\u0026auto=format\u0026n=t6rQFYPtI-Id_rjI\u0026q=85\u0026s=41a4a354e31b003d7b43374ad93c862f 1100w, https://mintcdn.com/chatbase/t6rQFYPtI-Id_rjI/user-guides/integrations/images/messenger/messenger-comments.png?w=1650\u0026fit=max\u0026auto=format\u0026n=t6rQFYPtI-Id_rjI\u0026q=85\u0026s=42f0225265d8b232e68e5a5ae6749822 1650w, https://mintcdn.com/chatbase/t6rQFYPtI-Id_rjI/user-guides/integrations/images/messenger/messenger-comments.png?w=2500\u0026fit=max\u0026auto=format\u0026n=t6rQFYPtI-Id_rjI\u0026q=85\u0026s=74d3570bf369510de253e4a7dddb906b 2500w`})})]}),_jsxs(Step,{title:`Receive comments as tickets`,children:[_jsxs(_components.p,{children:[`When someone comments on a monitored Facebook post, Chatbase automatically creates a ticket in the `,_jsx(_components.strong,{children:`Chatbase Helpdesk`}),`.`]}),_jsx(_components.p,{children:`The ticket includes information about the original post and the comment, giving your team the context needed to respond.`})]}),_jsxs(Step,{title:`Reply from the Chatbase Helpdesk`,children:[_jsxs(_components.p,{children:[`Open the ticket in the `,_jsx(_components.strong,{children:`Chatbase Helpdesk`}),` and reply directly to the comment.`]}),_jsx(_components.p,{children:`Replies sent from Chatbase are posted as replies to the original Facebook comment.`})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`connecting-different-ai-agents-to-different-pages`,children:`Connecting different AI agents to different pages`}),`\n`,_jsx(_components.p,{children:`You can connect different AI agents to different Facebook pages, so each page gets specialized interactions.`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Open the AI agent you want to connect`,children:[_jsxs(_components.p,{children:[`After connecting your first pages, you have access to the `,_jsx(_components.strong,{children:`manage Facebook pages`}),` integrations page. Navigate to the AI agent you want to connect, then `,_jsx(_components.strong,{children:`Channels > Manage`}),`.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/messenger/messenger-12.png?fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=bfa913093824f808a1c2ac439de1cb6e`,alt:`Opening Channels > Manage for an AI agent`,\"data-og-width\":`798`,width:`798`,\"data-og-height\":`386`,height:`386`,\"data-path\":`user-guides/integrations/images/messenger/messenger-12.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/messenger/messenger-12.png?w=280\u0026fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=13e620647d5f42c57bef940d7912c819 280w, https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/messenger/messenger-12.png?w=560\u0026fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=7ae0319bfa0884b5a345b42916018da7 560w, https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/messenger/messenger-12.png?w=840\u0026fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=8c53d7b2f8c791080919704340aa7213 840w, https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/messenger/messenger-12.png?w=1100\u0026fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=8c4f4111bf85c5e258dc4a11d1565752 1100w, https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/messenger/messenger-12.png?w=1650\u0026fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=5047e628424e10f9ec2d432ce7baaaa8 1650w, https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/messenger/messenger-12.png?w=2500\u0026fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=2b152bdcac9f9551fc5cac49f5ca937f 2500w`})})]}),_jsxs(Step,{title:`Connect a new page`,children:[_jsxs(_components.p,{children:[`You’ll see all the pages connected to this AI agent. Click `,_jsx(_components.strong,{children:`Connect a new Facebook Page`}),`.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chatbase/bO49Edenw4JMFhBZ/user-guides/integrations/images/messenger/messenger-13.png?fit=max\u0026auto=format\u0026n=bO49Edenw4JMFhBZ\u0026q=85\u0026s=3a8b9be5e4f1efc9aea200fd18032597`,alt:`The Connect a new Facebook Page button`,\"data-og-width\":`934`,width:`934`,\"data-og-height\":`1072`,height:`1072`,\"data-path\":`user-guides/integrations/images/messenger/messenger-13.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chatbase/bO49Edenw4JMFhBZ/user-guides/integrations/images/messenger/messenger-13.png?w=280\u0026fit=max\u0026auto=format\u0026n=bO49Edenw4JMFhBZ\u0026q=85\u0026s=d7e94fa2aa589368db0314da03fd2f33 280w, https://mintcdn.com/chatbase/bO49Edenw4JMFhBZ/user-guides/integrations/images/messenger/messenger-13.png?w=560\u0026fit=max\u0026auto=format\u0026n=bO49Edenw4JMFhBZ\u0026q=85\u0026s=4c2c39f2acfe0d68d05211cbb40a1d74 560w, https://mintcdn.com/chatbase/bO49Edenw4JMFhBZ/user-guides/integrations/images/messenger/messenger-13.png?w=840\u0026fit=max\u0026auto=format\u0026n=bO49Edenw4JMFhBZ\u0026q=85\u0026s=4ef6d3abe61f701818742309d4989b6f 840w, https://mintcdn.com/chatbase/bO49Edenw4JMFhBZ/user-guides/integrations/images/messenger/messenger-13.png?w=1100\u0026fit=max\u0026auto=format\u0026n=bO49Edenw4JMFhBZ\u0026q=85\u0026s=26780d24e4acc101b6d4b2b5fba4a5dd 1100w, https://mintcdn.com/chatbase/bO49Edenw4JMFhBZ/user-guides/integrations/images/messenger/messenger-13.png?w=1650\u0026fit=max\u0026auto=format\u0026n=bO49Edenw4JMFhBZ\u0026q=85\u0026s=9d239bfa9c3b716ef9543119713a56a3 1650w, https://mintcdn.com/chatbase/bO49Edenw4JMFhBZ/user-guides/integrations/images/messenger/messenger-13.png?w=2500\u0026fit=max\u0026auto=format\u0026n=bO49Edenw4JMFhBZ\u0026q=85\u0026s=2facd22ebef81da9c368002a59d8416e 2500w`})}),_jsxs(_components.p,{children:[`Then click `,_jsx(_components.strong,{children:`Edit previous settings`}),`.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-14.png?fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=6312e112d2900c3de88516fd0e7d9dd0`,alt:`The Edit previous settings option`,\"data-og-width\":`891`,width:`891`,\"data-og-height\":`786`,height:`786`,\"data-path\":`user-guides/integrations/images/messenger/messenger-14.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-14.png?w=280\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=19cb5cf710e27c9fcc1695ce5b96b9dd 280w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-14.png?w=560\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=aa58bf28c91df8d6cdf6163c62af4ce5 560w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-14.png?w=840\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=552d7bd2f7fddb2fe9a5905cf7fa61cc 840w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-14.png?w=1100\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=e76dd0a33501bd6f5bbc664143e501ca 1100w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-14.png?w=1650\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=87cf66e8ae43f4f4e6115fc9b668743b 1650w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-14.png?w=2500\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=9a3bf7d116e5814ae19b9e6079149215 2500w`})})]}),_jsxs(Step,{title:`Keep your existing pages selected`,children:[_jsx(_components.p,{children:`A list of connected pages is displayed.`}),_jsx(Warning,{children:_jsx(_components.p,{children:`Don’t deselect any page you want to stay connected to Chatbase, because deselecting disables that page for Chatbase.`})}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-15.png?fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=81a48cc2ce50dc9bbf2a01ea0f1ce782`,alt:`The list of connected Facebook pages`,\"data-og-width\":`891`,width:`891`,\"data-og-height\":`1210`,height:`1210`,\"data-path\":`user-guides/integrations/images/messenger/messenger-15.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-15.png?w=280\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=8b86d7ec55ecf7d54b0a96ecb74fff31 280w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-15.png?w=560\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=2821287cc141bc7875d5bc296e422477 560w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-15.png?w=840\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=9dff52595b9584921983d2fabb03563e 840w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-15.png?w=1100\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=aeec8a39c298e0b89042b75fc5c50641 1100w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-15.png?w=1650\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=cd8a09c1e63e3c9c921f46c153c15e91 1650w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-15.png?w=2500\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=4b7313b1e50efc11e18edf1284e10fef 2500w`})})]}),_jsxs(Step,{title:`Select the new page and save`,children:[_jsxs(_components.p,{children:[`Select the page you want to add the new AI agent to and click `,_jsx(_components.strong,{children:`Next`}),`. If the page was already selected, just click `,_jsx(_components.strong,{children:`Next`}),`.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-16.png?fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=f4394135798929978604065e39d0a394`,alt:`Selecting the page to add to the new AI agent`,\"data-og-width\":`891`,width:`891`,\"data-og-height\":`1177`,height:`1177`,\"data-path\":`user-guides/integrations/images/messenger/messenger-16.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-16.png?w=280\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=066f22ec9a5b9deebeed17496efdb06f 280w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-16.png?w=560\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=b060e6ce7f5eb64bcaf779df2683a91f 560w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-16.png?w=840\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=1a0c2e9ce7decfe5e49269b7e8f5921b 840w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-16.png?w=1100\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=a46c8f94b5fa9103cab05f8cf840b8eb 1100w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-16.png?w=1650\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=d0086b7e6fd8072847a2ff353a3147ae 1650w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-16.png?w=2500\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=e4fee68deadfb88d3235813006d2ef9f 2500w`})}),_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Save`}),`.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-17.png?fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=efcecaac7c9220ee0314de2db9c2b6d8`,alt:`Saving the page selection`,\"data-og-width\":`891`,width:`891`,\"data-og-height\":`730`,height:`730`,\"data-path\":`user-guides/integrations/images/messenger/messenger-17.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-17.png?w=280\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=d0855fd03366820a8a87011c54066e70 280w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-17.png?w=560\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=ac0a68d690c8d3f39c56933ccc4041e6 560w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-17.png?w=840\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=1819bea03adcb8ef888359a8c55f4f44 840w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-17.png?w=1100\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=5a542a27c546c927093ce0bb92c242e5 1100w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-17.png?w=1650\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=e0f8649557faaa286f019fe9e9a8ef30 1650w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/messenger/messenger-17.png?w=2500\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=4e0780dc69a3a1b20484a07fb6b826fe 2500w`})})]})]}),`\n`,_jsx(_components.p,{children:`The new page is added to the dashboard and is now integrated with the new AI agent.`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`You can enable or disable the Messenger integration without disconnecting it. Disabling pauses messages while keeping your setup intact, and you can re-enable at any time. New chats still appear in `,_jsx(_components.strong,{children:`Activity > Conversations`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`limitations`,children:`Limitations`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Deleting a page removes takeover for its conversations.`}),` The conversations remain, but the takeover icon disappears, and re-adding the page doesn’t restore it for old conversations.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Deselecting a page during setup disables it`}),` for Chatbase, even if you only meant to change something else.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`best-practices`,children:`Best practices`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Match AI agents to pages`,icon:`layer-group`,children:_jsxs(_components.p,{children:[`If you run several Facebook Pages, such as one per brand or region, connect each to the AI agent trained for it. See `,_jsx(_components.a,{href:`#connecting-different-ai-agents-to-different-pages`,children:`Connecting different AI agents to different pages`}),`.`]})}),_jsx(Card,{title:`Edit page settings carefully`,icon:`triangle-exclamation`,children:_jsxs(_components.p,{children:[`When you use `,_jsx(_components.strong,{children:`Edit previous settings`}),`, keep every page you want connected selected. Avoid deleting pages you still use, because their conversations lose the takeover icon.`]})}),_jsx(Card,{title:`Route comments to the Helpdesk`,icon:`comments`,children:_jsxs(_components.p,{children:[`Turn on `,_jsx(_components.a,{href:`#comment-monitoring`,children:`comment monitoring`}),` for the pages where customers ask questions under posts, so public questions don’t go unanswered.`]})}),_jsx(Card,{title:`Give Messenger its own instructions`,icon:`sliders`,children:_jsxs(_components.p,{children:[`Turn off `,_jsx(_components.strong,{children:`Sync with global instructions`}),` on the Messenger channel’s `,_jsx(_components.strong,{children:`Overview`}),` tab to write instructions for Messenger only. See `,_jsx(_components.a,{href:`/user-guides/chatbot/playground#instructions-and-global-instructions`,children:`Instructions and global instructions`}),`.`]})})]}),`\n`,_jsxs(_components.p,{children:[`Changes you save to instructions, Actions, and channel settings go into a draft. Messenger customers keep talking to the live AI agent until you click `,_jsx(_components.strong,{children:`Publish`}),`. See `,_jsx(_components.a,{href:`/user-guides/chatbot/versions`,children:`Drafts and versions`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`A conversation has no human takeover icon`,id:`a-conversation-has-no-human-takeover-icon`,children:_jsxs(_components.p,{children:[`The page it came from was deleted from the Messenger integration. The conversation stays in `,_jsx(_components.strong,{children:`Activity > Conversations`}),`, but takeover isn’t available for it, even if you add the page back.`]})}),_jsx(Accordion,{title:`A page stopped responding after you edited your settings`,id:`a-page-stopped-responding-after-you-edited-your-settings`,children:_jsxs(_components.p,{children:[`The page was probably deselected in `,_jsx(_components.strong,{children:`Edit previous settings`}),`, which disables it for Chatbase. Go through `,_jsx(_components.strong,{children:`Connect a new Facebook page`}),` and `,_jsx(_components.strong,{children:`Edit previous settings`}),` again and make sure the page is selected.`]})}),_jsx(Accordion,{title:`The AI agent stopped replying in a conversation`,id:`the-ai-agent-stopped-replying-in-a-conversation`,children:_jsxs(_components.p,{children:[`Check whether human takeover is on for the conversation, or whether it has an open Helpdesk ticket. A conversation can also be `,_jsx(_components.a,{href:`/user-guides/chatbot/activity#pausing-a-conversation`,children:`paused`}),` manually or by `,_jsx(_components.a,{href:`/user-guides/chatbot/guardrails#spam-detection`,children:`Spam detection`}),`. If it stopped on every conversation, check that the Messenger integration is enabled.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`frequently-asked-questions`,children:`Frequently asked questions`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Can I connect more than one Facebook page?`,id:`can-i-connect-more-than-one-facebook-page`,children:_jsxs(_components.p,{children:[`Yes. Select several pages during setup, or add more later with `,_jsx(_components.strong,{children:`Connect a new Facebook page`}),` in the Messenger dashboard.`]})}),_jsx(Accordion,{title:`Can different pages use different AI agents?`,id:`can-different-pages-use-different-ai-agents`,children:_jsxs(_components.p,{children:[`Yes. Each Facebook Page connects to one AI agent at a time. Open the AI agent you want to use, go to `,_jsx(_components.strong,{children:`Channels > Manage`}),`, and add the page through `,_jsx(_components.strong,{children:`Connect a new Facebook Page`}),` and `,_jsx(_components.strong,{children:`Edit previous settings`}),`. See `,_jsx(_components.a,{href:`#connecting-different-ai-agents-to-different-pages`,children:`Connecting different AI agents to different pages`}),`.`]})}),_jsx(Accordion,{title:`Does the AI agent reply to comments on my posts?`,id:`does-the-ai-agent-reply-to-comments-on-my-posts`,children:_jsxs(_components.p,{children:[`No. The AI agent doesn’t respond to comments. Turn on `,_jsx(_components.strong,{children:`Comment monitoring`}),` in the channel settings to create a Chatbase Helpdesk ticket when a comment arrives. Your team replies from the ticket, and the reply is posted under the original comment. See `,_jsx(_components.a,{href:`#comment-monitoring`,children:`Comment monitoring`}),`.`]})}),_jsx(Accordion,{title:`How do I reply to a customer myself?`,id:`how-do-i-reply-to-a-customer-myself`,children:_jsxs(_components.p,{children:[`Turn on `,_jsx(_components.a,{href:`#human-takeover`,children:`human takeover`}),` for the conversation from `,_jsx(_components.strong,{children:`Activity > Conversations`}),`, or let the customer reach your team through an `,_jsx(_components.a,{href:`/user-guides/chatbot/actions/escalate-to-human`,children:`Escalations`}),` ticket in Chatbase Helpdesk. Either way, the AI agent stops answering that conversation until you hand it back.`]})}),_jsx(Accordion,{title:`How many message credits does Messenger use?`,id:`how-many-message-credits-does-messenger-use`,children:_jsxs(_components.p,{children:[`Each reply uses message credits based on your AI agent’s `,_jsx(_components.a,{href:`/user-guides/chatbot/models-comparison`,children:`model`}),` (`,_jsx(_components.strong,{children:`Auto`}),` by default). A reply that triggers an Action, such as looking up an order, costs twice that, and `,_jsx(_components.a,{href:`/user-guides/chatbot/channels#attachments`,children:`attachments`}),` add credits per image or PDF page.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsx(Card,{icon:`instagram`,href:`/user-guides/integrations/instagram`,title:`Instagram`,children:_jsx(_components.p,{children:`Connect the Instagram accounts linked to your Facebook pages for the same treatment.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Add an AI agent to Facebook Messenger","sidebarTitle":"Messenger","icon":"facebook-messenger","description":"Connect your Facebook pages so your AI agent can handle Messenger conversations, with human takeover","href":"/user-guides/integrations/messenger"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Use cases","slug":"use-cases","depth":2,"children":[]},{"title":"Before you start","slug":"before-you-start","depth":2,"children":[]},{"title":"How to connect Messenger","slug":"how-to-connect-messenger","depth":2,"children":[]},{"title":"Human takeover","slug":"human-takeover","depth":2,"children":[{"title":"Enable human takeover for a conversation","slug":"enable-human-takeover-for-a-conversation","depth":3,"children":[]}]},{"title":"Response delay","slug":"response-delay","depth":2,"children":[]},{"title":"Comment monitoring","slug":"comment-monitoring","depth":2,"children":[]},{"title":"Connecting different AI agents to different pages","slug":"connecting-different-ai-agents-to-different-pages","depth":2,"children":[]},{"title":"Limitations","slug":"limitations","depth":2,"children":[]},{"title":"Best practices","slug":"best-practices","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]},{"title":"Frequently asked questions","slug":"frequently-asked-questions","depth":2,"children":[]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"chatbase","siteName":"Chatbase","title":"Add an AI agent to Facebook Messenger - Chatbase","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-16T00:13:14.932Z","originalFileLocation":"user-guides/integrations/messenger.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Connect your Facebook pages so your AI agent can handle Messenger conversations, with human takeover\">\u003cmeta data-mint-head name=\"application-name\" content=\"Chatbase\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/chatbase/sZYcuOsK-Dv6V9lc/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/chatbase/sZYcuOsK-Dv6V9lc/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/chatbase/sZYcuOsK-Dv6V9lc/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/chatbase/sZYcuOsK-Dv6V9lc/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/chatbase/sZYcuOsK-Dv6V9lc/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/chatbase/sZYcuOsK-Dv6V9lc/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/chatbase/sZYcuOsK-Dv6V9lc/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/chatbase/sZYcuOsK-Dv6V9lc/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/chatbase/sZYcuOsK-Dv6V9lc/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Add an AI agent to Facebook Messenger - Chatbase\">\u003cmeta data-mint-head property=\"og:description\" content=\"Connect your Facebook pages so your AI agent can handle Messenger conversations, with human takeover\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Chatbase\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.chatbase.co/docs/user-guides/integrations/messenger\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://chatbase.mintlify.site/docs/_mintlify/api/og/v2?division=Messaging+Platforms\u0026amp;title=Add+an+AI+agent+to+Facebook+Messenger\u0026amp;description=Connect+your+Facebook+pages+so+your+AI+agent+can+handle+Messenger+conversations%2C+with+human+takeover\u0026amp;theme=430b654938fc40910c40f1cb\u0026amp;signature=97d83642b25281d65dc2aa9f31250e2ea1669c5fdd675c938334e0990b7ecd45\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Add an AI agent to Facebook Messenger - Chatbase\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Connect your Facebook pages so your AI agent can handle Messenger conversations, with human takeover\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://chatbase.mintlify.site/docs/_mintlify/api/og/v2?division=Messaging+Platforms\u0026amp;title=Add+an+AI+agent+to+Facebook+Messenger\u0026amp;description=Connect+your+Facebook+pages+so+your+AI+agent+can+handle+Messenger+conversations%2C+with+human+takeover\u0026amp;theme=430b654938fc40910c40f1cb\u0026amp;signature=97d83642b25281d65dc2aa9f31250e2ea1669c5fdd675c938334e0990b7ecd45\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/chatbase/sZYcuOsK-Dv6V9lc/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Chatbase\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#18181b\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.chatbase.co/docs/user-guides/integrations/messenger\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/user-guides/integrations/messenger.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.chatbase.co/#organization\",\"name\":\"Chatbase\",\"url\":\"https://www.chatbase.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/chatbase/pJU9vM3D9oN_YQME/logo/light.svg?fit=max\u0026auto=format\u0026n=pJU9vM3D9oN_YQME\u0026q=85\u0026s=a45a73af7ac778cd0920dbb6ad1aaa93\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.chatbase.co/docs#website\",\"name\":\"Chatbase\",\"url\":\"https://www.chatbase.co/docs\",\"publisher\":{\"@id\":\"https://www.chatbase.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.chatbase.co/docs/user-guides/integrations/messenger#webpage\",\"url\":\"https://www.chatbase.co/docs/user-guides/integrations/messenger\",\"name\":\"Add an AI agent to Facebook Messenger\",\"description\":\"Connect your Facebook pages so your AI agent can handle Messenger conversations, with human takeover\",\"dateModified\":\"2026-11-16T00:13:14.932Z\",\"isPartOf\":{\"@id\":\"https://www.chatbase.co/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.chatbase.co/docs/user-guides/integrations/messenger#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.chatbase.co/docs/user-guides/integrations/messenger#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Integrations\",\"item\":\"https://www.chatbase.co/docs/user-guides/integrations/integrations-overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Messaging Platforms\",\"item\":\"https://www.chatbase.co/docs/user-guides/integrations/whatsapp\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Add an AI agent to Facebook Messenger\",\"item\":\"https://www.chatbase.co/docs/user-guides/integrations/messenger\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.chatbase.co/docs/user-guides/integrations/messenger#article\",\"headline\":\"Add an AI agent to Facebook Messenger\",\"name\":\"Add an AI agent to Facebook Messenger\",\"description\":\"Connect your Facebook pages so your AI agent can handle Messenger conversations, with human takeover\",\"url\":\"https://www.chatbase.co/docs/user-guides/integrations/messenger\",\"mainEntityOfPage\":{\"@id\":\"https://www.chatbase.co/docs/user-guides/integrations/messenger#webpage\"},\"dateModified\":\"2026-11-16T00:13:14.932Z\",\"publisher\":{\"@id\":\"https://www.chatbase.co/#organization\"},\"isPartOf\":{\"@id\":\"https://www.chatbase.co/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Chatbase\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Chatbase\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/user-guides/integrations/messenger.md","siteName":"Chatbase","nav":{"global":null,"tabs":[{"tab":"User Guide","groups":[{"group":"Quick Start","pages":[{"title":"What is Chatbase? AI agents for customer support","sidebarTitle":"Welcome to Chatbase","icon":"sparkles","href":"/user-guides/quick-start/introduction"},{"title":"Build your first AI agent in minutes","sidebarTitle":"Build Your First AI Agent","icon":"rocket","href":"/user-guides/quick-start/your-first-agent"},{"title":"Best practices to improve your AI agent's answers","sidebarTitle":"Best Practices","icon":"star","href":"/user-guides/quick-start/best-practices"}]},{"group":"AI Agent Management","pages":[{"title":"Backstage: manage your AI agent with an AI assistant","sidebarTitle":"Backstage","icon":"sparkles","href":"/user-guides/chatbot/backstage"},{"title":"Preview and test your AI agent in the Playground","sidebarTitle":"Playground","icon":"play","href":"/user-guides/chatbot/playground"},{"title":"Write your AI agent's instructions and choose its model","sidebarTitle":"Build","icon":"wrench","href":"/user-guides/chatbot/build"},{"title":"Save drafts, publish changes, and restore versions of your AI agent","sidebarTitle":"Drafts and versions","icon":"clock-rotate-left","href":"/user-guides/chatbot/versions"},{"title":"Train your AI agent on your website, files, and data","sidebarTitle":"Data Sources","icon":"database","href":"/user-guides/chatbot/data-sources"},{"title":"Deploy your AI agent on your website, messaging apps, and phone","sidebarTitle":"Channels","icon":"signal-stream","href":"/user-guides/chatbot/channels"},{"group":"Actions","icon":"bolt","pages":[{"title":"AI agent Actions: let your agent take action for customers","sidebarTitle":"Overview","icon":"book","href":"/user-guides/chatbot/actions/actions-overview"},{"title":"Hand off AI agent conversations to a human","sidebarTitle":"Escalations","icon":"users","href":"/user-guides/chatbot/actions/escalate-to-human"},{"title":"Hand off conversations to live chat in Chatbase Helpdesk","sidebarTitle":"Chatbase Live Chat","icon":"circle-dot","href":"/user-guides/chatbot/actions/chatbase-live-chat"},{"title":"Hand off conversations to live chat in Freshchat","sidebarTitle":"Freshchat Live Chat","icon":"headset","href":"/user-guides/chatbot/actions/freshchat-live-chat"},{"title":"Custom Actions: connect your AI agent to any API","sidebarTitle":"Custom Action","icon":"sparkles","href":"/user-guides/chatbot/actions/custom-action"},{"title":"Stripe Actions: let customers manage subscriptions and billing in chat","sidebarTitle":"Stripe","icon":"stripe","href":"/user-guides/chatbot/actions/stripe-action"},{"title":"Custom Button: send customers a link button in chat","sidebarTitle":"Custom Button","icon":"command","href":"/user-guides/chatbot/actions/custom-button"},{"title":"Collect leads with your AI agent","sidebarTitle":"Collect Leads","icon":"person","href":"/user-guides/chatbot/actions/collect-leads"},{"title":"Collect custom details from customers in chat","sidebarTitle":"Collect Data","icon":"database","href":"/user-guides/chatbot/actions/collect-data"},{"title":"Suggested Messages: show clickable reply suggestions in chat","sidebarTitle":"Suggested Messages","icon":"message","href":"/user-guides/chatbot/actions/suggested-messages"},{"title":"Give your AI agent real-time web search","sidebarTitle":"Web Search","icon":"globe","href":"/user-guides/chatbot/actions/web-search"},{"title":"Book meetings on Cal.com from your AI agent","sidebarTitle":"Cal.com","icon":"calendar","href":"/user-guides/chatbot/actions/cal"},{"title":"Book meetings on Calendly from your AI agent","sidebarTitle":"Calendly","icon":"calendar","href":"/user-guides/chatbot/actions/calendly"},{"title":"Send Slack notifications from your AI agent","sidebarTitle":"Slack","icon":"slack","href":"/user-guides/chatbot/actions/slack"},{"title":"Salesforce Actions: create cases and hand off to live agents","sidebarTitle":"Salesforce","icon":"salesforce","href":"/user-guides/chatbot/actions/salesforce-actions"},{"title":"Shopify Actions: products, cart, orders, and returns in chat","sidebarTitle":"Shopify","icon":"shopify","href":"/user-guides/chatbot/actions/shopify-actions"},{"title":"Show Shopify products as WhatsApp product cards","sidebarTitle":"WhatsApp Catalog","icon":"whatsapp","href":"/user-guides/chatbot/actions/whatsapp-catalog"},{"title":"Transfer a voice call from your AI agent to a phone number","sidebarTitle":"Transfer to phone number","icon":"phone","href":"/user-guides/chatbot/actions/transfer-to-phone"}]},{"group":"Procedures","icon":"book","pages":[{"title":"Procedures: step-by-step workflows for your AI agent","sidebarTitle":"Overview","icon":"book","href":"/user-guides/chatbot/procedures/procedures-overview"},{"title":"How your AI agent chooses and runs Procedures","sidebarTitle":"How Procedures Run","icon":"route","href":"/user-guides/chatbot/procedures/how-procedures-run"}]},{"title":"Voice AI agent: set how your agent sounds and behaves on calls","sidebarTitle":"Voice","icon":"microphone","href":"/user-guides/chatbot/voice"},{"title":"Guardrails: protect your AI agent from spam and abuse","sidebarTitle":"Guardrails","icon":"shield-halved","href":"/user-guides/chatbot/guardrails"},{"group":"Contacts","icon":"book-user","pages":[{"title":"Contacts: personalize your AI agent for known users","sidebarTitle":"Contacts Overview","icon":"book","href":"/user-guides/chatbot/contacts/contacts-overview"},{"title":"Upload and manage contacts in Chatbase","sidebarTitle":"Uploading Contacts","icon":"upload","href":"/user-guides/chatbot/contacts/uploading-contacts"}]},{"title":"AI agent settings: general, email, Helpdesk, domains, and webhooks","sidebarTitle":"Settings","icon":"gear","href":"/user-guides/chatbot/settings"},{"title":"Set up your AI agent to answer email","sidebarTitle":"Email settings","icon":"envelope","href":"/user-guides/chatbot/email-settings"}]},{"group":"Analytics \u0026 Monitoring","pages":[{"title":"Review your AI agent's conversations, leads, and collected data","sidebarTitle":"Activity","icon":"chart-area","href":"/user-guides/chatbot/activity"},{"title":"AI agent analytics: chats, topics, sentiment, and Helpdesk metrics","sidebarTitle":"Analytics","icon":"chart-scatter","href":"/user-guides/chatbot/analytics"}]},{"group":"Outbound","pages":[{"title":"Outbound campaigns: message your contacts at scale","sidebarTitle":"Outbound Campaigns","icon":"bullhorn","href":"/user-guides/chatbot/outbound-campaigns"},{"title":"Send WhatsApp campaigns with approved message templates","sidebarTitle":"WhatsApp Campaigns","icon":"whatsapp","iconType":"brands","href":"/user-guides/chatbot/outbound-whatsapp"}]},{"group":"Workspace Management","pages":[{"title":"Manage workspaces, AI agents, and member permissions","sidebarTitle":"Manage","icon":"users-gear","href":"/user-guides/workspace/manage"},{"title":"Track message credit usage across your workspace","sidebarTitle":"Usage","icon":"chart-line","href":"/user-guides/workspace/usage"},{"title":"Workspace settings: members, plan, billing, and API keys","sidebarTitle":"Workspace settings","icon":"sliders","href":"/user-guides/workspace/settings"}]},{"group":"Security \u0026 Compliance","pages":[{"title":"Set up two-factor authentication (2FA) in Chatbase","sidebarTitle":"Two-factor authentication (2FA)","icon":"shield","href":"/user-guides/workspace/two-factor-auth"},{"title":"HIPAA compliance for AI agents on Chatbase","sidebarTitle":"HIPAA compliance","icon":"shield-check","href":"/user-guides/workspace/hipaa-compliance"}]},{"group":"Integrations","pages":[{"title":"Chatbase integrations: connect your AI agent to your tools","sidebarTitle":"Overview","icon":"puzzle-piece","href":"/user-guides/integrations/integrations-overview"},{"group":"Website Platforms","pages":[{"title":"Add an AI agent to your Webflow site","sidebarTitle":"Webflow","icon":"webflow","href":"/user-guides/integrations/webflow"},{"title":"Add an AI agent to your WordPress site","sidebarTitle":"WordPress","icon":"wordpress","href":"/user-guides/integrations/wordpress"},{"title":"Add an AI agent to your Wix site","sidebarTitle":"Wix","icon":"wix","href":"/user-guides/integrations/wix"},{"title":"Add an AI agent to your Weebly site","sidebarTitle":"Weebly","icon":"weebly","href":"/user-guides/integrations/weebly"},{"title":"Add an AI agent to your Framer site","sidebarTitle":"Framer","icon":"code","href":"/user-guides/integrations/framer"},{"title":"Add an AI agent to your Bubble app","sidebarTitle":"Bubble","icon":"code","href":"/user-guides/integrations/bubble"},{"title":"Install Chatbase on Vercel from the Vercel Marketplace","sidebarTitle":"Vercel","icon":"cloud-arrow-up","href":"/user-guides/integrations/vercel"}]},{"group":"Messaging Platforms","pages":[{"group":"WhatsApp","pages":[{"title":"Add an AI agent to WhatsApp","sidebarTitle":"WhatsApp","icon":"whatsapp","href":"/user-guides/integrations/whatsapp"},{"title":"Share your WhatsApp Business app number with your AI agent","sidebarTitle":"Business App Coexistence","icon":"mobile-screen","href":"/user-guides/integrations/whatsapp-coexistence"},{"title":"Create and send WhatsApp message templates","sidebarTitle":"WhatsApp Templates","icon":"whatsapp","description":"Create approved WhatsApp message templates in WhatsApp Manager and send them from the Chatbase Helpdesk","href":"/user-guides/integrations/whatsapp-templates"}]},{"title":"Add an AI agent to Facebook Messenger","sidebarTitle":"Messenger","icon":"facebook-messenger","href":"/user-guides/integrations/messenger"},{"title":"Add an AI agent to Instagram direct messages","sidebarTitle":"Instagram","icon":"instagram","description":"Connect your Instagram business account so your AI agent can handle direct messages, with human takeover","href":"/user-guides/integrations/instagram"},{"title":"Answer phone calls with your AI agent using Twilio","sidebarTitle":"Twilio (Phone)","icon":"phone","href":"/user-guides/integrations/twilio"},{"title":"Answer phone calls with your AI agent using a SIP trunk","sidebarTitle":"SIP Trunk (Phone)","icon":"phone-volume","href":"/user-guides/integrations/sip-trunk"},{"title":"Add your AI agent to Slack","sidebarTitle":"Slack","icon":"slack","href":"/user-guides/integrations/slack"}]},{"group":"Business Tools","pages":[{"title":"Add an AI agent to your Shopify store","sidebarTitle":"Shopify","icon":"shopify","href":"/user-guides/integrations/shopify"},{"title":"Connect Stripe to your AI agent","sidebarTitle":"Stripe","icon":"stripe","href":"/user-guides/integrations/stripe"},{"group":"Zendesk","icon":"ticket","pages":[{"title":"Connect your AI agent to Zendesk tickets","sidebarTitle":"Zendesk Ticketing","icon":"ticket","href":"/user-guides/integrations/zendesk"},{"title":"Use your AI agent in Zendesk Messaging","sidebarTitle":"Zendesk Messaging","icon":"comments","href":"/user-guides/integrations/zendesk-messaging"},{"title":"Hand off to live Zendesk agents with Sunshine Conversations","sidebarTitle":"Sunshine","icon":"headset","href":"/user-guides/integrations/sunshine"}]},{"title":"Escalate AI agent conversations to Freshdesk","sidebarTitle":"Freshdesk","icon":"ticket","href":"/user-guides/integrations/freshdesk"},{"title":"Hand off AI agent conversations to Freshchat","sidebarTitle":"Freshchat","icon":"headset","href":"/user-guides/integrations/freshchat"},{"title":"Escalate AI agent conversations to Gorgias","sidebarTitle":"Gorgias","icon":"ticket","href":"/user-guides/integrations/gorgias"},{"title":"Escalate AI agent conversations to Zoho Desk","sidebarTitle":"Zoho Desk","icon":"ticket","href":"/user-guides/integrations/zohodesk"},{"title":"Escalate AI agent conversations to Intercom","sidebarTitle":"Intercom","icon":"ticket","href":"/user-guides/integrations/intercom"},{"title":"Escalate AI agent conversations to HubSpot","sidebarTitle":"HubSpot","icon":"hubspot","href":"/user-guides/integrations/hubspot"},{"title":"Connect your AI agent to Salesforce cases","sidebarTitle":"Salesforce","icon":"salesforce","href":"/user-guides/integrations/salesforce"},{"title":"Escalate AI agent conversations to Help Scout","sidebarTitle":"Help Scout","icon":"ticket","href":"/user-guides/integrations/helpscout"},{"title":"Escalate AI agent conversations to Odoo Helpdesk","sidebarTitle":"Odoo","icon":"ticket","href":"/user-guides/integrations/odoo"},{"title":"Answer customer emails with your AI agent","sidebarTitle":"Email","icon":"envelope","href":"/user-guides/integrations/email"},{"title":"Connect your AI agent to Zapier","sidebarTitle":"Zapier","icon":"bolt","href":"/user-guides/integrations/zapier"},{"title":"Connect your AI agent to viaSocket","sidebarTitle":"viaSocket","icon":"bolt","href":"/user-guides/integrations/viasocket"}]}]},{"group":"AI Performance \u0026 Quality","pages":[{"title":"Test your AI agent with simulated customers","sidebarTitle":"Tests","icon":"flask","href":"/user-guides/chatbot/tests"},{"title":"Which AI model should your agent use? Models and credits compared","sidebarTitle":"Models Comparison","icon":"scale-balanced","href":"/user-guides/chatbot/models-comparison"}]},{"group":"Helpdesk","pages":[{"title":"Chatbase Helpdesk: AI-powered ticketing and live chat","sidebarTitle":"Helpdesk Overview","icon":"headset","href":"/user-guides/chatbot/help-desk/help-desk-overview"},{"title":"How a Helpdesk ticket moves from start to finish","sidebarTitle":"Ticket lifecycle","icon":"arrows-spin","href":"/user-guides/chatbot/help-desk/ticket-lifecycle"},{"title":"Ticket statuses in the Helpdesk","sidebarTitle":"Ticket statuses","icon":"list-check","href":"/user-guides/chatbot/help-desk/ticket-statuses"},{"title":"Filter tickets in the Helpdesk inbox","sidebarTitle":"Filters","icon":"filter","href":"/user-guides/chatbot/help-desk/filters"},{"title":"Save custom inbox views in the Helpdesk","sidebarTitle":"Saved Views","icon":"bookmark","href":"/user-guides/chatbot/help-desk/saved-views"},{"title":"Export Helpdesk tickets to CSV","sidebarTitle":"Exporting tickets","icon":"file-export","href":"/user-guides/chatbot/help-desk/exporting-tickets"},{"title":"Set ticket priority in the Helpdesk","sidebarTitle":"Priority","icon":"signal","href":"/user-guides/chatbot/help-desk/priority"},{"title":"Tag tickets in the Helpdesk","sidebarTitle":"Tags","icon":"tag","href":"/user-guides/chatbot/help-desk/tags"},{"title":"Merge duplicate tickets in the Helpdesk","sidebarTitle":"Merging tickets","icon":"code-merge","href":"/user-guides/chatbot/help-desk/merging-tickets"},{"title":"Add follow-ups to a customer's open ticket","sidebarTitle":"Ticket reuse","icon":"rotate","href":"/user-guides/chatbot/help-desk/ticket-reuse"},{"title":"Helpdesk email settings: addresses, signatures, and display names","sidebarTitle":"Email Settings","icon":"envelope","href":"/user-guides/chatbot/help-desk/email-settings"},{"title":"Create support teams in the Helpdesk","sidebarTitle":"Teams","icon":"users-gear","href":"/user-guides/chatbot/help-desk/teams"},{"title":"Assign Helpdesk tickets automatically","sidebarTitle":"Ticket Assignment","icon":"users","href":"/user-guides/chatbot/help-desk/assignment-algorithm"},{"title":"Schedule agent shifts and time off in the Helpdesk","sidebarTitle":"Scheduling","icon":"calendar-clock","href":"/user-guides/chatbot/help-desk/scheduling"},{"title":"Track agent attendance in the Helpdesk","sidebarTitle":"Attendance","icon":"user-clock","href":"/user-guides/chatbot/help-desk/attendance"},{"title":"See each Helpdesk agent's daily activity","sidebarTitle":"Activity","icon":"chart-gantt","href":"/user-guides/chatbot/help-desk/activity"},{"title":"See what each Helpdesk agent is doing right now","sidebarTitle":"Live Status","icon":"signal","href":"/user-guides/chatbot/help-desk/live-status"},{"title":"Automate the Helpdesk with triggers","sidebarTitle":"Triggers","icon":"bolt","href":"/user-guides/chatbot/help-desk/triggers"},{"title":"Automations","icon":"clock","href":"/user-guides/chatbot/help-desk/automations"},{"title":"Reply to Helpdesk tickets from Slack threads","sidebarTitle":"Slack Ticket Threads","icon":"slack","href":"/user-guides/chatbot/help-desk/slack-ticket-threads"},{"title":"Collect custom ticket fields with your AI agent","sidebarTitle":"Custom Fields","icon":"tag","href":"/user-guides/chatbot/help-desk/custom-fields"},{"title":"Translate customer messages automatically in the Helpdesk","sidebarTitle":"Translation","icon":"language","href":"/user-guides/chatbot/help-desk/translation"},{"title":"Draft ticket replies with AI in the Helpdesk","sidebarTitle":"AI Draft Replies","icon":"robot","href":"/user-guides/chatbot/help-desk/ai-draft-replies"},{"title":"Save reply templates (macros) in the Helpdesk","sidebarTitle":"Macros","icon":"bolt","href":"/user-guides/chatbot/help-desk/macros"},{"title":"Helpdesk keyboard shortcuts","sidebarTitle":"Keyboard shortcuts","icon":"keyboard","href":"/user-guides/chatbot/help-desk/keyboard-shortcuts"},{"title":"Send customer satisfaction (CSAT) surveys after tickets close","sidebarTitle":"CSAT surveys","icon":"face-smile","href":"/user-guides/chatbot/help-desk/satisfaction-surveys"},{"title":"Take over AI agent conversations as a human","sidebarTitle":"Takeover","icon":"hand","href":"/user-guides/chatbot/help-desk/takeover"},{"group":"Integrations","icon":"puzzle-piece","pages":[{"title":"See Shopify orders inside Helpdesk tickets","sidebarTitle":"Shopify Orders","icon":"bag-shopping","href":"/user-guides/chatbot/help-desk/integrations/shopify"},{"title":"Create Linear issues from Helpdesk tickets","sidebarTitle":"Linear","icon":"list-check","href":"/user-guides/chatbot/help-desk/integrations/linear"}]}]},{"group":"Chatbase Experts","pages":[{"title":"Chatbase Experts Program for agencies and freelancers","sidebarTitle":"Chatbase Experts Program","href":"/user-guides/chatbase-experts/experts-program"}]}]},{"tab":"Developer Guide","pages":[{"title":"Developer Guide","href":"/developer-guides/overview"}]},{"tab":"API Reference","dropdowns":[{"dropdown":"API v2","icon":"code","groups":[{"group":"Getting Started","pages":[{"title":"API v2 Overview","sidebarTitle":"Overview","href":"/api-reference/v2/overview"},{"title":"Authentication","href":"/api-reference/v2/authentication"},{"title":"Streaming","href":"/api-reference/v2/streaming"},{"title":"Error Handling","href":"/api-reference/v2/error-handling"},{"title":"Pagination","href":"/api-reference/v2/pagination"}]},{"group":"Guides","pages":[{"title":"Agents","href":"/api-reference/v2/agents"},{"title":"User Conversations","href":"/api-reference/v2/user-conversations"},{"title":"Conversation Search","href":"/api-reference/v2/conversation-search"},{"title":"Sources","href":"/api-reference/v2/sources"},{"title":"Helpdesk","href":"/api-reference/v2/helpdesk"},{"title":"WhatsApp","href":"/api-reference/v2/whatsapp"},{"title":"Voice Sessions","href":"/api-reference/v2/voice"},{"title":"Client Actions","href":"/api-reference/v2/client-actions"}]},{"group":"Endpoints","pages":[{"group":"Health","pages":[{"title":"Health check","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /health","href":"/api-reference/v2/health/health-check"}]},{"group":"Agents","pages":[{"title":"List agents","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents","href":"/api-reference/v2/agents/list-agents"},{"title":"Create agent","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json post /agents","href":"/api-reference/v2/agents/create-agent"},{"title":"Get agent","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}","href":"/api-reference/v2/agents/get-agent"},{"title":"Update agent","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json put /agents/{agentId}","href":"/api-reference/v2/agents/update-agent"},{"title":"Delete agent","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json delete /agents/{agentId}","href":"/api-reference/v2/agents/delete-agent"},{"title":"Update agent styles","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json put /agents/{agentId}/styles","href":"/api-reference/v2/agents/update-agent-styles"},{"title":"Toggle auto-retrain","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json put /agents/{agentId}/auto-retrain","href":"/api-reference/v2/agents/toggle-auto-retrain"},{"title":"Clone agent","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json post /agents/{agentId}/clone","href":"/api-reference/v2/agents/clone-agent"},{"title":"Train agent (deprecated)","deprecated":true,"version":null,"openapi":"/api-v2-openapi.json post /agents/{agentId}/train","href":"/api-reference/v2/agents/train-agent-deprecated"},{"title":"Get agent analytics","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/analytics","href":"/api-reference/v2/agents/get-agent-analytics"},{"title":"Chat with an agent","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json post /agents/{agentId}/chat","href":"/api-reference/v2/agents/chat-with-an-agent"},{"title":"Retry a message","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json post /agents/{agentId}/conversations/{conversationId}/retry","href":"/api-reference/v2/agents/retry-a-message"},{"title":"Start a voice session","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json post /agents/{agentId}/voice/sessions","href":"/api-reference/v2/agents/start-a-voice-session"},{"title":"Submit a tool result","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json post /agents/{agentId}/conversations/{conversationId}/tool-result","href":"/api-reference/v2/agents/submit-a-tool-result"}]},{"group":"Conversations","pages":[{"title":"List conversations","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/conversations","href":"/api-reference/v2/conversations/list-conversations"},{"title":"Export conversations","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/conversations/export","href":"/api-reference/v2/conversations/export-conversations"},{"title":"Search conversations","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/conversations/search","href":"/api-reference/v2/conversations/search-conversations"},{"title":"Get a conversation","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/conversations/{conversationId}","href":"/api-reference/v2/conversations/get-a-conversation"},{"title":"Delete conversation","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json delete /agents/{agentId}/conversations/{conversationId}","href":"/api-reference/v2/conversations/delete-conversation"},{"title":"Update conversation status","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json patch /agents/{agentId}/conversations/{conversationId}","href":"/api-reference/v2/conversations/update-conversation-status"},{"title":"List conversation messages","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/conversations/{conversationId}/messages","href":"/api-reference/v2/conversations/list-conversation-messages"},{"title":"List conversations for a user","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/users/{userId}/conversations","href":"/api-reference/v2/conversations/list-conversations-for-a-user"},{"title":"Delete all conversations for a user","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json delete /agents/{agentId}/users/{userId}/conversations","href":"/api-reference/v2/conversations/delete-all-conversations-for-a-user"},{"title":"Update message feedback","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json patch /agents/{agentId}/conversations/{conversationId}/messages/{messageId}/feedback","href":"/api-reference/v2/conversations/update-message-feedback"}]},{"group":"Collected Data","pages":[{"title":"List collected data","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/collected-data","href":"/api-reference/v2/collected-data/list-collected-data"}]},{"group":"Sources","pages":[{"title":"Get sources summary","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/sources/summary","href":"/api-reference/v2/sources/get-sources-summary"},{"title":"List sources","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/sources","href":"/api-reference/v2/sources/list-sources"},{"title":"Create source","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json post /agents/{agentId}/sources","href":"/api-reference/v2/sources/create-source"},{"title":"Get source","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/sources/{sourceId}","href":"/api-reference/v2/sources/get-source"},{"title":"Update source","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json put /agents/{agentId}/sources/{sourceId}","href":"/api-reference/v2/sources/update-source"},{"title":"Delete source","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json delete /agents/{agentId}/sources/{sourceId}","href":"/api-reference/v2/sources/delete-source"},{"title":"Restore source (deprecated)","deprecated":true,"version":null,"openapi":"/api-v2-openapi.json post /agents/{agentId}/sources/{sourceId}/restore","href":"/api-reference/v2/sources/restore-source-deprecated"},{"title":"Create file source","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json post /api/v2/agents/{agentId}/sources","href":"/api-reference/v2/sources/create-file-source"},{"title":"Update file source","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json put /api/v2/agents/{agentId}/sources/{sourceId}","href":"/api-reference/v2/sources/update-file-source"}]},{"group":"Actions","pages":[{"title":"List actions","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/actions","href":"/api-reference/v2/actions/list-actions"},{"title":"Get an action","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/actions/{actionId}","href":"/api-reference/v2/actions/get-an-action"},{"title":"Delete an action","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json delete /agents/{agentId}/actions/{actionId}","href":"/api-reference/v2/actions/delete-an-action"},{"title":"Update an action","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json patch /agents/{agentId}/actions/{actionId}","href":"/api-reference/v2/actions/update-an-action"}]},{"group":"Procedures","pages":[{"title":"List procedures","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/procedures","href":"/api-reference/v2/procedures/list-procedures"},{"title":"Create a procedure","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json post /agents/{agentId}/procedures","href":"/api-reference/v2/procedures/create-a-procedure"},{"title":"Get a procedure","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/procedures/{procedureId}","href":"/api-reference/v2/procedures/get-a-procedure"},{"title":"Delete a procedure","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json delete /agents/{agentId}/procedures/{procedureId}","href":"/api-reference/v2/procedures/delete-a-procedure"},{"title":"Update a procedure","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json patch /agents/{agentId}/procedures/{procedureId}","href":"/api-reference/v2/procedures/update-a-procedure"}]},{"group":"WhatsApp","pages":[{"title":"List WhatsApp templates","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/whatsapp/templates","href":"/api-reference/v2/whatsapp/list-whatsapp-templates"},{"title":"Send a WhatsApp template message","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json post /agents/{agentId}/whatsapp/messages/template","href":"/api-reference/v2/whatsapp/send-a-whatsapp-template-message"}]},{"group":"Events","pages":[{"title":"Send an event","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json post /agents/{agentId}/missions/events","href":"/api-reference/v2/events/send-an-event"}]},{"group":"Helpdesk","pages":[{"title":"List ticket statuses","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/helpdesk/ticket-statuses","href":"/api-reference/v2/helpdesk/list-ticket-statuses"},{"title":"List teams","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/helpdesk/teams","href":"/api-reference/v2/helpdesk/list-teams"},{"title":"List attendance rows","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/helpdesk/attendance","href":"/api-reference/v2/helpdesk/list-attendance-rows"},{"title":"List activity segments","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/helpdesk/activity","href":"/api-reference/v2/helpdesk/list-activity-segments"},{"title":"List tickets","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/helpdesk/tickets","href":"/api-reference/v2/helpdesk/list-tickets"},{"title":"Create a ticket","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json post /agents/{agentId}/helpdesk/tickets","href":"/api-reference/v2/helpdesk/create-a-ticket"},{"title":"Search tickets","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json post /agents/{agentId}/helpdesk/tickets/search","href":"/api-reference/v2/helpdesk/search-tickets"},{"title":"Get a ticket","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/helpdesk/tickets/{ticketNumber}","href":"/api-reference/v2/helpdesk/get-a-ticket"},{"title":"Update a ticket","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json patch /agents/{agentId}/helpdesk/tickets/{ticketNumber}","href":"/api-reference/v2/helpdesk/update-a-ticket"},{"title":"List ticket messages","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/helpdesk/tickets/{ticketNumber}/messages","href":"/api-reference/v2/helpdesk/list-ticket-messages"},{"title":"Add a message to a ticket","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json post /agents/{agentId}/helpdesk/tickets/{ticketNumber}/messages","href":"/api-reference/v2/helpdesk/add-a-message-to-a-ticket"}]}]}]},{"dropdown":"API v1","icon":"box-archive","groups":[{"group":"Getting Started","pages":[{"title":"API v1 Overview","sidebarTitle":"Overview","href":"/api-reference/v1/overview"}]},{"group":"Endpoints","pages":[{"group":"Chat","pages":[{"title":"Chat with a chatbot","deprecated":null,"version":null,"openapi":"/openapi.yaml post /chat","href":"/api-reference/v1/chat/chat-with-a-chatbot"}]},{"group":"Chatbots","pages":[{"title":"Create a new chatbot","deprecated":null,"version":null,"openapi":"/openapi.yaml post /create-chatbot","href":"/api-reference/v1/chatbots/create-a-new-chatbot"},{"title":"Get all chatbots","deprecated":null,"version":null,"openapi":"/openapi.yaml get /get-chatbots","href":"/api-reference/v1/chatbots/get-all-chatbots"},{"title":"Delete a chatbot","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /delete-chatbot","href":"/api-reference/v1/chatbots/delete-a-chatbot"},{"title":"Update a chatbot","deprecated":null,"version":null,"openapi":"/openapi.yaml post /update-chatbot-data","href":"/api-reference/v1/chatbots/update-a-chatbot"},{"title":"Update chatbot settings","deprecated":null,"version":null,"openapi":"/openapi.yaml post /update-chatbot-settings","href":"/api-reference/v1/chatbots/update-chatbot-settings"}]},{"group":"Conversations","pages":[{"title":"Get conversations for a chatbot","deprecated":null,"version":null,"openapi":"/openapi.yaml get /get-conversations","href":"/api-reference/v1/conversations/get-conversations-for-a-chatbot"}]},{"group":"Leads","pages":[{"title":"Get leads for a chatbot","deprecated":null,"version":null,"openapi":"/openapi.yaml get /get-leads","href":"/api-reference/v1/leads/get-leads-for-a-chatbot"}]},{"group":"Assets","pages":[{"title":"Upload chatbot icon","deprecated":null,"version":null,"openapi":"/openapi.yaml post /upload-chatbot-icon","href":"/api-reference/v1/assets/upload-chatbot-icon"},{"title":"Upload chatbot profile picture","deprecated":null,"version":null,"openapi":"/openapi.yaml post /upload-chatbot-profile-picture","href":"/api-reference/v1/assets/upload-chatbot-profile-picture"},{"title":"Delete chatbot icon","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /delete-chatbot-icon","href":"/api-reference/v1/assets/delete-chatbot-icon"},{"title":"Delete chatbot profile picture","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /delete-chatbot-profile-picture","href":"/api-reference/v1/assets/delete-chatbot-profile-picture"}]},{"group":"Contacts","pages":[{"title":"Get contacts for a chatbot","deprecated":null,"version":null,"openapi":"/openapi.yaml get /chatbots/{chatbotId}/contacts","href":"/api-reference/v1/contacts/get-contacts-for-a-chatbot"},{"title":"Create contacts for a chatbot","deprecated":null,"version":null,"openapi":"/openapi.yaml post /chatbots/{chatbotId}/contacts","href":"/api-reference/v1/contacts/create-contacts-for-a-chatbot"},{"title":"Get a specific contact","deprecated":null,"version":null,"openapi":"/openapi.yaml get /chatbots/{chatbotId}/contacts/{contactId}","href":"/api-reference/v1/contacts/get-a-specific-contact"},{"title":"Delete a contact","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /chatbots/{chatbotId}/contacts/{contactId}","href":"/api-reference/v1/contacts/delete-a-contact"},{"title":"Update a contact","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /chatbots/{chatbotId}/contacts/{contactId}","href":"/api-reference/v1/contacts/update-a-contact"},{"title":"Get custom attributes schema","deprecated":null,"version":null,"openapi":"/openapi.yaml get /chatbots/{chatbotId}/custom-attributes","href":"/api-reference/v1/contacts/get-custom-attributes-schema"},{"title":"Create custom attribute","deprecated":null,"version":null,"openapi":"/openapi.yaml post /chatbots/{chatbotId}/custom-attributes","href":"/api-reference/v1/contacts/create-custom-attribute"},{"title":"Update custom attribute","deprecated":null,"version":null,"openapi":"/openapi.yaml put /chatbots/{chatbotId}/custom-attributes/{name}","href":"/api-reference/v1/contacts/update-custom-attribute"}]}]}]}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli/overview"}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks/overview"}]},{"tab":"Help \u0026 Support","pages":[{"title":"Help \u0026 Support","href":"/faq/faq"}]}]},"basePath":"","title":"Add an AI agent to Facebook Messenger - Chatbase","buildId":"dpl_D8DZMbLzBJDPJxA2oBvSn4nDSCwT","deploymentId":"dpl_D8DZMbLzBJDPJxA2oBvSn4nDSCwT","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-CkFelEEw.js","DynamicMarkdown-D3jXSqrh.js","zoom-image-lightbox-HfAMkbr-.js","lightbox-handle-r17bVUz3.js"]}