> For the complete documentation index, see [llms.txt](https://software-help-docs.gitbook.io/knowledge-base/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://software-help-docs.gitbook.io/knowledge-base/software-guide/integration-and-widget/instagram-direct-messaging-integration.md).

# Instagram Direct Messaging Integration

Instagram Direct Messages (DMs) are a great way to communicate with leads and contacts. Now you can integrate your Instagram account to our software, to give you additional options for automating Triggers and communicating directly with leads in the Conversations tab. Follow the steps below to learn how to integrate your Instagram account for DMs.

**Step 1: Connect your Facebook and Instagram accounts**

* In order to use Instagram Direct Messaging, you’ll need to have the Instagram Account connected to a Facebook page. Click here to learn Instagram’s instructions on how to do this: [How To Link Instagram and Facebook](https://help.instagram.com/176235449218188)

***NOTE*****:** You will also need to ensure you have properly enabled your Instagram messaging connection across other apps and systems. This is done through Facebook/Instagram directly, within your settings. Check out Facebook/Instagram’s article on how to ensure your settings are properly enabled to take advantage of this feature. Click here to access the Facebook/Instagram details: <https://www.facebook.com/help/instagram/791161338412168>

**Step 2: Integrate your Facebook and Instagram accounts into** our software

* Navigate to Settings > Integrations
* Click Connect under your Facebook and Instagram to connect both. (To start, the icons will both be grayed out; they’ll turn colorful once the integration is complete.)

***NOTE:*** If you already have Facebook integrated, the “F” icon will be highlighted in blue, as shown below.

{% embed url="<https://lh3.googleusercontent.com/VGa0EiEA8mLQO53LkQ6SvY7Do6Ucvdv_mU3j2t0j7uSatE8Xmvso8JbzvECyfPxngsb33iyBdUUUFxyNVa_sRN70K8zDb95GTEG2Ohx2ek8QggB3FSIKLaCeleKZJbciTaCzcBOVmTQEfmY5FmrV9qo>" %}

*
* Follow the instructions in the pop-up window to complete the integration. You may need to log in to your Facebook and/or Instagram account to accept the permission requests and complete the integration.

**Step 3: Start using the Instagram DM features**

* There are a few options within our software for taking advantage of the Instagram DM features:
  * First, you can Navigate to Conversations. Here you can communicate directly with contacts who have sent you an Instagram DM.
  * Or, you can navigate to Triggers and filter by “reply channel” and choose “Instagram DM” to set up triggers based on Instagram DMs coming in.

{% embed url="<https://lh5.googleusercontent.com/ew0a9I2mOwR_7UQZ6KPu4aKXowWX0jEW6aT5QdPuRi2wa-8Y_9ZqgkdvttyxyqBow3mSFfyByHgDMKcEkb8tI9CsjGbsrAcX0kiiNi5qAGPhbgcHD7aKJazUHlP1ojEwpJlJmFtTZeEeymuMlIKHsrA>" %}

* You can also create a Workflow trigger setting the “reply channel” as “Instagram DM”.

{% embed url="<https://lh5.googleusercontent.com/tgDt__AJctlsgLTXTdC50g0b-K7ZoZdqhKoRZnOn3UVgcmlnCH84ITRWWame_gTtvOw5qt5kfltL0YcZezoLW_1lrxG2NxjNr2mFY1K_GR9HVsQaBBN8TBJGiYC1tX2Sam10LLnKs7pRSqrd5yfPdHI>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://software-help-docs.gitbook.io/knowledge-base/software-guide/integration-and-widget/instagram-direct-messaging-integration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
