> For the complete documentation index, see [llms.txt](https://docs.3dolphins.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.3dolphins.ai/integration/channel-connector/instagram-bussiness/how-to-create-new-a-instagram-business-channel.md).

# Create New Instagram Business Channel

This section describes how to mechanism for creating a new Instagram business channel by doing the following steps:

Go to the **Integration** menu and click the **Channel Connector** menu, then you will see a channel connector page such images below.&#x20;

![Channel Connector](/files/VmeeaC0SeiEJxCUuRtF8)

On the channel connector page, click the **'Plus'** button on the box channel Facebook page, and then you will see a pop-up channel setting.&#x20;

![Channel Setting Instagram](/files/sNva2ZZDzr73Xn9U2cbY)

**Component Explanation:**

| Name              | Description                                                                                                                                                                                                          |
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| App ID            | A unique identification number will be added to your App.                                                                                                                                                            |
| App Secret        | Facebook App will automatically generate a secret code which is connected with your App. Its purpose is to authenticate demands from the application towards Facebook servers. This code is also used as a password. |
| User Access Token | User access token to the Facebook API.                                                                                                                                                                               |
| Page Access Token | Page access token to start using the platform APIs or to manage and access your page.                                                                                                                                |

### **Get App ID**

Copy Facebook page '**App ID'** to the channel settings page which can be found in the **'Settings'** section and select '**Basic'** from the drop-down menu. Settings basic console will be displayed. See the image below.

![Get App ID](/files/R327ihTz0rOgotK1TLVa)

Paste **'App ID'** into the pop-up channel settings.

<figure><img src="/files/kvFG54PmX7EL1ZkRz5fj" alt=""><figcaption><p>App ID</p></figcaption></figure>

### **Get App Secret**

Copy the Facebook page **'App Secret'** to the settings page which can be found on the **'Settings'** section and select **'Basic'** from the drop-down menu. Settings basic app will be displayed, click the '**Show'** button on the app secret. See the image below.

![Get App Secret](/files/PB8KxLaDBLPhWqewIp53)

Paste '**App Secret'** pada pop-up dari channel setting.

![Show App Secret](/files/yQg8fbzXkVrPLnMcul3l)

### Get User Access Token

Tempelkan **'User Access Token'** into the Facebook page channel settings box.

![User Access Token](/files/-MUzaQrRAc4YG0snqkmS)

You can get a user access token by following the steps below.&#x20;

#### Obtain Short-Lived User Access Token

Click the **'Tools'** menu, select '**Graph API Explorer'**.

![Graph API Explorer](/files/9JGVoWuVtCwb4KHppOWy)

In the **Meta App** field, select an app used to obtain the user access token.

![Obtain Access Token](/files/q2N3j0nf4R9cpINP4K06)

Click **User Token** → **Get User Access Token**.&#x20;

![Get User Access Token](/files/PmGVuAQw45DEbLFXY88P)

Then, select permission for your user access token. Please refer to [this](/integration/channel-connector/facebook/how-to-create-facebook-app/permission-and-feature.md) documentation to know what permission must be selected. Additionally, you must add additional permissions particularly **`instagram_basic`**` ``and`` `**`instagram_manage_comments`**.

![Select Permission](/files/XdIiFQhMhFCH8jHRaqUt)

Click the **'Generate Access Token'** button and you will be requested to log in to your Facebook account.

<figure><img src="/files/D5ZUtVxMf69sWWcc4m3U" alt=""><figcaption><p>Generate User Acces Token</p></figcaption></figure>

Then, select your Instagram business account and click **'Next'**.

<figure><img src="/files/rPDaKpwuOTm9E8rVT4yi" alt=""><figcaption><p>Select Intagram Business Account</p></figcaption></figure>

Select your Facebook page then click **'Next'**.

<figure><img src="/files/hQYS5pOacgbENMI2d4Wl" alt=""><figcaption><p>Select Facebook Page</p></figcaption></figure>

Pop-up permission will appear to manage your business Instagram account and click **'Done'**.

<figure><img src="/files/PGHJgu24dItgcZeTX2VO" alt=""><figcaption><p>Pop-up permissions</p></figcaption></figure>

Then, click the **'Copy'** button to copy the **User Access Token**.

<figure><img src="/files/VlC2v1sEtYCOEnf622AD" alt=""><figcaption><p>Copy User Access Token</p></figcaption></figure>

Check the properties in [**Access Token Debugger**](https://developers.facebook.com/tools/debug/accesstoken)**,** paste the access token copied in the last step above to the text field, and click the **'Debug'** button.

![Access Token Debugger](/files/4iUUzs68CyByFh2w0i29)

Please check the followings:

![Access Token Info](/files/-MUs-ULOxEyZVXIYyuMa)

1. **App ID**: the app id mentioned in the prerequisite section.
2. **Type:** user.
3. **User ID**: you, a person who has admin right to the Facebook Page mentioned in the prerequisite section
4. **Expires**: a time stamp that would probably expire in an hour.&#x20;
5. **Scope**: includes predetermined added permissions.&#x20;

#### Exchange for Long-Lived User Access Token

Click the **'Extend Access Token'** button to get a long-lived token

<figure><img src="/files/BFWcniFiTvkxPup7ArJt" alt=""><figcaption><p>Extend Access Token</p></figcaption></figure>

Click the **'Debug'** button.

![Debug Access Token](/files/bG032GD15152gGhkBlVH)

Check the properties of this access token in **Access Token Debugger**. It should have a longer time, such as 60 days.

![User Access Token](/files/yzhTasbPhSOGnGxN5gwJ)

Check the properties of this page access token in **Access Token Debugger**:

1. **App ID**: the app id mentioned in the prerequisite section.&#x20;
2. **Type**: user.
3. **User ID**: you, a person who has admin right to the Facebook Page mentioned in the prerequisite section
4. **Expires:** in about 2 months.
5. **Scopes:** includes predetermined added permissions.&#x20;

### Get Page Access Token

Paste **'Page Access Token'** into the Facebook page channel settings box.

<figure><img src="/files/OcuicVDhn2qxqD3WJRUV" alt=""><figcaption><p>Page Access Token</p></figcaption></figure>

You can get a page access token by following the steps below.&#x20;

#### Obtain Short-Lived User Access Token

Click the **'Tools'** menu, select '**Graph API Explorer'**.

<figure><img src="/files/JqwSAjEJnEJbjNiGJj4h" alt=""><figcaption><p>Graph API Explorer</p></figcaption></figure>

In the **Meta App** field, select an app used to obtain the page access token.

<figure><img src="/files/K27Mlbpjdb6RYVtidFOV" alt=""><figcaption><p>Obtain Page Access Token</p></figcaption></figure>

Click **Get Token** → **Get Page Access Token** dan pilih Facebook page milik Anda.

<figure><img src="/files/9QYlktQlRuJfMCvdOURa" alt=""><figcaption><p>Get Page Access Token</p></figcaption></figure>

Then, select permission for your user access token. Please refer to [this](/integration/channel-connector/facebook/how-to-create-facebook-app/permission-and-feature.md) documentation to know what permission must be selected. Additionally, you must add additional permissions particularly **`instagram_basic`**` ``and`` `**`instagram_manage_comments`**.

<figure><img src="/files/dJGXLQ1OCOtsUtVeNNoa" alt=""><figcaption><p>Select Permission Page Access Token</p></figcaption></figure>

Then, click the **'Copy'** button to copy the **Page Access Token**.

<figure><img src="/files/jAGYkODW7Cd8JukltgmC" alt=""><figcaption><p>Copy Page Access Token</p></figcaption></figure>

Check the properties in [**Access Token Debugger**](https://developers.facebook.com/tools/debug/accesstoken)**,** paste the access token copied in the last step above to the text field, and click the **'Debug'** button.

<figure><img src="/files/bp449qika6NbhdbhzJp7" alt=""><figcaption><p>Access Token Debugger</p></figcaption></figure>

Please check the followings:

<figure><img src="/files/JgYLbMg4kxnVKEVPYDaT" alt=""><figcaption><p>Page Access Token</p></figcaption></figure>

1. **App ID**: the app id mentioned in the prerequisite section
2. **Type:** page.
3. **User ID**: you, a person who has admin right to the Facebook Page mentioned in the prerequisite section
4. **Expires**: a time stamp that would probably expire in an hour.&#x20;
5. **Scope**: includes predetermined added permissions.&#x20;

#### Exchange for Long-Lived User Access Token

Click the **'Extend Access Token'** button to get a long-lived token.

<figure><img src="/files/hw6wyxOroYKi6xVCVzls" alt=""><figcaption><p>Extend Page Access Token</p></figcaption></figure>

Click the **'Debug'** button.

<figure><img src="/files/tanNa2cGa5RpeYt9VX2x" alt=""><figcaption><p>Debug Page Access Token</p></figcaption></figure>

Check the properties of this access token in **Access Token Debugger**. It should have a longer time such as 60 days.

<figure><img src="/files/3OWMGgG4eVLlZ5ny1UNe" alt=""><figcaption><p>Page Access Token</p></figcaption></figure>

Check the properties of this page access token in **Access Token Debugger**:

1. **App ID**: the app id mentioned in the prerequisite section.&#x20;
2. **Type**: page.
3. **User ID**: you, a person who has admin right to the Facebook Page mentioned in the prerequisite section
4. **Expires:** in about 2 months.
5. **Scopes:** includes predetermined added permissions.&#x20;

Then, click the **'Authorize'** button on the pop-up channel setting.

<figure><img src="/files/iCf3KqZZNArtEApHmcbE" alt=""><figcaption><p>Authorize Channel</p></figcaption></figure>

Select your Instagram business account.

<figure><img src="/files/dhvaRAjt3v6QZXEk5fzw" alt=""><figcaption><p>Select Insagram Business Account</p></figcaption></figure>

Then, select your Facebook page and click **'Next'**.

<figure><img src="/files/0mYdN48t87EnJXyf40Ff" alt=""><figcaption><p>Select Facebook Page</p></figcaption></figure>

Check permissions to an add Instagram channel then click 'Done'.

<figure><img src="/files/jFiECKUyVQAPk8e3UXRH" alt=""><figcaption></figcaption></figure>

A pop-up will appear to add your Instagram business then click 'Add Page Channel'.

![Add Page Channel](/files/ZFqefvZadGPFV8iImfv2)

After authorize successfully, click the **'Save'** button.

<figure><img src="/files/4H6IjLKq7qe6R6pasGej" alt=""><figcaption><p>Save Channel Setting</p></figcaption></figure>

Your Instagram business channel **"saas\_dolphins"** has been successfully created.&#x20;

![Instagram Channel Created](/files/KgxdfONSsg9FmST3yX7o)

**Component Explanation:**

<table><thead><tr><th width="111.66666666666666">No.</th><th width="229">Component</th><th>Description</th></tr></thead><tbody><tr><td>1.</td><td>Channel Name</td><td>Name of your Instagram Business channel. Hover on the channel name to view the channel port.</td></tr><tr><td>2.</td><td>Channel ID</td><td>Each channel registered in Omni Channel 3Dolphins has a different ID.</td></tr><tr><td>3.</td><td>Channel Config Button</td><td>Click to edit the LOBs that can access this channel.</td></tr><tr><td>4. </td><td>Channel URL Edit Button</td><td>Click to edit channel URL. If connecting with proxy, please adjust the URL accordingly.</td></tr><tr><td>5</td><td>Channel URL Copy Button</td><td>Click to copy the channel URL to the clipboard.</td></tr><tr><td>6</td><td>Online / Offline Button</td><td>Click to turn on or off the channel. Red means offline, Green means online.</td></tr><tr><td>7</td><td>Refresh Button</td><td>Refresh your channel at any time to ensure you are always up to date with the refresh button.</td></tr></tbody></table>
