Create a Meta Developer account and a Meta developer app.
When creating the app, make sure you select the Messenger use case under Business Messaging. (The Instagram messaging setting is under the Messenger use case)

In the App Dashboard, open the app you want to connect to Instagram, then go to Use cases (side menu) and click Customize.

Go to Permissions and features, find instagram_basic and instagram_manage_messages, then click Actions → Add to App Review.

Next, go to Instagram settings in the side menu, and click on Add or remove Pages.

Once you’ve added the Instagram Page you want to connect, you’ll see it appear on the screen.
After you add a Page here, you’ll see the Page ID right below the Page Name. Copy it and paste it into the corresponding field in the PinChat dashboard.
Then, click Generate token to retrieve the Page Access Token and copy it.

Collect the Page ID and Page Access Token, then paste them into the PinChat dashboard.

Copy the Webhook URL from the PinChat Dashboard.
