# Instagram

With roughly one billion monthly active users, Instagram belongs to the most popular social networks worldwide.

Engage your users with experiences that includes cards, quick replies, and buttons. Instagram chat supports a huge range of features.

<img src="/files/-MkMcnvfX2XYZzpSUwsN" alt="Instagram Bot Conversation Example" width="188">

## Prerequisites

In order to integrate Instagram with your Bot, you will need the following:

* A [Facebook account](https://www.facebook.com/)
* An [Instagram Business account](https://help.instagram.com/502981923235522) with Message Control access
* A [Facebook Page](https://www.facebook.com/pages/creation/) connected to your Instagram Business account

### Enable Message Control

You will need to allow your bot to access your Instagram messages via the Connected Tools settings in your Instagram Business account. Follow the steps below to set this up

![Deployment Process](/files/-MlULpegXKBZVrzjweH5)

Once this is done and you have Linked to Instagram, when a user sends a direct message (DM) to your Instagram Business account, your BotDistrikt bot will reply to them.

## Setup

From your bot account, go to **Integrations.**

Select **Instagram**

![](/files/-MkMdWKALrI5QWzcyzt7)

Click on **Continue with Facebook.**

![](/files/-MkMdc11N3YPBpUJuqxP)

Continue as (yourself)

<img src="/files/-MZCal0jQTiXT1n5HwiP" alt="Continue as (Yourself)" width="375">

**Select the Instagram Account** you want to launch your bot on.&#x20;

You may select multiple pages if you have multiple bot accounts on BotDistrikt.

<img src="/files/-MkMeMkUAYQi2GKYFTj3" alt="Select Business Account" width="375">

Select the **Facebook Page** **linked** to the Instagram Business account you just selected.

<img src="/files/-MkMeejUvUWsiqVAtISZ" alt="Select Facebook Page Linked to Instagram" width="375">

Grant access to all required permissions, then click **Done.**

<img src="/files/-MkMentNQx2BVKKZwAdO" alt="Permissions Required" width="375">

{% hint style="info" %}
You will see **BotDistrikt** instead of **BotDistrikt Development,** as we are just using our development environment for the above screenshots 😁
{% endhint %}

Click **OK.**

<img src="/files/-MkMf5m2yCERM_98M7Op" alt="Notification" width="375">

* You will be taken back to the BotDistrikt Instagram page.&#x20;
* On the Instagram Business account dropdown, select the account you want to launch your bot on.
* Your account details should appear on and under the photo on the left.
* Click on **Link to Instagram.**

![Select Business Page](/files/-MkMfKS5XQs3pwE7YBv_)

Your bot is now live on your Instagram Business Account.

![Live on Instagram Business Account](/files/-MkMfQWsaJvh4r8lgFQc)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.botdistrikt.com/messaging-channels/instagram.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
