{"versionId":"5acafa72-be01-4eef-18d3-08de0b6de118","articleId":"d87be68d-20ae-4878-da09-08dbdf2a8fe7","title":"Adding a chatbot to Instagram","tags":["integrations","All articles"],"content":"<html><head></head><body><p>You can deploy the same&nbsp;chatbot, with the same Q&amp;A, on your website and other channels, including Instagram.</p>\n<p>This means you can automate the answering of frequently asked questions, wherever your customers are asking them. All your chat forms and escalations will work on Instagram too.</p>\n<p>To set up your bot in Instagram, you'll first need to create an Instagram app, and then connect it to your chatbot.</p>\n<p>This article describes the steps you need to take.<br><br></p>\n<div class=\"mce-toc\">\n<h2>In this article</h2>\n<ul>\n<li><a href=\"#prerequisites\">Prerequisites</a></li>\n<li><a href=\"#mcetoc_1hnk9avsaeb\">Bot features on Instagram</a></li>\n<li><a href=\"#create-a-facebook-app\">Create an app</a>\n<ul>\n<li><a href=\"#create-your-app\">Create your app</a></li>\n</ul>\n</li>\n<li><a href=\"#mcetoc_1hnk9avsaec\">Configure your app</a>\n<ul>\n<li><a href=\"#mcetoc_1hnk9avsaed\">Configuration</a></li>\n</ul>\n</li>\n<li><a href=\"#mcetoc_1go83kfvj3c\">Connect your bot&nbsp;</a>\n<ul>\n<li><a href=\"#mcetoc_1hnk9avsbee\">1. Enter your&nbsp;Access token</a></li>\n<li><a href=\"#mcetoc_1hnk9avsbef\">2. Enter your&nbsp;App secret</a></li>\n</ul>\n</li>\n<li><a href=\"#mcetoc_1hnk9avsbeg\">Testing your bot in&nbsp;Instagram</a>\n<ul>\n<li><a href=\"#mcetoc_1hnk9avsbeh\">Setting up your testers</a></li>\n</ul>\n</li>\n<li><a href=\"#mcetoc_1hnk9avsbei\">App review &amp; publication</a></li>\n<li><a href=\"#mcetoc_1hnk9avsbej\">Providing a link to launch your Instagram bot</a></li>\n<li><a href=\"#set-the-api-version\">Instagram documentation</a></li>\n</ul>\n</div>\n<div data-heading-level=\"h2\">\n<h2 id=\"prerequisites\">Prerequisites</h2>\n<p>Before you get started, you will need:</p>\n</div>\n<ul style=\"list-style-type: none;\">\n<li style=\"list-style-type: disc;\">A Meta for Developers account. If you don't have an account, you can create one at&nbsp;<a href=\"https://developers.facebook.com/\" data-linktype=\"external\">developers.facebook.com</a>. Each tester will also need their own Meta for Developers account.</li>\n<li style=\"list-style-type: disc;\">An Instagram Professional account with a linked profile from which users will access your bot.&nbsp;</li>\n<li style=\"list-style-type: disc;\">A Facebook page linked to your Instagram profile.&nbsp;If you don't have one yet,&nbsp;<a href=\"https://www.facebook.com/help/104002523024878\" data-linktype=\"external\">Create a new Page</a>.</li>\n<li style=\"list-style-type: disc;\">A Premium Helpfruit subscription. Instagram bots are not available on Starter or Standard plans. <a href=\"https://www.helpfruit.com/pricing\" target=\"_blank\" rel=\"noopener\">See pricing</a>.</li>\n<li style=\"list-style-type: disc;\">For app review, another Instagram account that can be shared with app reviewers (ie you need to be comfortable sharing credentials). Note this is a extra step required at the time of writing, as the test user creation capability in Instagram has been unavailable for some months.</li>\n</ul>\n<h2 id=\"mcetoc_1hnk9avsaeb\">Bot features on Instagram</h2>\n<p>There are <a href=\"https://help.faqbot.ai/article/faq-bot-features-on-instagram\" target=\"_blank\" rel=\"noopener\">some differences in how bot features work on Instagram</a>, due to the limitations of that channel.&nbsp;</p>\n<h2 id=\"create-a-facebook-app\">Create an app</h2>\n<p>Users will access your bot by messaging an Instagram profile. To connect the bot, you'll first create an app and then connect the bot to the app.</p>\n<h3 id=\"create-your-app\">Create your app</h3>\n<ol>\n<li style=\"list-style-type: decimal;\">Sign in to your&nbsp;<a href=\"https://developers.facebook.com/\" data-linktype=\"external\">Meta for Developers</a>&nbsp;account.</li>\n<li style=\"list-style-type: decimal;\">Go to&nbsp;<a href=\"https://developers.facebook.com/apps/create\" data-linktype=\"external\">Create App</a></li>\n<li style=\"list-style-type: decimal;\">On the&nbsp;<strong>Create an app</strong>&nbsp;page, select&nbsp;<strong>Other</strong>&nbsp;and then&nbsp;<strong>Next<br><img src=\"https://portal.faqbot.nz/api/images/079d861d72cc4aca80c65588df217079/files/Other%20WA%20app.png?width=1000&amp;height=\"><br></strong></li>\n<li style=\"list-style-type: decimal;\">On the <strong>Select an app type</strong> page select <strong>Business</strong> and click <strong>Next</strong></li>\n<li style=\"list-style-type: decimal;\">On the <strong>Details</strong>&nbsp;page, enter a name for your app and select&nbsp;<strong>Create app</strong>.\n<ul style=\"list-style-type: none;\">\n<li style=\"list-style-type: disc;\">If prompted, enter your password and select&nbsp;<strong>Submit</strong>&nbsp;to create your app.</li>\n<li style=\"list-style-type: disc;\">After your app is created, the site goes to a page for your app.</li>\n</ul>\n</li>\n<li style=\"list-style-type: decimal;\">You'll see a set of products. Click <strong>Set up</strong> on Messenger</li>\n<li>You'll then be prompted to select your Meta Business Account.</li>\n</ol>\n<h2 id=\"mcetoc_1hnk9avsaec\">Configure your app</h2>\n<h3 id=\"mcetoc_1hnk9avsaed\">Configuration</h3>\n<p><img src=\"https://portal.helpfruit.com/api/images/079d861d72cc4aca80c65588df217079/files/Configure%20Instagram.png\"></p>\n<p>Under <strong>Messenger</strong> on the side menu, click <strong>Instagram settings,</strong> as shown above. <span style=\"background-color: #f1c40f;\">Note this is under the Messenger menu item, not the Instagram menu item!</span></p>\n<ol>\n<li>Connect your page - in the Access tokens section, click <strong>Add or remove Pages<br><img src=\"https://portal.faqbot.nz/api/images/079d861d72cc4aca80c65588df217079/files/add%20remove%20page.png\"><br></strong><br><br></li>\n<li>In the <strong>Webhooks</strong> section, click <strong>Edit callback URL</strong></li>\n<li>Enter the&nbsp;<strong>callback URL</strong>. This is in the format&nbsp;<span dir=\"ltr\"><a title=\"https://bot.faqbot.nz/api/v1.0/webhook/%7bpage_or_number_id%7d/%7bfaq_subscription_key%7d/messages\" href=\"https://bot.faqbot.nz/api/v1.0/webhook/%7BPAGE_OR_NUMBER_ID%7D/%7BFAQ_SUBSCRIPTION_KEY%7D/messages\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Link https://bot.faqbot.nz/api/v1.0/webhook/{PAGE_OR_NUMBER_ID}/{FAQ_SUBSCRIPTION_KEY}/messages\">https://bot.helpfruit.com/api/v1.0/webhook/<span style=\"background-color: #f1c40f;\">{PAGE_ID}/{FAQ_SUBSCRIPTION_KEY}</span>/messages</a></span>\n<ol style=\"list-style-type: lower-alpha;\">\n<li>Find your {PAGE_ID} on this page - it's the number next to your page icon on the page token table<br><img src=\"https://portal.faqbot.nz/api/images/079d861d72cc4aca80c65588df217079/files/page%20ID.png\"></li>\n<li>Find your {FAQ_SUBSCRIPTION_KEY} on the Widget setup tab in the <a href=\"https://portal.helpfruit.com/configuration/main\">Helpfruit Portal &gt; Configuration &gt; Main</a></li>\n</ol>\n</li>\n<li>Enter \"faq\" in Verify token<br>\n<div><img src=\"https://storage.faqbot.nz/prod/079d861d72cc4aca80c65588df217079/files/pasted_image_article_adding-bot-to-instagram_f103ae74-e30e-405b-8c52-9e51fb545e4f.png\"></div>\n</li>\n<li>Click&nbsp;<strong>Verify and save</strong></li>\n<li>Click <strong>Edit subscriptions</strong> to edit Instagram Webhook subscriptions. Select <strong>messages</strong> and <strong>messaging_postbacks</strong> and click&nbsp;<strong>Save<br><img src=\"https://portal.helpfruit.com/api/images/079d861d72cc4aca80c65588df217079/files/Insta%20edit%20subs.png?width=1000&amp;height=\"><br></strong></li>\n</ol>\n<h2 id=\"mcetoc_1go83kfvj3c\">Connect your bot&nbsp;</h2>\n<p>In the Helpfruit portal, navigate to the<strong> Channel settings</strong> tab on <a title=\"Configuration settings\" href=\"https://portal.helpfruit.com/configuration/main\" target=\"_blank\" rel=\"noopener\">Configuration &gt; Main</a><br><br>In the Instagram section:<strong><br></strong></p>\n<h3 id=\"mcetoc_1hnk9avsbee\">1. Enter your&nbsp;<strong>Access token</strong></h3>\n<p>You can use a Page token as the simplest way to get started, but note that this token is tied to the user who created it, so you may run into issues if that user leaves your&nbsp;organisation.<br><br></p>\n<div><img src=\"https://storage.faqbot.nz/prod/079d861d72cc4aca80c65588df217079/files/pasted_image_article_adding-bot-to-instagram_5c22cc5a-a2a1-47dd-81df-b7a7786b4fa9.png\"></div>\n<p><br><br>To avoid future token issues, you can later <a title=\"Create a system user access token\" href=\"https://developers.facebook.com/docs/whatsapp/business-management-api/get-started#1--acquire-an-access-token-using-a-system-user-or-facebook-login\" target=\"_blank\" rel=\"noopener\">follow this guide</a> to <strong>set up a system user access token, </strong>and assign the app you have created above as an asset.</p>\n<p>Some things to note on your system access token:</p>\n<ul>\n<li>Token expiration - when your token expires, your bot will stop working. So you may wish to set expiry to \"Never\" (recommended)</li>\n<li>Permissions required: instagram_basic, instagram_manage_messages, pages_manage_metadata</li>\n</ul>\n<h3 id=\"mcetoc_1hnk9avsbef\">2. Enter your&nbsp;<strong>App secret</strong></h3>\n<p>You'll find this in your Meta for Developers Account, under <strong>App settings &gt; Basic<br></strong></p>\n<div><strong><img src=\"https://storage.faqbot.nz/prod/079d861d72cc4aca80c65588df217079/files/pasted_image_article_adding-bot-to-instagram_c4077a8e-af5a-4c7e-860c-7801938bf0d7.png\"></strong></div>\n<p><strong>&nbsp;</strong></p>\n<p>&nbsp;</p>\n<p>Once the steps above are complete, you will be ready to test your bot on Instagram.&nbsp;</p>\n<p>&nbsp;</p>\n<h3 id=\"tabpanel_1_messenger\" role=\"tabpanel\" data-tab=\"messenger\"></h3>\n<h2 id=\"mcetoc_1hnk9avsbeg\">Testing your bot in&nbsp;Instagram</h2>\n<h3 id=\"mcetoc_1hnk9avsbeh\">Setting up your testers</h3>\n<ul>\n<li role=\"tabpanel\" data-tab=\"messenger\">To test your bot, users will need a Meta for Developers account, and will need to provide you with their Facebook ID.</li>\n<li role=\"tabpanel\" data-tab=\"messenger\">Select <strong>App roles</strong> &gt; <strong>Roles</strong> and click <strong>Add</strong> to assign testers</li>\n</ul>\n<section role=\"tabpanel\" data-tab=\"messenger\"></section>\n<section role=\"tabpanel\" data-tab=\"messenger\"><img src=\"https://portal.faqbot.nz/api/images/079d861d72cc4aca80c65588df217079/files/test%20users.png?width=1000&amp;height=\"></section>\n<section role=\"tabpanel\" data-tab=\"messenger\">\n<ul>\n<li>Once you have added them, they will receive an invitation, which they will need to accept - this will appear in the notifications section of their Meta for Developers account.</li>\n<li>If you add users as Instagram testers,&nbsp;then they will need to accept Meta Terms on Instagram (web) - <a href=\"https://www.instagram.com/accounts/manage_access/\">https://www.instagram.com/accounts/manage_access</a>.&nbsp;<br>\n<div><img src=\"https://storage.faqbot.nz/prod/079d861d72cc4aca80c65588df217079/files/pasted_image_article_adding-bot-to-instagram_abb541e4-30f6-44e4-b56d-69cfe1e5b323.png\"></div>\n<br><br><br><br>\n<div><img src=\"https://storage.faqbot.nz/prod/079d861d72cc4aca80c65588df217079/files/pasted_image_article_adding-bot-to-instagram_79f61c2c-3628-4d74-ba59-dd5add7791a0.png\"></div>\n<br><br></li>\n<li>App admins and developers can also test your bot.&nbsp;</li>\n</ul>\n<h3>Testing</h3>\n<p>To test your app once you have one of the above roles, simply message your Instagram account.</p>\n</section>\n<section role=\"tabpanel\" data-tab=\"messenger\">\n<p>&nbsp;</p>\n<h3 id=\"submit-for-review\"></h3>\n<h2 id=\"mcetoc_1hnk9avsbei\">App review &amp; publication</h2>\n<p>Until an app is published, it's in&nbsp;<a href=\"https://developers.facebook.com/docs/apps/managing-development-cycle\" data-linktype=\"external\">Development Mode</a>. It will only work for admins, developers, and testers.</p>\n<p>Once you have tested your bot on Instagram, there are some review steps that need to be completed to move your app from Development to Live mode and publish your app. Note that this process can take some time.</p>\n<p><img src=\"https://portal.faqbot.nz/api/images/079d861d72cc4aca80c65588df217079/files/app%20go%20live.png?width=1000&amp;height=\"></p>\n<p>1. Toggle from Development to Live in your app dashboard. Any required steps will be highlighted, for example:</p>\n<div><img src=\"https://storage.faqbot.nz/prod/079d861d72cc4aca80c65588df217079/files/pasted_image_article_adding-bot-to-instagram_96d2e7be-66c0-443e-96f3-e5f6a2b978e6.png\"></div>\n<br>This could be a link to your&nbsp;organisation's privacy policy, typically on your website.&nbsp;\n<p>&nbsp;</p>\n<p>2. Go to <strong>App Review &gt; Permissions and Features<br><br></strong>3. Request Advanced access to Instagram_manage_messages&nbsp;and instagram_basic. <a href=\"https://developers.facebook.com/docs/development/release/business-verification\">Business Verification</a> is required, as well as App Review.<br><br><br></p>\n<div><img src=\"https://storage.faqbot.nz/prod/079d861d72cc4aca80c65588df217079/files/pasted_image_article_adding-bot-to-instagram_e72f83ff-0795-415e-b866-e2dc41eaa25a.png\"></div>\n<p>&nbsp;</p>\n<div>\n<div><img src=\"https://storage.faqbot.nz/prod/079d861d72cc4aca80c65588df217079/files/pasted_image_article_adding-bot-to-instagram_e8f2c432-1c1b-4922-97ff-faf19cc57e11.png\"></div>\n</div>\n<p>&nbsp;</p>\n<p>4. Complete the rest of the required information. You will need to:</p>\n<ul>\n<li>Answer questions about data handling, eg -&nbsp;<br><img src=\"https://portal.faqbot.nz/api/images/079d861d72cc4aca80c65588df217079/files/data%20handling%20Meta.png?width=1000&amp;height=\"></li>\n<li>Check you have requested the necessary permissions and features (see above)</li>\n<li>Select the audience for your app<br><img src=\"https://portal.faqbot.nz/api/images/079d861d72cc4aca80c65588df217079/files/image%20%2821%29.png\"></li>\n<li>Provide justification for your app - answer the specified questions and provide a screencast showing Instagram and the portal side by side. In your screencast you will need to show things like:\n<ul>\n<li>Message deletion</li>\n<li>Story mentions</li>\n<li>Image handling</li>\n<li>Contact form</li>\n<li>Live chat (even if you don't intend to use live chat)</li>\n</ul>\n</li>\n</ul>\n<p style=\"padding-left: 40px;\"><strong><a href=\"mailto:help@helpfruit.com\" target=\"_blank\" rel=\"noopener\">Contact us</a> for guidance on wording and screencast content as the requirements are quite specific - we can provide example texts. </strong>There is also guidance <a href=\"https://developers.facebook.com/docs/permissions#i\">here</a>.</p>\n<ul>\n<li>There may be several places in the approval submission process where you are asked about Facebook login. This is not required, you may need to re-state this or answer n/a.</li>\n</ul>\n<p style=\"padding-left: 40px;\">&nbsp;</p>\nThe App Review process can take 10 days or more, and may require revisions depending on the individual app reviewers.</section>\n<h3 role=\"tabpanel\" data-tab=\"messenger\"><br>App verification details</h3>\n<p>You may also need to provide credentials so app reviewers can test your app. This is where you may need a separate account for testing (see prerequisites above).<br>Complete App verification details as shown below:&nbsp;<br><br><img src=\"https://portal.faqbot.nz/api/images/079d861d72cc4aca80c65588df217079/files/insta%20credentials.png\"></p>\n<section role=\"tabpanel\" data-tab=\"messenger\">\n<div data-heading-level=\"h3\">\n<h2 id=\"mcetoc_1hnk9avsbej\">Providing a link to launch your Instagram bot</h2>\n<p>Once your Instagram app is approved and your bot works on Instagram, you may want to provide a link for your users to launch the bot in Instagram. <br>You can do this in the format:<br><span dir=\"ltr\"><a href=\"https://ig.me/m/yourinstagramhandle\">https://ig.me/m/yourinstagramhandle</a><br><br>for example <a title=\"https://ig.me/m/\" href=\"https://ig.me/m/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Link https://ig.me/m/\">https://ig.me/m/faqbot</a></span></p>\n<h2 id=\"set-the-api-version\">Instagram documentation</h2>\n</div>\n<p>For Instagram documentation for developers, see <a href=\"https://developers.facebook.com/docs/messenger-platform/instagram/\">https://developers.facebook.com/docs/messenger-platform/instagram/</a></p>\n</section>\n<p>&nbsp;</p>\n<h2 id=\"set-the-api-version\"></h2></body></html>","description":"","isMarkdown":false,"publishedOnUtc":"2025-10-14T22:06:07.3531345","modifiedOnUtc":"2023-11-07T00:43:29.8836"}