# How to make an Instagram chatbot

You need to click the **"Switch to professional account"** button

<div data-with-frame="true"><figure><img src="/files/krq12Q11d7vyuj48lu7Y" alt="" width="375"><figcaption></figcaption></figure></div>

<figure><img src="/files/h7CQIBcLmQeK7ZUybBr9" alt="" width="375"><figcaption></figcaption></figure>

Go to settings in the menu on the left (if you are using a PC) or settings in the upper-right corner (if you are using a phone)

<div data-with-frame="true"><figure><img src="/files/PU8H0UrU69ontKIDzYG3" alt="" width="188"><figcaption></figcaption></figure></div>

<div data-with-frame="true"><figure><img src="/files/qc4zop328JT0ohUcVzKP" alt="" width="188"><figcaption></figcaption></figure></div>

<figure><img src="/files/24Mzfksmds6q2IKoj5XX" alt="" width="188"><figcaption></figcaption></figure>

{% hint style="danger" %}
The account type needs to be changed to BUSINESS. If you have an "Author's account", then the integration will NOT work. It works only in the "Business".
{% endhint %}

Next, verify your details and fill them in if required.

Then, wait up to 30 seconds for your account to switch—setup will then be complete. After the switch, you'll see a notification confirming that professional tools are now available. You can review the suggested 8 steps or simply close the settings.

Once you've switched to a business account, your profile will reflect this change:

<div data-with-frame="true"><figure><img src="/files/9NdITpo9MYX5LFj65y1a" alt="" width="375"><figcaption></figcaption></figure></div>

## ​​How to connect your account to MaviBot

To connect your Instagram account to MaviBot, you first need to prepare your account by switching it to a professional one [(as described above).](https://docs.salebot.pro/messendzhery-i-chaty/oficialnyi-instagram#kak-podgotovit-svoi-akkaunt-instagram)

Next, go to the Messenger section in MaviBot:

<div data-with-frame="true"><figure><img src="/files/R917L4VXH3FPhLrFn5Qc" alt="" width="219"><figcaption></figcaption></figure></div>

Then find the Instagram bar to connect to MaviBot:

<div data-with-frame="true"><figure><img src="/files/p1KlAUwwp4TpSxRJhBIB" alt="" width="563"><figcaption></figcaption></figure></div>

You will see a modal window that looks like this:

<div data-with-frame="true"><figure><img src="/files/4IjAZrxV1F0kdb6sHCGO" alt="" width="563"><figcaption></figcaption></figure></div>

Next, you just need to click on the "Login" button to go directly to the official website of the social network and enter your username and password:

<div data-with-frame="true"><figure><img src="/files/ejT3WPfNbhYSx09WeoMl" alt="" width="375"><figcaption></figcaption></figure></div>

You only need to grant permission to connect your Account to MaviBot. A notification will confirm if the connection is successful.

{% hint style="warning" %}
The API does not have access to Instagram accounts that are not business accounts.

Before connecting the chatbot to Instagram, you must switch your account to a business type.

The account must be a business account, not a creator account!
{% endhint %}

If you have configured everything according to the instructions but the bot is still not working, check the connection settings within the Instagram account itself: **Settings > Privacy > Messages**.

There, you need to enable the **"Allow access to messages"** slider at the bottom.

<div data-with-frame="true"><figure><img src="/files/aavTLj75PSX6sPfKlVkh" alt="" width="188"><figcaption></figcaption></figure></div>

<div data-with-frame="true"><figure><img src="/files/mYzawUnzAcaKlCq0TJn7" alt="" width="188"><figcaption></figcaption></figure></div>

<div data-with-frame="true"><figure><img src="/files/glEzsnpU0o3zegkDIPsW" alt="" width="375"><figcaption></figcaption></figure></div>

**Watch how to easily create Instagram chatbots on Mavibot in our tutorial videos.**

{% embed url="<https://www.youtube.com/watch?v=AX-EpLo4Fek>" %}

{% embed url="<https://www.youtube.com/watch?v=2UrxwiINJJ0>" %}


---

# 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.mavibot.ai/chatbot/messengers/instagram/chatbot.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.
