# Connect E-commerce Store

***

## Overview

The **Connect E-commerce Store** feature lets you link your CX Genie bot directly with online store platforms such as **Shopify** or **WooCommerce**.

This integration enables the bot to:

* Access your **product catalog**
* Provide **real-time pricing and stock status**
* Answer detailed product questions with live data

![Figure 1. Training Data - E-commerce store panel](/files/vHFPHeMvIq1zOG3XCMUs)

***

## Steps to Use

#### 1. Access the E-commerce Tab

* Go to **Training Data** → **Connect E-commerce Store**.

#### 2. View Connected Stores

* See all stores linked to your bot.
* Columns include **Store name**, **Platform** (Shopify/WooCommerce), and **Actions**.
* Use the 🗑️ Trash icon to remove a store connection.

#### 3. Add a New Store Connection

1. Click **Connect Store**.
2. Choose **Shopify** or **WooCommerce**.

**For Shopify**

* Enter **Access token**.
* Enter **Store permanent link** (e.g., `shop.myshopify.com`).
* Click **Connect**.

**For WooCommerce**

* Enter **Consumer key** and **Consumer secret**.
* Enter **Store permanent link** (e.g., `mydomain.com`).
* Click **Connect**.

#### 4. View Store Details & Products

* Click on a connected store name → open details panel.
* See a list of products with **name, price, stock availability**.
* Use the search box to find specific products.

<figure><img src="/files/kRDGr63eULnZNebdeTnB" alt=""><figcaption><p>Figure 2. Store details</p></figcaption></figure>

#### 5. View Product Details

* Click a product → view details:

  * Product image
  * Price & stock count
  * Description
  * Direct product page link

  <figure><img src="/files/td2bLmi1v0CWXwS8wFRT" alt=""><figcaption><p>Figure 3. Product details</p></figcaption></figure>

#### 6. Remove a Store Connection

* In the store details panel, click **Remove Store** to disconnect.

## Example / Use Case

A Shopify store owner connects their shop to CX Genie.

* Customers ask: *“Is the Mocha Latte Pack in stock?”*
* The bot fetches real-time stock and pricing from Shopify and replies instantly.
* This reduces manual updates and improves customer shopping experience.

***

## Notes

* Only **1 store connection per bot** is supported.
* Credentials needed:
  * Shopify → Access token + store link
  * WooCommerce → Consumer key, secret, and store link
* Data is updated **in real-time** when synced.
* Removing a store connection deletes all linked product data.
* Switching platforms? → Remove the old store before adding the new one.
* 📄 Guide for access tokens: [Shopify/WooCommerce Integration PD](https://storage.cxgenie.ai/Guide-Integration-Shopify-WooCommerce.pdf)

***

## Quick Tips

* Sync regularly to ensure stock and prices are accurate.
* Use descriptive product names in your store — the bot uses these for search.
* Test product queries in **Chat with Bot** after integration.

## Troubleshooting

* **Connection fails** → Check credentials (Access token / Consumer key & secret).
* **Products not syncing** → Confirm store data is published and live.
* **Bot not answering with product info** → Re-sync or refresh the integration.
* **Exceeded 1 store limit** → Remove existing connection before adding a new one.


---

# 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://documents.cxgenie.ai/bots/training-your-bot/connect-e-commerce-store.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.
