> For the complete documentation index, see [llms.txt](https://docs.csml.dev/studio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.csml.dev/studio/channels/instagram/installation.md).

# Installation

## Instagram Setup

### Instagram Business Account

The first thing you need is an instagram business account. Luckily, switching from personal to business account is a straightforward process: simply follow [this guide](https://www.facebook.com/business/help/502981923235522).

Some common issues may come up and prevent you to correctly connect your chatbot to your Instagram account:

* Make sure that your Instagram account has the **Business** type (***not*** the Creator type). You can switch from a Creator to a Business account under **Settings > Account > Switch to Business Account**.
* You also need to **allow access to messages** for the chatbot to be able to access them. [Here is how](https://www.facebook.com/help/instagram/791161338412168).

### Facebook Business Page

You will also need a Facebook page linked to your Instagram Business account. You can easily create a new page or use an existing one, and connect it to your Instagram account by [following this process](https://www.facebook.com/help/1148909221857370).

## CSML Studio Setup

To connect your Instagram account to your CSML Studio chatbot, visit the **Channels** page, then click on **Instagram** to create a new Instagram channel. Then, follow the Login with Facebook flow, and make sure to select both the Instagram Business Account, and the Facebook Page it is linked with:

![](/files/-MfyNF1DJZv2mDV_6eBE)

![](/files/-MfyNyLOOsMo6H1Dqe5J)

Also, make sure that all the requested permissions are checked:

![](/files/-MfyNzkCwB9vwgNq-9lz)

After this flow, you will be presented with a list of your Facebook pages. Select the one that is linked to your Instagram page:

![](/files/-MfyOuLw05N-fD3GObWV)

After a few seconds, you are redirected to a new page. It's done!
