Prerequisites
Before you begin, make sure you have:- A valid Facebook account
- A Facebook Page you own or administer
- A valid Instagram Professional account (Business or Creator) linked to that Facebook Page
- A ChatbotX installation with a publicly accessible URL (required for both the webhook callback and the OAuth callback when connecting your account)
Step 1: Create a Facebook App
If you have already created a Facebook app for the Messenger channel, you can reuse it for Instagram, skip to Step 2.Create a new app

Enter app details

Select a use case

Choose app type

Finish creation

Get your App ID and App Secret

Step 2: Configure Credentials in ChatbotX
A Super Admin must enter the Instagram App credentials in ChatbotX before the integration can work. Complete this step immediately after obtaining your App ID and App Secret.Open Integrations

Open the Instagram configuration

Enter your App credentials
Save
Step 3: Configure the Instagram App
Add your app domain

Add Instagram product to your app

Open the API setup page

Configure webhooks
- Callback URL: Use the Webhook URL generated by ChatbotX in Step 2 (for example,
https://app.yourdomain.com/integrations/instagram/webhooks) - Verify Token: Enter the Webhook Verify Token value you configured in the ChatbotX Integrations settings (Step 2)

Step 4: Connect your Facebook Page to Instagram
Open Facebook Page settings
Link your Instagram account
- Select Instagram

- Click Connect account

Verify the connection
Step 5: Create an Instagram Channel in ChatbotX
Open the channel configuration


Grant access permissions

Select linked Facebook Pages

Select Instagram accounts

Review permissions

Test the connection
- Create a Flow: Go to the Flows section in the sidebar, create a simple welcome message or interactive menu, then send a DM to the Instagram account to verify the response.
- Set up an AI Agent: Go to the AI Agent tab to configure your agent’s personality, then send a DM to the Instagram account from another account to test the AI response.
