Connect your Instagram business account so your AI agent can handle direct messages, with human takeover
The Chatbase Instagram integration connects your AI agent to an Instagram business account, so it answers the direct messages (DMs) customers send that account. It’s for businesses that support and sell to customers on Instagram, such as brands whose shoppers DM them about products seen in posts. You can also take over any conversation yourself, so routine inquiries are automated but you keep the freedom to step in whenever you want.
What you can do:
Answer Instagram DMs 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 Instagram page: select multiple pages during setup, or add more later from the Manage page.
Use cases
DM support. Your AI agent answers from its Data Sources and can read the photos and documents customers send in DMs. 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 the DM, and closing the ticket hands the conversation back. See Handover with Chatbase Helpdesk.DM sales. With Shopify connected, these Shopify Actions work on Instagram: Retrieve and display products, Update cart, Get cart, Create order, Create exchange (new order), and Retrieve and display orders. For example, a shopper sends a screenshot of a jacket from one of your posts. With search by image, the AI agent finds the matching product in your catalog, adds it to the cart, and places the order when the shopper is ready to check out.Comment replies.Comment monitoring turns comments on your Instagram posts into Helpdesk tickets. Your team replies from the ticket, and the reply is posted under the original comment.
Before you start
An Instagram business account (a professional account set to Business). Creator accounts can’t be connected.
A Facebook Page connected to that account
A Chatbase account with an AI agent
How to connect Instagram
1
Allow access to messages in Instagram
In your Instagram settings for your business account, under How others can interact with you, click Messages and story replies > Message controls > Allow Access to Messages.
2
Open the Instagram channel
Navigate to your dashboard, pick an AI agent, and go to Channels. Click Connect, then I understand.
Click Continue.
3
Log in to Instagram
Click Get Started to log in to Instagram. This also converts your account to a professional account if it isn’t one already. Make sure it’s set to Business: Creator accounts can’t be connected.
4
Choose your businesses and pages
Choose the businesses affiliated with your Instagram page. If you have none, select Opt in all current future businesses.
Choose the Facebook Page or Pages linked to your Instagram.
Select the Instagram page or pages you want to integrate.
5
Save and confirm
Click Save.
Your page should be integrated successfully. Click Manage to see the integrated page.
You can add more pages or delete existing ones from the Manage page.
Send a direct message to your connected Instagram account and confirm your AI agent replies.
Human takeover
The human takeover feature lets you take over a conversation whenever you want so you can respond to customers directly. It works at the conversation level, so you can pick a specific conversation from the dashboard and stop the AI agent answering.
Enable human takeover for a conversation
Navigate to Activity > Conversations.
In the Conversations section, filter to show only Instagram chats.
Click the human takeover icon.
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 Instagram integration. You keep access to the conversations in your chat logs, but not the takeover feature. The same applies if you delete a page and add it back.
Response delay
Customers on Instagram 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 Instagram 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 → Instagram → Manage → Delay.
For each Instagram 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 Instagram 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 Instagram accounts.
1
Open your channel settings
Go to Channels and select your connected Instagram channel.
2
Open Comments
Select the Comments tab.
3
Enable comment monitoring
Turn on Enable comment monitoring and select the connected accounts you want to monitor.
4
Receive comments as tickets
When someone comments on a monitored Instagram 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 Instagram comment.
Connecting different AI agents to different pages
You can connect different AI agents to different Instagram pages, so each page gets specialized interactions.
After connecting your first pages, you have access to the manage Instagram pages integrations page. Navigate to the AI agent you want to connect, then Channels > Manage.
Click Manage to open the dashboard. To connect another AI agent to an already-connected page, click the page and delete it.
Navigate to the AI agent you want to integrate with the deleted page, then run through the integration steps again.
If you deleted a page, it will be preselected in the integration steps. Don’t deselect any page you want to stay connected to the Instagram or Facebook integrations on Chatbase, because deselecting disables that page for Chatbase.
Troubleshooting
Off-Meta activities tracking is disabled
If your Facebook account has Off-Meta activities set to “Don’t track”, this can block the Instagram authentication. Go to your Facebook account settings, look under privacy settings for Off-Meta activities tracking, and enable it temporarily during the connection process.
Network redirect blocking authentication
Some networks redirect Facebook from facebook.com to web.facebook.com during login, which can block the authentication flow. When this happens, the Instagram login popup completes successfully and closes, but the first Meta window doesn’t move to the next step. Try switching to a different network, such as mobile data or a different WiFi connection, and attempt the connection again.
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 Instagram integration is enabled.
You can enable or disable the Instagram 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 your Chatbase dashboard chat logs.
Limitations
A business account and a linked Facebook Page are required. Personal and Creator accounts can’t be connected.
Deleting a page removes takeover for its conversations. The chat logs remain, but the takeover icon disappears.
Best practices
Sync your products for image search
Shoppers can send a screenshot instead of a product name. Sync your Shopify products in the Retrieve and display products Action so the AI agent can match photos to your catalog.
Turn on the commerce Actions together
Enable Update cart, Get cart, and Create order along with Retrieve and display products on the Instagram channel, so shoppers can go from a question to an order in one DM thread.
Route comments to the Helpdesk
Turn on comment monitoring so questions under your posts become tickets your team can answer.
Don't delete pages you still use
Deleting a page removes takeover for its conversations, and adding it back doesn’t restore it. When you reconnect, keep every page you want connected selected.
Changes you save to instructions, Actions, and channel settings go into a draft. Instagram customers keep talking to the live AI agent until you click Publish. See Drafts and versions.
Frequently asked questions
Which Instagram accounts can I connect?
Only an Instagram business account with a connected Facebook Page. Personal and Creator accounts can’t be connected. If your account is a Creator account, switch it to Business in Instagram’s settings first.
Can I connect more than one Instagram page?
Yes. Select several pages during setup, or add more later from the Manage page.
Can different Instagram pages use different AI agents?
Yes. To move an already-connected page to another AI agent, delete it from the Manage page, then run the integration steps again from the AI agent you want to use. See Connecting different AI agents to different pages.
Does the AI agent answer replies to my stories?
Yes. When someone replies to one of your stories, the AI agent gets the story as context. For an image story, it reads what the image shows. For a video story, it only knows the customer is replying to a video, so it may ask what they mean.
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 Instagram comment. See Comment monitoring.
Why does the connection get stuck during login?
This can happen when Off-Meta activities is set to “Don’t track” on your Facebook account, or when your network redirects facebook.com to web.facebook.com. See Troubleshooting.
How many message credits does Instagram use?
Each reply uses message credits based on your AI agent’s model (Auto by default). A reply that triggers an Action costs twice that, and attachments add credits per image or PDF page.
Next steps
Messenger
Connect the Facebook pages linked to your Instagram accounts 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":"6af62c14e2831ad30e644b36","clientVersion":"0.0.4128","searchFilterCounts":[{"language":"default","tag":"User Guide","count":109},{"language":"default","tag":"API Reference","count":91},{"language":"default","tag":"Endpoints","count":77},{"language":"default","tag":"API v2","count":70},{"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/instagram","slug":"/user-guides/integrations/instagram","pageMetadata":{"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"},"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 Instagram business account so your AI agent can handle direct messages, 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`,code:`code`,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 Instagram integration connects your AI agent to an Instagram business account, so it answers the direct messages (DMs) customers send that account. It’s for businesses that support and sell to customers on Instagram, such as brands whose shoppers DM them about products seen in posts. You can also take over any conversation yourself, 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 Instagram DMs 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 Instagram page: select multiple pages during setup, or add more later from the `,_jsx(_components.strong,{children:`Manage`}),` page.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`use-cases`,children:`Use cases`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`DM 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 in DMs. 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 the DM, 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:`DM sales.`}),` 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 Instagram: `,_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`}),`. For example, a shopper sends a screenshot of a jacket from one of your posts. With `,_jsx(_components.a,{href:`/user-guides/chatbot/actions/shopify-actions#search-by-image`,children:`search by image`}),`, the AI agent finds the matching product in your catalog, adds it to the cart, and places the order when the shopper is ready to check out.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Comment replies.`}),` `,_jsx(_components.a,{href:`#comment-monitoring`,children:`Comment monitoring`}),` turns comments on your Instagram posts into Helpdesk tickets. Your team replies from the ticket, and the reply is posted under the original comment.`]}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-start`,children:`Before you start`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`An Instagram business account (a `,_jsx(_components.a,{href:`https://www.facebook.com/help/instagram/138925576505882`,children:`professional account`}),` set to Business). Creator accounts can’t be connected.`]}),`\n`,_jsx(_components.li,{children:`A Facebook Page connected to that account`}),`\n`,_jsx(_components.li,{children:`A Chatbase account with an AI agent`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`how-to-connect-instagram`,children:`How to connect Instagram`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Allow access to messages in Instagram`,children:_jsxs(_components.p,{children:[`In your Instagram settings for your business account, under `,_jsx(_components.strong,{children:`How others can interact with you`}),`, click `,_jsx(_components.strong,{children:`Messages and story replies > Message controls > Allow Access to Messages`}),`.`]})}),_jsxs(Step,{title:`Open the Instagram 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:`Connect`}),`, then `,_jsx(_components.strong,{children:`I understand`}),`.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-3.png?fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=9c78dce53951846421a3741576819381`,alt:`Starting the Instagram connection from the Channels tab`,\"data-og-width\":`1000`,width:`1000`,\"data-og-height\":`724`,height:`724`,\"data-path\":`user-guides/integrations/images/instagram/instagram-3.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-3.png?w=280\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=e6bee6a1272efbb8033d14272f270158 280w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-3.png?w=560\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=2880f76c21625806e073b2a4bd47418e 560w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-3.png?w=840\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=dbb44091c517611c22acdd105418c006 840w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-3.png?w=1100\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=0cc4ca21f8490b2346e651c9b9bbba48 1100w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-3.png?w=1650\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=262fc4e0d0538dec8e5b580021707862 1650w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-3.png?w=2500\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=3c1ef04c15a4a4050ab916c86620ac11 2500w`})}),_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Continue`}),`.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-4.png?fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=c0b264c52c1efbe06c4a02f4b61083d1`,alt:`Continuing the Instagram connection flow`,\"data-og-width\":`888`,width:`888`,\"data-og-height\":`763`,height:`763`,\"data-path\":`user-guides/integrations/images/instagram/instagram-4.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-4.png?w=280\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=4f431a0444dd6b5b93f1f673c8a91630 280w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-4.png?w=560\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=4561b42ce85841b9e82f7c29e24fe4e0 560w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-4.png?w=840\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=f962e4bedbfc781fcde87a4f4da1c5c5 840w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-4.png?w=1100\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=e9bf06c48eb4318990c03c435d5aa6ab 1100w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-4.png?w=1650\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=8a5be5d4d6c19c0dfd40718841d96e9b 1650w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-4.png?w=2500\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=5ebd239200e7e348cb6006b5ff9c5122 2500w`})})]}),_jsxs(Step,{title:`Log in to Instagram`,children:[_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Get Started`}),` to log in to Instagram. This also converts your account to a professional account if it isn’t one already. Make sure it’s set to Business: Creator accounts can’t be connected.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-5.png?fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=6214019546f762dabc638531374b659c`,alt:`The Get Started screen for Instagram login`,\"data-og-width\":`1124`,width:`1124`,\"data-og-height\":`1306`,height:`1306`,\"data-path\":`user-guides/integrations/images/instagram/instagram-5.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-5.png?w=280\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=26a6552dca4d2a1f61dcf1e2eceabe67 280w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-5.png?w=560\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=02b783533371076fc92c757efb8db50d 560w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-5.png?w=840\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=415ec3801318a756a33fa865c8759f33 840w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-5.png?w=1100\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=ce2cd8eb6cdc8878ebae862f202eb8d8 1100w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-5.png?w=1650\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=2dd2aad8afa7e9da904d339700bb2314 1650w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-5.png?w=2500\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=8c4b4dd5d5ac86e90a0608a7e0c0a0d8 2500w`})}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-6.png?fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=baeac2262e002ef52a4017b1d4d65e40`,alt:`Logging in to Instagram`,\"data-og-width\":`682`,width:`682`,\"data-og-height\":`633`,height:`633`,\"data-path\":`user-guides/integrations/images/instagram/instagram-6.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-6.png?w=280\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=80c7cea32fb60df276323793fa464da1 280w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-6.png?w=560\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=8a3bb57ca9f85a40d4cb99120dbcc817 560w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-6.png?w=840\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=15fd74c0e9e0e5de58145f9334ed4eed 840w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-6.png?w=1100\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=5a370e8bde788e067696640e7ee3e656 1100w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-6.png?w=1650\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=76c742d69e95c51f16275252115b7aef 1650w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-6.png?w=2500\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=1ff4cffef05b2238d00e85ee9bc96d3f 2500w`})})]}),_jsxs(Step,{title:`Choose your businesses and pages`,children:[_jsxs(_components.p,{children:[`Choose the businesses affiliated with your Instagram page. If you have none, select `,_jsx(_components.strong,{children:`Opt in all current future businesses`}),`.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-7.png?fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=2b691f036247003ce6a26cb89c9bfc33`,alt:`Choosing affiliated businesses`,\"data-og-width\":`889`,width:`889`,\"data-og-height\":`961`,height:`961`,\"data-path\":`user-guides/integrations/images/instagram/instagram-7.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-7.png?w=280\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=d66f6744917b5b6031551193b63deca8 280w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-7.png?w=560\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=39209d270815df640e758b2b45a98e63 560w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-7.png?w=840\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=7b78f3d9ddff3821a128b3e45d5e6f89 840w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-7.png?w=1100\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=f699a66f1449299fd14efca6a70835ec 1100w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-7.png?w=1650\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=cb00fed99e85127ae35307d389c91c81 1650w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-7.png?w=2500\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=404b87a6abd6daf891f54682641ecdbc 2500w`})}),_jsx(_components.p,{children:`Choose the Facebook Page or Pages linked to your Instagram.`}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-8.png?fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=14af52e349d5373071f5d34831ccff85`,alt:`Choosing the linked Facebook Pages`,\"data-og-width\":`891`,width:`891`,\"data-og-height\":`885`,height:`885`,\"data-path\":`user-guides/integrations/images/instagram/instagram-8.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-8.png?w=280\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=cfeb53a341ae9839a8037d19b36bea3a 280w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-8.png?w=560\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=62bb065a99c7f8a89ebe79a06fcee446 560w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-8.png?w=840\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=eac9f655b5408f79e76ac36375290241 840w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-8.png?w=1100\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=e46dc11f2bfba0fbe4b2c814c69f59f9 1100w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-8.png?w=1650\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=4d254a9a7248d4df68a434b7ce26d9e8 1650w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-8.png?w=2500\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=3ec577fa0df3c70f6ce9dbfdab497028 2500w`})}),_jsx(_components.p,{children:`Select the Instagram page or pages you want to integrate.`}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-9.png?fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=5bb68a8c285c91faa4c55d013a3c7d09`,alt:`Selecting Instagram pages to integrate`,\"data-og-width\":`889`,width:`889`,\"data-og-height\":`925`,height:`925`,\"data-path\":`user-guides/integrations/images/instagram/instagram-9.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-9.png?w=280\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=2847a0d43c9724d0d796094cc92235ea 280w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-9.png?w=560\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=b1600fda8944c8e123398db6ab8f65f3 560w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-9.png?w=840\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=338bf2687f30326a79e4da2b106a3a98 840w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-9.png?w=1100\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=1b3f5dec5931f38d8dc09e00935b7601 1100w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-9.png?w=1650\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=0e93230673aa3d53126657bee7eb74e4 1650w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-9.png?w=2500\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=cc8c55eeb5a049d3d9bb1aa467174003 2500w`})})]}),_jsxs(Step,{title:`Save and confirm`,children:[_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/instagram/instagram-10.png?fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=b24a1cce742591e6a3ec004378f46f27`,alt:`Saving the Instagram page selection`,\"data-og-width\":`891`,width:`891`,\"data-og-height\":`1188`,height:`1188`,\"data-path\":`user-guides/integrations/images/instagram/instagram-10.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-10.png?w=280\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=b5963c1a91570b054a25f478da5c1e53 280w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-10.png?w=560\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=2f3b8dc0eac19194d88f92c974bf4b9a 560w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-10.png?w=840\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=c690ea7e05f555efc9cc6c722163f44d 840w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-10.png?w=1100\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=025fa5dee8a600ce8bbed2256736e312 1100w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-10.png?w=1650\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=107005f36c2ed1ba44a68b65214cbde4 1650w, https://mintcdn.com/chatbase/yfTgmAASFJyGs3D_/user-guides/integrations/images/instagram/instagram-10.png?w=2500\u0026fit=max\u0026auto=format\u0026n=yfTgmAASFJyGs3D_\u0026q=85\u0026s=a8c7ae69801c7bfefa7e3ed7b77e5e57 2500w`})}),_jsxs(_components.p,{children:[`Your page should be integrated successfully. Click `,_jsx(_components.strong,{children:`Manage`}),` to see the integrated page.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/instagram/instagram-11.png?fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=73d9a6fbb8d60aa8f6eb0319c3fb2e06`,alt:`The Manage button for the Instagram integration`,\"data-og-width\":`792`,width:`792`,\"data-og-height\":`384`,height:`384`,\"data-path\":`user-guides/integrations/images/instagram/instagram-11.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/instagram/instagram-11.png?w=280\u0026fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=75fe875edce2710a26de66d924ef605e 280w, https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/instagram/instagram-11.png?w=560\u0026fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=90a89d132d918ba4c9507f4e5a064e73 560w, https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/instagram/instagram-11.png?w=840\u0026fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=c710ed0f5f153c0ee9c693456ebc4309 840w, https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/instagram/instagram-11.png?w=1100\u0026fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=9dddcfe9934649282bc92faaa5da50ea 1100w, https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/instagram/instagram-11.png?w=1650\u0026fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=7d961fb3c1b1cf9ed7f4b822cdb6681a 1650w, https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/instagram/instagram-11.png?w=2500\u0026fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=b6f482b79976917e01511e6f3d395f24 2500w`})}),_jsx(_components.p,{children:`You can add more pages or delete existing ones from the Manage page.`}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/instagram/instagram-12.png?fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=e33d5f67f400f060925af9108cb67ccc`,alt:`Managing connected Instagram pages`,\"data-og-width\":`1028`,width:`1028`,\"data-og-height\":`812`,height:`812`,\"data-path\":`user-guides/integrations/images/instagram/instagram-12.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/instagram/instagram-12.png?w=280\u0026fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=a9a935494684a990bbf4204afdf10a48 280w, https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/instagram/instagram-12.png?w=560\u0026fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=b49b50c15c9af8f1fc033c06ee6c88c7 560w, https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/instagram/instagram-12.png?w=840\u0026fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=76d0ad11f7a1d108bb1150e640f77c0b 840w, https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/instagram/instagram-12.png?w=1100\u0026fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=5ed9f909e8f4a55683058e5559ef94b5 1100w, https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/instagram/instagram-12.png?w=1650\u0026fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=70fddca84f8fa2c098a1d34a1c8cfdca 1650w, https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/instagram/instagram-12.png?w=2500\u0026fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=e7d49e179c9db90b97d3ea189c66c0ee 2500w`})})]})]}),`\n`,_jsx(Check,{children:_jsx(_components.p,{children:`Send a direct message to your connected Instagram account and confirm your AI agent replies.`})}),`\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 conversation whenever you want so you can respond to customers directly. It works at the conversation level, so you can pick a specific conversation from the dashboard and stop the AI agent answering.`}),`\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`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`In the `,_jsx(_components.strong,{children:`Conversations`}),` section, filter to show only Instagram chats.`]}),`\n`,_jsx(_components.li,{children:`Click the human takeover icon.`}),`\n`,_jsx(_components.li,{children:`Click the icon again to restore access to the AI agent.`}),`\n`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/instagram/instagram-14.png?fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=6d85d350aa611b42f4e3ae12563378c6`,alt:`The human takeover icon in the Conversations list`,\"data-og-width\":`2928`,width:`2928`,\"data-og-height\":`654`,height:`654`,\"data-path\":`user-guides/integrations/images/instagram/instagram-14.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/instagram/instagram-14.png?w=280\u0026fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=8976d5abafef9556123391269d9b4917 280w, https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/instagram/instagram-14.png?w=560\u0026fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=ce324a31adce74951928a9c4dc4ee1b0 560w, https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/instagram/instagram-14.png?w=840\u0026fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=08f2c2ef6cf3acd5ce6a418f65c0ec9a 840w, https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/instagram/instagram-14.png?w=1100\u0026fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=9a0b60331c949ffd5b0f16ce80e77acb 1100w, https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/instagram/instagram-14.png?w=1650\u0026fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=97d80491d08c47dd9cd5f7aa412ba850 1650w, https://mintcdn.com/chatbase/BmrOmHxfb5Jvt0l2/user-guides/integrations/images/instagram/instagram-14.png?w=2500\u0026fit=max\u0026auto=format\u0026n=BmrOmHxfb5Jvt0l2\u0026q=85\u0026s=b7bc3d89e6974f1e9c0c6c07f39bdb18 2500w`})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Some conversations won’t have the human takeover icon. This happens when you delete a page from the Instagram integration. You keep access to the conversations in your chat logs, but not the takeover feature. The same applies if you delete a page and add it back.`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`response-delay`,children:`Response delay`}),`\n`,_jsx(_components.p,{children:`Customers on Instagram 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 Instagram 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 → Instagram → Manage → Delay`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`For each Instagram 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:`Instagram 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 Instagram 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:`Instagram`}),` channel.`]})}),_jsx(Step,{title:`Open Comments`,children:_jsxs(_components.p,{children:[`Select the `,_jsx(_components.strong,{children:`Comments`}),` tab.`]})}),_jsx(Step,{title:`Enable comment monitoring`,children:_jsxs(_components.p,{children:[`Turn on `,_jsx(_components.strong,{children:`Enable comment monitoring`}),` and select the connected accounts you want to monitor.`]})}),_jsxs(Step,{title:`Receive comments as tickets`,children:[_jsxs(_components.p,{children:[`When someone comments on a monitored Instagram 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 Instagram 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 Instagram pages, so each page gets specialized interactions.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`After connecting your first pages, you have access to the `,_jsx(_components.strong,{children:`manage Instagram pages`}),` integrations page. Navigate to the AI agent you want to connect, then `,_jsx(_components.strong,{children:`Channels > Manage`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Manage`}),` to open the dashboard. To connect another AI agent to an already-connected page, click the page and delete it.`]}),`\n`,_jsx(_components.li,{children:`Navigate to the AI agent you want to integrate with the deleted page, then run through the integration steps again.`}),`\n`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`If you deleted a page, it will be preselected in the integration steps. Don’t deselect any page you want to stay connected to the Instagram or Facebook integrations on Chatbase, because deselecting disables that page for Chatbase.`})}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Off-Meta activities tracking is disabled`,id:`off-meta-activities-tracking-is-disabled`,children:_jsxs(_components.p,{children:[`If your Facebook account has `,_jsx(_components.strong,{children:`Off-Meta activities`}),` set to “Don’t track”, this can block the Instagram authentication. Go to your Facebook account settings, look under privacy settings for Off-Meta activities tracking, and enable it temporarily during the connection process.`]})}),_jsx(Accordion,{title:`Network redirect blocking authentication`,id:`network-redirect-blocking-authentication`,children:_jsxs(_components.p,{children:[`Some networks redirect Facebook from `,_jsx(_components.code,{children:`facebook.com`}),` to `,_jsx(_components.code,{children:`web.facebook.com`}),` during login, which can block the authentication flow. When this happens, the Instagram login popup completes successfully and closes, but the first Meta window doesn’t move to the next step. Try switching to a different network, such as mobile data or a different WiFi connection, and attempt the connection again.`]})}),_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 Instagram integration is enabled.`]})})]}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`You can enable or disable the Instagram 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 your Chatbase dashboard chat logs.`})}),`\n`,_jsx(Heading,{level:`2`,id:`limitations`,children:`Limitations`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A business account and a linked Facebook Page are required.`}),` Personal and Creator accounts can’t be connected.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Deleting a page removes takeover for its conversations.`}),` The chat logs remain, but the takeover icon disappears.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`best-practices`,children:`Best practices`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Sync your products for image search`,icon:`image`,children:_jsxs(_components.p,{children:[`Shoppers can send a screenshot instead of a product name. Sync your Shopify products in the `,_jsx(_components.strong,{children:`Retrieve and display products`}),` Action so the AI agent can match photos to your catalog.`]})}),_jsx(Card,{title:`Turn on the commerce Actions together`,icon:`bag-shopping`,children:_jsxs(_components.p,{children:[`Enable `,_jsx(_components.strong,{children:`Update cart`}),`, `,_jsx(_components.strong,{children:`Get cart`}),`, and `,_jsx(_components.strong,{children:`Create order`}),` along with `,_jsx(_components.strong,{children:`Retrieve and display products`}),` on the Instagram channel, so shoppers can go from a question to an order in one DM thread.`]})}),_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`}),` so questions under your posts become tickets your team can answer.`]})}),_jsx(Card,{title:`Don't delete pages you still use`,icon:`triangle-exclamation`,children:_jsx(_components.p,{children:`Deleting a page removes takeover for its conversations, and adding it back doesn’t restore it. When you reconnect, keep every page you want connected selected.`})})]}),`\n`,_jsxs(_components.p,{children:[`Changes you save to instructions, Actions, and channel settings go into a draft. Instagram 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:`frequently-asked-questions`,children:`Frequently asked questions`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Which Instagram accounts can I connect?`,id:`which-instagram-accounts-can-i-connect`,children:_jsx(_components.p,{children:`Only an Instagram business account with a connected Facebook Page. Personal and Creator accounts can’t be connected. If your account is a Creator account, switch it to Business in Instagram’s settings first.`})}),_jsx(Accordion,{title:`Can I connect more than one Instagram page?`,id:`can-i-connect-more-than-one-instagram-page`,children:_jsxs(_components.p,{children:[`Yes. Select several pages during setup, or add more later from the `,_jsx(_components.strong,{children:`Manage`}),` page.`]})}),_jsx(Accordion,{title:`Can different Instagram pages use different AI agents?`,id:`can-different-instagram-pages-use-different-ai-agents`,children:_jsxs(_components.p,{children:[`Yes. To move an already-connected page to another AI agent, delete it from the `,_jsx(_components.strong,{children:`Manage`}),` page, then run the integration steps again from the AI agent you want to use. 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 answer replies to my stories?`,id:`does-the-ai-agent-answer-replies-to-my-stories`,children:_jsx(_components.p,{children:`Yes. When someone replies to one of your stories, the AI agent gets the story as context. For an image story, it reads what the image shows. For a video story, it only knows the customer is replying to a video, so it may ask what they mean.`})}),_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 Instagram comment. See `,_jsx(_components.a,{href:`#comment-monitoring`,children:`Comment monitoring`}),`.`]})}),_jsx(Accordion,{title:`Why does the connection get stuck during login?`,id:`why-does-the-connection-get-stuck-during-login`,children:_jsxs(_components.p,{children:[`This can happen when `,_jsx(_components.strong,{children:`Off-Meta activities`}),` is set to “Don’t track” on your Facebook account, or when your network redirects `,_jsx(_components.code,{children:`facebook.com`}),` to `,_jsx(_components.code,{children:`web.facebook.com`}),`. See `,_jsx(_components.a,{href:`#troubleshooting`,children:`Troubleshooting`}),`.`]})}),_jsx(Accordion,{title:`How many message credits does Instagram use?`,id:`how-many-message-credits-does-instagram-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 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:`facebook-messenger`,href:`/user-guides/integrations/messenger`,title:`Messenger`,children:_jsx(_components.p,{children:`Connect the Facebook pages linked to your Instagram accounts 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 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"}}},"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 Instagram","slug":"how-to-connect-instagram","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":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]},{"title":"Limitations","slug":"limitations","depth":2,"children":[]},{"title":"Best practices","slug":"best-practices","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 Instagram direct messages - Chatbase","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T21:14:23.802Z","originalFileLocation":"user-guides/integrations/instagram.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 Instagram business account so your AI agent can handle direct messages, 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 Instagram direct messages - Chatbase\">\u003cmeta data-mint-head property=\"og:description\" content=\"Connect your Instagram business account so your AI agent can handle direct messages, 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/instagram\">\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+Instagram+direct+messages\u0026amp;description=Connect+your+Instagram+business+account+so+your+AI+agent+can+handle+direct+messages%2C+with+human+takeover\u0026amp;theme=430b654938fc40910c40f1cb\u0026amp;signature=f621964ac75f2d432fc7c2e2873b3e62b77fd13ec61f26dc92924d23f7e1935a\">\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 Instagram direct messages - Chatbase\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Connect your Instagram business account so your AI agent can handle direct messages, 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+Instagram+direct+messages\u0026amp;description=Connect+your+Instagram+business+account+so+your+AI+agent+can+handle+direct+messages%2C+with+human+takeover\u0026amp;theme=430b654938fc40910c40f1cb\u0026amp;signature=f621964ac75f2d432fc7c2e2873b3e62b77fd13ec61f26dc92924d23f7e1935a\">\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/instagram\">\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/instagram.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/instagram#webpage\",\"url\":\"https://www.chatbase.co/docs/user-guides/integrations/instagram\",\"name\":\"Add an AI agent to Instagram direct messages\",\"description\":\"Connect your Instagram business account so your AI agent can handle direct messages, with human takeover\",\"dateModified\":\"2026-11-12T21:14:23.802Z\",\"isPartOf\":{\"@id\":\"https://www.chatbase.co/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.chatbase.co/docs/user-guides/integrations/instagram#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.chatbase.co/docs/user-guides/integrations/instagram#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 Instagram direct messages\",\"item\":\"https://www.chatbase.co/docs/user-guides/integrations/instagram\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.chatbase.co/docs/user-guides/integrations/instagram#article\",\"headline\":\"Add an AI agent to Instagram direct messages\",\"name\":\"Add an AI agent to Instagram direct messages\",\"description\":\"Connect your Instagram business account so your AI agent can handle direct messages, with human takeover\",\"url\":\"https://www.chatbase.co/docs/user-guides/integrations/instagram\",\"mainEntityOfPage\":{\"@id\":\"https://www.chatbase.co/docs/user-guides/integrations/instagram#webpage\"},\"dateModified\":\"2026-11-12T21:14:23.802Z\",\"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/instagram.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":"Turn on two-factor authentication (2FA) for your workspace","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","href":"/user-guides/integrations/whatsapp-templates"}]},{"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"},{"title":"Add an AI agent to Instagram direct messages","sidebarTitle":"Instagram","icon":"instagram","href":"/user-guides/integrations/instagram"},{"title":"Answer phone calls with your AI agent using Twilio","sidebarTitle":"Twilio (Phone)","icon":"phone","description":"Connect your Twilio account and assign phone numbers so your AI agent can answer inbound calls","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":"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"},{"title":"Route tickets to the right team automatically","sidebarTitle":"Team Routing","icon":"route","tag":"Deprecated","href":"/user-guides/chatbot/help-desk/team-routing"},{"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":"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 Instagram direct messages - Chatbase","buildId":"dpl_4UDxC3erAcBDHX8QT9FjyxxnLZSQ","deploymentId":"dpl_4UDxC3erAcBDHX8QT9FjyxxnLZSQ","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-B97cnG_I.js","DynamicMarkdown-B7gJlzwx.js","zoom-image-lightbox-Dg9C7AQr.js","lightbox-handle-r17bVUz3.js"]}