> For the complete documentation index, see [llms.txt](https://docs.eesel.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eesel.ai/integrations/e-commerce/bigcommerce/bigcommerce-setup.md). Agents can also search and read this documentation through its [MCP server](https://docs.eesel.ai/~gitbook/mcp).

# Set up BigCommerce

BigCommerce setup for your AI agent, screen by screen: create a store-level API account, copy the store hash and access token, and connect them in eesel.

Setting up BigCommerce for your AI agent takes one API account in your BigCommerce control panel and one form in eesel. This page walks through it screen by screen. You create a store-level API account, and BigCommerce gives you an access token. You paste that token, plus your store hash, into the eesel connect form. You do it once. For what your teammate does with the store, see the [BigCommerce overview](https://docs.eesel.ai/integrations/e-commerce/bigcommerce.md).

## Before you begin

* You need a BigCommerce user who can open **Settings** and create API accounts, usually the store owner.
* Keep a text editor open. BigCommerce shows the access token only once.

## Walkthrough

{% stepper %}
{% step %}

### Open Store-level API accounts

Sign in to your BigCommerce control panel. In the left sidebar click **Settings**.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-b08c6ae6faa223e664e05224e6072e295e815c73%2Fbigcommerce-admin-settings.png?alt=media" alt="The BigCommerce control panel home page with a callout on Settings in the left sidebar"><figcaption><p>Settings in the BigCommerce sidebar.</p></figcaption></figure>

Scroll down to the **API** section and click **Store-level API accounts**.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-75445865ca4a9144709d41027ed775ebda38ad1f%2Fbigcommerce-admin-api-accounts-link.png?alt=media" alt="The API section of BigCommerce Settings with a callout on Store-level API accounts"><figcaption><p>Store-level API accounts, in the API section of Settings.</p></figcaption></figure>
{% endstep %}

{% step %}

### Create an API account

Click **Create API account**.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-dbd7109c2ff555a5559b3cf54178a43174d8dcbf%2Fbigcommerce-admin-create-api-account.png?alt=media" alt="The Store-level API accounts page with a callout on the Create API account button"><figcaption><p>The list of API accounts, with the Create API account button.</p></figcaption></figure>

Leave **Token type** on **V2/V3 API token**. Give the account a name you will recognise later, such as "eesel AI agent".

Then copy the **store hash** from the **API path**. It is the short code between `/stores/` and the next slash. In `https://api.bigcommerce.com/stores/abc123xyz/v3/` the store hash is `abc123xyz`.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-4bace89dbc4c0c9adc6b094cfb22bfe55b410e4b%2Fbigcommerce-admin-name-store-hash.png?alt=media" alt="The Create account form with callouts to give it a name and to copy the store hash out of the API path"><figcaption><p>The name, and the store hash inside the API path.</p></figcaption></figure>
{% endstep %}

{% step %}

### Set the access, then save

Under **OAuth scopes**, set **Content** to **read-only**, then set **Customers** to **modify** and **Orders** to **modify**.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-76952bc99235ec847f2c80ef9c78419ea37e83aa%2Fbigcommerce-admin-scopes-customers-orders.png?alt=media" alt="The OAuth scopes list with callouts to set Customers to modify and Orders to modify"><figcaption><p>Customers and Orders, both set to modify.</p></figcaption></figure>

Scroll down, set **Information & Settings**, **Products**, **Store Inventory** and **Store Locations** to **read-only**, and click **Save**.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-58e689afbb62bb516ee81c1dd4d4eecbed369823%2Fbigcommerce-admin-scopes-products-save.png?alt=media" alt="Further down the OAuth scopes list, with callouts to set Products to read-only and then click Save"><figcaption><p>Products set to read-only, then Save.</p></figcaption></figure>

What each one is for:

* **Content: read-only.** Lets your agent learn your storefront pages and blog posts.
* **Orders: modify.** Read covers order lookups. Modify adds cancelling, refunding and fixing a shipping address.
* **Customers: modify.** Read covers finding a customer by email or phone, and reading your customer groups and segments. Modify adds fixing the address saved on their account.
* **Information & Settings: read-only.** Gives your agent your store's name and web address, so the product links it shares point to your storefront.
* **Products: read-only.** Covers catalogue search, stock and the Products source. Set it to **modify** only if you want your agent to create, change or delete products.
* **Store Inventory: read-only.** Lets your agent check a product's stock at each of your locations.
* **Store Locations: read-only.** Lets your agent list your locations, with their addresses and hours. When your agent chats with a shopper, it also uses this to leave out locations you hide from your storefront.

Leave everything else on **None**. Modify includes read, so you do not need to tick read-only as well. Granting access does not turn an action on. You choose that later, per action, in eesel.
{% endstep %}

{% step %}

### Copy the access token

BigCommerce shows the **BigCommerce API credentials** pop-up. Copy the **Access token**, then click **Done**. Your browser also downloads a text file with the same values.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-bdbc9a9c9bb1ea2d124dcd13b30e634344ead90d%2Fbigcommerce-admin-api-credentials.png?alt=media" alt="The BigCommerce API credentials pop-up with the Client ID, Client secret and Access token masked, callouts to copy the Access token and then click Done"><figcaption><p>The credentials pop-up. eesel needs only the Access token.</p></figcaption></figure>

{% hint style="warning" %}
This is the only time BigCommerce shows the access token. If you lose it, delete the API account and create a new one. eesel does not need the Client ID or the Client secret.
{% endhint %}
{% endstep %}

{% step %}

### Connect it in eesel

In the eesel dashboard, open **Integrations > BigCommerce** and click **Connect**. You can also ask the chat to connect BigCommerce, and follow its link. A form opens with two fields.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-0662e10890beb24befe23defdf39281293e87feb%2Fbigcommerce-connect-form.png?alt=media" alt="The BigCommerce connect form with empty store_hash and access_token fields and a Continue button"><figcaption><p>The connect form.</p></figcaption></figure>

Paste the store hash into **store\_hash** and the access token into **access\_token**, with no extra spaces. Click **Continue**. This part is a human step. An AI agent running the setup waits for a person to paste the values in. It waits for the connection status to change, and does not retry.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-59421f5c4b7817ec22cec0f6ef53d741a7171dd1%2Fbigcommerce-connect-form-filled.png?alt=media" alt="The same connect form with the store hash filled in and the access token masked"><figcaption><p>The form filled in, with the token masked.</p></figcaption></figure>

The form confirms the store is connected.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-ec2bcec2e529f85ed4f7381002ca240c5ac3fa5a%2Fbigcommerce-connect-success.png?alt=media" alt="The connect form showing Successfully connected your BigCommerce account, with a Continue button"><figcaption><p>The connection confirmed.</p></figcaption></figure>

**Check it worked.** The BigCommerce integration page reads **Connected**, and BigCommerce appears in the left sidebar. From a terminal, `eesel status` shows the integration as connected.
{% endstep %}

{% step %}

### Put it to work

Connecting alone does not start your agent. It needs an automation first.

Tell your agent when to use the store data. That goes in the instructions of an [automation](https://docs.eesel.ai/automations-and-schedules/automations-and-schedules.md) on your helpdesk, Slack or chat bubble. Then choose what your agent may do on the integration page. To put the chat bubble on your storefront, see [Embed the chat bubble in BigCommerce](https://docs.eesel.ai/integrations/e-commerce/bigcommerce/bigcommerce-embed-chat-bubble.md).
{% endstep %}
{% endstepper %}

## Troubleshooting

<details>

<summary>The connection fails</summary>

* Check the store hash is only the short code from the API path, with no slashes and no `https://`.
* Check you pasted the **Access token**, not the Client ID or Client secret.
* Check the API account still exists in **Settings > Store-level API accounts**. Deleting it stops the token working.

</details>

<details>

<summary>Lookups work, but a cancel, refund or address fix fails</summary>

Orders or Customers is set to read-only. Edit the API account and set both to **modify**. If BigCommerce issues a new token, reconnect BigCommerce in eesel with it.

</details>

<details>

<summary>Your agent can't check stock by location or list your locations</summary>

The API account is missing **Store Inventory** or **Store Locations**. The message your agent gets names which one. Edit the API account, set the missing one to **read-only**, and reconnect BigCommerce in eesel with the new token. If you installed eesel from the BigCommerce App Marketplace, open eesel in your BigCommerce control panel (**Apps > My Apps**) and approve its update instead.

</details>

<details>

<summary>You lost the access token</summary>

BigCommerce cannot show it again. Delete the API account, create a new one with the same access, and reconnect BigCommerce in eesel with the new token.

</details>

## FAQ

<details>

<summary>What do I need before I set up BigCommerce with eesel?</summary>

A BigCommerce user who can create store-level API accounts, usually the store owner. Nothing needs installing on the store.

</details>

<details>

<summary>Why does eesel ask for modify access?</summary>

Modify lets your agent cancel, refund and fix addresses when you approve it. Modify includes read, so lookups work too. If you only want lookups, read-only works, and the write actions fail instead.

</details>

<details>

<summary>Is it safe to paste my BigCommerce token into eesel?</summary>

Yes. The token goes into the connect form, never into the chat, and stays masked.

</details>

## Related pages

* [BigCommerce](https://docs.eesel.ai/integrations/e-commerce/bigcommerce.md) for what your teammate does with the store, and the full action list
* [Embed the chat bubble in BigCommerce](https://docs.eesel.ai/integrations/e-commerce/bigcommerce/bigcommerce-embed-chat-bubble.md) for putting your agent on the storefront
* [Actions and Approvals](https://docs.eesel.ai/instructions-and-memory/actions-and-approvals.md) for choosing what your agent may do
* [Integrations overview](https://docs.eesel.ai/integrations/overview.md) for how sources, triggers and actions fit together
* [Set up from Claude Code or the terminal](https://docs.eesel.ai/getting-started/set-up-from-a-coding-agent.md)


---

# 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://docs.eesel.ai/integrations/e-commerce/bigcommerce/bigcommerce-setup.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.
