# Instagram

## 1. Connect to Instagram <a href="#id-1.-connect-to-bigcommerce" id="id-1.-connect-to-bigcommerce"></a>

1\. Go to the **Resources** page and click the<img src="https://3024471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MB_fx7PCUqvFEdrucJC%2Fuploads%2Fct5RJC2cjHhrvymOWWGx%2Fimage.png?alt=media&#x26;token=b4ff0c44-5510-49d1-97dd-a155af254113" alt="" data-size="line">button.

2\. Select **Instagram**.

3\. Enter your account credentials and click **Connect**.&#x20;

* **Start Date (UTC)**
* **Access Token** (Visit [here](#1.-connect-to-bigcommerce) to get the access token

4\. Choose tables to import and click **Finish Setup**.

5\. You will see a![](https://3024471318-files.gitbook.io/~/files/v0/b/gitbook-28427.appspot.com/o/assets%2F-MB_fx7PCUqvFEdrucJC%2F-MgBh5PshcmRFk38itib%2F-MgBo4LSmdK4OS-NqLZy%2Fsyncing.png?alt=media\&token=452494f9-e4be-48fa-9644-bee7d969c46c)icon next to your resource. It may take a few minutes to several hours depending on the data size and the number of your tables. Once your data is ready, you will receive a notification email.​

## 2. Get Access Token from Instagram <a href="#id-2.-get-credentials-from-bigcommerce" id="id-2.-get-credentials-from-bigcommerce"></a>

### Requirements

* A Facebook App
* An Instagram Business Account
* A Facebook Page linked to your Instagram Business Account
* A Facebook API Access Token

### Setup guide

#### 1. Facebook App (Skip this step if you already have a Facebook App)

Visit the [Facebook Developers App hub](https://developers.facebook.com/apps/) and create an App and choose "Manage Business Integrations" as the purpose of the app. Fill out the remaining fields to create your app.

#### 2. Facebook Page

See the Facebook [support](https://www.facebook.com/business/help/898752960195806) for information about how to add an Instagram Account to your Facebook Page.

#### 3. Instagram Business Account

Follow the [Instagram documentation](https://www.facebook.com/business/help/1492627900875762) for setting up an Instagram business account.&#x20;

#### 4. API Access Token

To work with the Instagram connector, you need to generate an Access Token with the following permissions:

* [instagram\_basic](https://developers.facebook.com/docs/permissions/reference/instagram_basic)
* [instagram\_manage\_insights](https://developers.facebook.com/docs/permissions/reference/instagram_manage_insights)
* [pages\_show\_list](https://developers.facebook.com/docs/permissions/reference/pages_show_list)
* [pages\_read\_engagement](https://developers.facebook.com/docs/permissions/reference/pages_read_engagement)
* [Instagram Public Content Access](https://developers.facebook.com/docs/apps/features-reference/instagram-public-content-access)

More details of how to get a User's Access Token you can find in the following docs: [Access Tokens](https://developers.facebook.com/docs/facebook-login/access-tokens/#usertokens) and [User and Page Access Tokens](https://developers.facebook.com/docs/pages/access-tokens)

## 3. Available Tables <a href="#id-3.-available-tables" id="id-3.-available-tables"></a>

* [User](https://developers.facebook.com/docs/instagram-api/reference/ig-user)
  * [User Insights](https://developers.facebook.com/docs/instagram-api/reference/ig-user/insights)
* [Media](https://developers.facebook.com/docs/instagram-api/reference/ig-user/media)
  * [Media Insights](https://developers.facebook.com/docs/instagram-api/reference/ig-media/insights)
* [Stories](https://developers.facebook.com/docs/instagram-api/reference/ig-user/stories/)
  * [Story Insights](https://developers.facebook.com/docs/instagram-api/reference/ig-media/insights)

​

<br>
