# \*Setup E-Commerce Store

### Prerequisites

Before you begin, ensure you have:

1. Admin access to your e-commerce platform
2. Access to the VU Custom Admin Panel
3. Your store's API credentials (if applicable)

### Set Up E-Commerce Store

#### 1. Generate Shopify Access Token and Setup Webhook

{% content-ref url="/pages/NNlydT7CGAaoE9froN4j" %}
[Shopify setup](/vu-custom/onboarding/setup-e-commerce-store/shopify-setup.md)
{% endcontent-ref %}

#### 2. Connect to VU Custom

Now that you have your Shopify access token and webhooks set up, you can connect your store to VU Custom

1. Log in to your [VU Custom Admin](https://admin.vucustom.com/users/sign_in) site.
2. In the top bar, click **Settings** and select **Stores** from dropdown.

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

3. The page lists the available stores. Click on **Add New** to add a new store. If you have no stores linked, click **Create New Store** to link a store.

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

4. Select Your E-commerce Platform.

<figure><img src="/files/8xJ3NpSAc5978lOZLQ6g" alt=""><figcaption></figcaption></figure>

5. Enter Required Details.

   | Field                     | Description                                                                                                                                                                                                                                               |
   | ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
   | Name                      | Store name.                                                                                                                                                                                                                                               |
   | Shopify domain            | URL address of the brand store.                                                                                                                                                                                                                           |
   | Shopify token             | The brand's access token generated from Shopify.                                                                                                                                                                                                          |
   | Create fulillment         | Enables fulfillment flow from VU OMS into Shopify. This means that when an order is marked as fulfilled from within VU OMS, the status will also be changed inside Shopify. This is typically used only when VU OMS is the source of truth for inventory. |
   | Enable order paid webhook |                                                                                                                                                                                                                                                           |
   | Currency                  | Currency the store accepts.                                                                                                                                                                                                                               |
   | Locale                    |                                                                                                                                                                                                                                                           |
   | Store key                 | automatically created by VU in the backend, and is used for the JS Snippet (when loading the customizer on a product page).                                                                                                                               |

<div align="right"><figure><img src="/files/XiXQg8Av161lAcYsx59n" alt="" width="563"><figcaption></figcaption></figure></div>

*
* The ‘enable order paid webhook’ checkbox does the same thing as section 2, but it does it in the backend. We only need section 2 as a failsafe, this checkbox should be the standard requirement since it’s easier.
* Currency this store accepts.
* Store key I believe is automatically created by VU in the backend, and is used for the JS Snippet (when loading the customizer on a product page).


---

# 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://vu-custom.gitbook.io/vu-custom/onboarding/setup-e-commerce-store-1.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.
