Connecting Your AI Chatbot to Instagram Business
Engage with your audience directly on Instagram by integrating your iSales AI Chatbot. This allows your bot to handle Direct Messages (DMs), and interact with comments (with autoreply), streamlining your customer communication on this vital platform. The setup primarily involves configuring an app on the Meta Developers Platform and linking it with your iSales AI settings.
Instagram Integration Overview in iSales AI:
Your iSales AI dashboard for Instagram Business provides the following:
- Instagram Account Data:
Instagram Access Token: The token that authorizes iSales AI to interact with your Instagram account via the Meta API.Instagram Access Token Expiration: Shows when the current access token will expire and you need to refresh it manually.
- Webhook for Instagram:
Callback URL: A unique URL provided by iSales AI (e.g.,https://api.isales.ai/connector/instagram/your-unique-id) where Meta will send message events (DMs, comments).Verify Token: A unique token from iSales AI (e.g., a long JWT string) used by Meta to verify your Callback URL.Webhook Status: (e.g., ✅ Enabled) – Indicates if Meta has successfully verified and is sending events to your Callback URL.
- Statuses:
Instagram Business: (e.g., ✅ Enabled) – Overall status of the Instagram integration.AI Instruction: (e.g., General) – Shows if the bot is using general or personal instructions for Instagram.AI Chatbot for: (e.g., DM) – Specifies whether the bot is active for Direct Messages, Comments, or both (DM+C).
- Instagram Statistics: Tracks
Total Chats,Total Messages,Total Expenses, andCost per Messagespecifically for Instagram. - Personal AI Chatbot Instruction for Instagram: An area to define custom instructions tailored for Instagram interactions.
- Management Buttons (from the second screenshot):
- Enable/Disable Instagram Business integration.
- Button to
Update Instagram Token. - Options to switch between
GeneralandPersonalAI Instructions for Instagram. - Selection for
Instagram AI Intelligence(Mini AI, Basic AI, Analytical AI, Super Intelligent AGI, or specific models). - Options to
Activate Instagram AI for:DM,Comments, orDM+C. Update Personal Instructionbutton.Download Instagram Chat History.
Screenshots Fast track to setup Instagram Integration


Step-by-Step Connection Guide (Meta Developers Platform & iSales AI)
Connecting your iSales AI Chatbot to Instagram Business requires setup on both the Meta Developers Platform (developers.facebook.com) and within your iSales AI settings.
Prerequisites:
- An Instagram Business Account.
- A Facebook Page linked to your Instagram Business Account.
- A Facebook Developer Account.
- A Meta Business Account that manages both your Facebook Page and Instagram Business Account.
Phase 1: Setting up/Configuring Your App on Meta Developers Platform
- Go to Meta for Developers: Navigate to https://developers.facebook.com/ and log in.
- Select or Create an App:
- If you already created an app for WhatsApp Business (as in the previous guide), you can often use the same app. If not, create a new app:
- Click “My Apps” -> “Create App.”
- Select “Business” as the app type. Click “Next.”
- Fill in “App Display Name,” “App Contact Email,” and select your “Meta Business Account.”
- Click “Create App.”
- If you already created an app for WhatsApp Business (as in the previous guide), you can often use the same app. If not, create a new app:
- Add Messenger API for Instagram Product:
- From your app’s dashboard, scroll to “Add products to your app.”
- Find “Messenger API for Instagram” (it might just be under “Messenger” and then you configure Instagram within it) and click “Set up.”
- Configure Instagram API Settings:
- You’ll be guided to select the Facebook Page linked to your Instagram Business Account.
- You will need to grant necessary permissions for managing messages and comments.
- Generate an Access Token:
- Within the “Messenger” -> “Instagram Settings” (or similar section) of your Meta Developer App, you’ll need to generate an access token.
- Select the linked Facebook Page.
- Ensure permissions like
messagesis granted. If you want to manage comments, also includecomments. - Generate the token. Copy this token. This is your
Instagram Access Tokenfor iSales AI. Note: These tokens have an expiration date and may need to be refreshed or replaced with a long-lived token for continuous operation.
Phase 2: Configuring Webhooks in Meta Developer App & iSales AI
- Go to iSales AI Instagram Settings:
- Navigate to the “AI Chatbot for Instagram Business” page in your iSales AI platform.
- You will find a unique
Callback URLandVerify Tokenprovided by iSales AI for Instagram. Copy both of these values. (They might be the same or different from the WhatsApp ones, ensure you use the Instagram-specific ones if provided separately).
- Configure Webhook in Meta Developer App for Instagram:
- Go back to your app on the Meta Developers Platform.
- In the left navigation, under “Messenger,” click on “Instagram Settings” (or it might be a general “Webhook” section where you add subscriptions for Instagram).
- Find the “Webhooks” section for Instagram. Click “Edit” or “Add Callback URL.”
- Paste the
Callback URLfrom iSales AI into the “Callback URL” field. - Paste the
Verify Tokenfrom iSales AI into the “Verify token” field. - Click “Verify and Save.”
- Subscribe to Webhook Fields for Instagram:
- Still in the Webhook configuration on Meta for Instagram, click “Edit Subscriptions” or “Manage.”
- Subscribe to the necessary fields. For DMs, this is typically
messages. If you want to manage comments, subscribe tocomments. - Save your subscriptions.
- Verify Webhook Status in iSales AI:
- Check the
Webhook Statuson the iSales AI Instagram settings page. It should update to “Enabled” or “Verified.” If there’s a “Verify Webhook” button, click it after configuring in Meta.
- Check the
Phase 3: Entering Credentials in iSales AI & Enabling
- Input Instagram Access Token into iSales AI:
- On the “AI Chatbot for Instagram Business” page in iSales AI:
- Click “Update Instagram Token” and paste the
Instagram Access Tokenyou generated from Meta.
- Click “Update Instagram Token” and paste the
- On the “AI Chatbot for Instagram Business” page in iSales AI:
- Enable Instagram Business in iSales AI:
- Under the “Instagram Business” section, click the “Enable” button.
- The
Instagram Businessstatus should change to ✅ Enabled.
- Activate AI for DM/Comments:
- Under “Activate Instagram AI for“, choose your desired mode:
DM: Bot handles Direct Messages only.Comments: Bot handles comments on your posts only and auto reply to user.DM+C: Bot handles both Direct Messages and comments.
- Under “Activate Instagram AI for“, choose your desired mode:
Phase 4: Testing and Further Configuration (Optional)
- Send a Test Message/Comment:
- Send a DM to your Instagram Business account from another Instagram account.
- If comment interaction is enabled, leave a test comment on one of your posts.
- The iSales AI Chatbot should respond according to its configuration.
- Configure AI Instructions for Instagram (Optional):
- In iSales AI, under “Instagram AI Instruction“, choose
GeneralorPersonal. IfPersonal, use “Update Personal Instruction” to tailor bot behavior for Instagram.
- In iSales AI, under “Instagram AI Instruction“, choose
- Set AI Intelligence for Instagram (Optional):
- Under “Instagram AI Intelligence“, select the preferred intelligence level or specific LLM model for Instagram.
- Monitor Statistics: Use the
Instagram Statisticsin iSales AI to track performance.
By following these steps, you can successfully integrate your iSales AI Chatbot with your Instagram Business presence, automating responses and engaging your audience effectively.
