# How to connect

### Steps to connect

1. **Go to the Integrations Area** – Navigate to **Settings > Integrations** in Zaapi.
2. **Click "Connect Facebook & Instagram"** – Both platforms must be connected together in this step.
3. **Ensure Business Portfolio Linkage** – Your Facebook and Instagram accounts must be linked to the appropriate **Business Portfolio** before proceeding.
4. **Log Into Facebook** – A new pop-up will appear. Sign in with your Facebook account, ensuring you have **admin access** to the pages/accounts you wish to connect.
5. **Select Pages** – Choose the Facebook pages you want to connect, then click **Continue**.
6. **Select Business Portfolios** – Pick the business portfolios you want to connect, ensuring they include the pages selected in the previous step. Click **Continue**.
7. **Select Instagram Accounts** – Choose the Instagram accounts you want to connect, then click **Continue**.
8. **Confirm and Save** – Click **Save**, then click **Got it** to finalize the connection.
9. **Wait for Zaapi to Complete the Integration** – You will be redirected back to Zaapi, where the integration process will take a few seconds to complete. Once done, your Facebook and Instagram accounts will be successfully connected.

{% hint style="warning" %}
Ensure your Facebook page and Instagram profile are linked together before connecting. To find out how, [click here](https://www.facebook.com/business/help/connect-instagram-to-page).
{% endhint %}


---

# 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://help.zaapi.com/integrations/facebook-messenger/how-to-connect.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.
