> For the complete documentation index, see [llms.txt](https://helpdocumentation.gitbook.io/user-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpdocumentation.gitbook.io/user-documentation/integrations/shopify/connect-whatsapp-api-with-shopify.md).

# Connect WhatsApp API with Shopify

### Step 1: Install WhatsApp Official API App on Shopify

1. Login to your **Shopify Store**.
2. Go to **Apps**.
3. Click on **Shopify App Store**.
4. Search for: **WA Official API + AI**\
   &#x20;                                       **OR** \
   You can also directly open the app from the Shopify App Store using the below link: <https://apps.shopify.com/wa-official-api-ai>
5. Open the application and click on **Install**.
6. Click on **Install** again to confirm.

The WhatsApp Official API application will be installed on your Shopify store.

### Step 2: Connect WhatsApp API Account

After installing the app, you need to connect your WhatsApp API account.

1. Open the **WA Official API + AI** app.
2. Enter the following details:
   * API Token
   * Web ID
   * Phone Number ID
3. To get these details:
   * Login to your CRM panel.
   * Go to Access Token (Go to **Channels → 3 dots → Access Token**)
   * Copy the required details:
     * Access Token
     * WABA ID
     * Phone Number ID
4. Paste the copied details into the Shopify app.
5. Click on **Connect Account**.

Your Shopify store and WhatsApp Official API account will now be connected.

### Step 3: Enable WhatsApp API Bridge

To complete the Shopify integration:

1. Open the setup instructions inside the app.
2. Click on **Open Theme Editor**.
3. From the left-side menu, find: **WA Official API Bridge**
4. Enable the bridge.
5. Click on **Save**.

The bridge setup is now completed.

### Step 4: Enable Visitor Tracking

To track visitors on your Shopify website:

1. Go to the **Visitor Tracking** section.
2. Click on **Enable Tracking**.
3. Wait for a few seconds.
4. The page will automatically reload.
5. Once completed, it will show: **Pixel is Connected**

Visitor tracking is now enabled.

### Step 5: Verify Integration

To confirm that the Shopify integration is successful:

1. Go to your **Shopify Admin Panel**.
2. Navigate to: **Settings → Customer Events**
3. Check for: **WA Official API Web**
4. If a green status icon is visible, the integration is successfully configured.

{% embed url="<https://youtu.be/noTcPd5H2qA>" %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://helpdocumentation.gitbook.io/user-documentation/integrations/shopify/connect-whatsapp-api-with-shopify.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
