---
title: BigCommerce
description: The BigCommerce app adds a field type for referencing products and categories from a connected BigCommerce store.
url: https://www.storyblok.com/docs/apps/bigcommerce
---

# BigCommerce

The BigCommerce app adds a field type for selecting products and categories from a connected [BigCommerce](https://www.bigcommerce.com/) store and referencing them in Storyblok content. The selection is part of the API response.

Read more about connecting a store in the [e-commerce concept](/docs/concepts/e-commerce).

## Features

-   Select BigCommerce products and categories in the Visual Editor.
-   Select more than one item at a time.
-   Limit how many items an editor can select.
-   Restrict the field to products only or categories only.

## Setup

1.  In BigCommerce, create a [store-level API account](https://developer.bigcommerce.com/docs/start/authentication/api-accounts#store-level-api-accounts) with the Products scope set to read-only and the Storefront API tokens scope set to manage.
2.  Create a [storefront API token](https://developer.bigcommerce.com/docs/rest-authentication/tokens#create-a-token) with `allowed_cors_origins` set to `https://plugins.storyblok.com`.
3.  In the Storyblok **Block Library**, add a field to a block, set its field type to **Plugin**, and set the custom type to `sb-bigcommerce`.

The field takes the following options:

| Option | Required | Description |
| --- | --- | --- |
| `endpoint` | Yes | Domain of the BigCommerce store. |
| `token` | Yes | Storefront API token. |
| `limit` | No  | Maximum number of items an editor can select. |
| `selectOnly` | No  | Restricts the field to `product` or `category`. |

## Further resources

[BigCommerce in the app directory](https://www.storyblok.com/apps/storyblok-gmbh@bigcommerce-fieldtypes)

## Pagination

-   [Previous: Autosave](/docs/apps/autosave)
-   [Next: Broken Links Checker](/docs/apps/broken-links-checker)
