Connect a Messaging Platform: Instagram
Connect an AI agent to Instagram Direct for a professional account, including prerequisites, the authorization process, and FAQs
The Instagram Direct connection is built on a Facebook Page. MaiAgent obtains authorization through the Page linked to the Instagram account, then uses the Page to receive and reply to Instagram Direct messages. The authorization process is the same as for FB Messenger, except the Page must first be linked to an Instagram professional account.
Before You Connect
MaiAgent preparation
You have created an “AI agent” on the MaiAgent platform.
Instagram account preparation
The Instagram account has been switched to a professional account (business or creator account). Personal accounts cannot be connected.
The Instagram account is linked to a Facebook Page. Complete the connection under Settings → Business tools and controls → Linked accounts in the Instagram app, or under Settings → Linked accounts on the Page.
The Instagram account allows messages to be received (Settings → Messages and story replies → Message controls → Allow access to messages through connected tools).
Facebook permission preparation
The Facebook account used to log in has been invited to or has created a business portfolio and has full control.
If the Page is already in the business portfolio: No additional changes are required.
If the Page is not in the business portfolio: You must be an administrator of the Page and have full control.
An Instagram account can be connected to only one messaging platform. To connect it to another AI agent, first delete the original messaging platform, then connect it again.
Start Connecting
1. Open the messaging platform connection page
Select Messaging Platforms from the menu on the left, click Connect Messaging Platform in the upper-right corner, then select Instagram on the platform selection page.
2. Log in to Facebook and authorize access
Click Log in with Facebook and sign in with the Facebook account that manages the Page. The authorization window asks you to complete the following steps in order:
Select the business portfolio to authorize.
Select (claim) the Page linked to the Instagram account.
Confirm the authorization.
MaiAgent accesses only messages from the Pages you authorize and their linked Instagram accounts. It does not access your personal messages.

Make sure your browser allows pop-ups. Otherwise, it may block the Facebook login window. If the Page list is not updated after authorization, click Reload in the upper-right corner of the Instagram channel section to authorize it again.
3. Basic settings
Messaging platform name
Give this connection a name so you can identify it easily.
AI agent
Select the AI agent that will reply to Instagram Direct messages.
Select Page
Select the Page linked to the Instagram account from the list. The system automatically retrieves the Instagram account linked to that Page.
Enable reset commands
(Optional) When enabled, you can configure one or more commands. When a user sends one of these commands in a direct message, a new conversation begins, such as “Start over.”
4. Save and verify the connection
Click Connect Messaging Platform to finish creating the connection. After the connection succeeds, MaiAgent automatically subscribes to message events for the Page through Meta. You do not need to configure a separate Webhook.
Use another Instagram account to send a test direct message to the professional account. If the AI agent replies normally, the connection was successful. You can also open this connection from the MaiAgent messaging platform list and view incoming direct messages under All Conversations.
Supported Message Types
User → AI agent
Text, images, videos, voice messages, and stickers; OCR can be used with images.
AI agent → User
Text and images
FAQ
Q: Why is the Page list empty after authorization?
The Facebook account you used to log in does not have full control of the Page, or the Page was not selected during authorization. Follow Before You Connect to check the permissions, log in again as a Page administrator, and make sure the correct Page is selected in the authorization window.
Q: Why does “This Page is not linked to an Instagram account” appear when I save?
The Page and Instagram professional account have not been linked, or the Instagram account is still a personal account. Switch to a professional account in Instagram, link it to the Page, and authorize it again.
Q: Why does “This Instagram account is already in use” appear when I save?
The same Instagram account is already connected to another messaging platform in the organization. Delete the original messaging platform, then create it again.
Q: Why hasn't MaiAgent received a user's direct message?
Check the following in order: the Instagram account's message controls allow connected tools to access messages; the connection between the Page and Instagram account is still active; and the authorized Facebook account is still an administrator of the Page. If the authorization has expired or the Page permission has been removed, delete the messaging platform and connect it again.
Q: Can Instagram and FB Messenger use the same AI agent?
Yes. They are separate messaging platforms and can be linked to the same AI agent, or you can configure different options for each platform.
Last updated
Was this helpful?