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
- Super Admin access to your portal to input configurations
If you are developing locally, you will need a tunneling tool such as ngrok to expose your local server to the internet to receive Facebook webhooks.
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
Go to the Facebook Developer Portal and click Create App.

Step 2: Configure Credentials in the Admin Portal
You must enter the Facebook App credentials in the Admin Portal to enable the Instagram connection feature for your customers.Open the Instagram configuration
Click the Edit button on the Instagram card to open the configuration modal.

Enter your App credentials
Fill in the following fields using the values from the Meta Developer Portal:
| Field | Description | Where to find it |
|---|---|---|
Client ID | Your Facebook App ID | Settings → Basic |
Client Secret | Your Facebook App Secret | Settings → Basic → click Show |
API Version | Facebook API version (use v2.0 or current version) | Settings → Advanced |
Webhook Verify Token | A secret string used to validate incoming webhook requests | Choose your own value, for example, a random string |
Step 3: Configure the Instagram App
Add your app domain
Under Settings → Basic, add your portal domain (e.g., 
app.chatconnectx.com) as an app domain.
Add Instagram product to your app
In the App dashboard, find the Instagram card under “Add products to your app” and click Set up.

Open the API setup page
After adding the Instagram product, you will be redirected to the API setup with Instagram business login page. This page consolidates all configuration into 4 steps.

Configure webhooks
Under Step 2: Configure webhooks, fill in the following:
- Callback URL: Use the Webhook URL generated by the Admin Portal in Step 2 (e.g.,
https://app.chatconnectx.com/webhooks/instagram) - Verify Token: Enter the Webhook Verify Token value you configured in the Admin Portal (Step 2)
To receive webhooks, your app mode must be set to Live. You can toggle this from the top bar of the App dashboard.

Step 4: Connect your Facebook Page to Instagram
Link your Instagram account
Go to Linked Accounts and connect your Instagram Professional account.
- Select Instagram

- Click Connect account






