Skip to content

Commit e5d982f

Browse files
committed
B2B-3725 - BC token as an alternative to B2B
1 parent e2b7f86 commit e5d982f

File tree

1 file changed

+4
-3
lines changed
  • docs/storefront/catalyst/development

1 file changed

+4
-3
lines changed

docs/storefront/catalyst/development/b2b.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ To create a B2B storefront on the Catalyst platform, you will need the following
2626
- Git and a GitHub account.
2727
- Node.js and PNPM.
2828
- A Vercel account. Using your GitHub account to sign up is recommended for ease.
29-
- A V3 BC API token.
30-
- A V3 B2B API token. You can retrieve this from the B2B control panel under the "API Accounts" tab by clicking "Create API account." Ensure it is a V3 API token.
29+
- A V3 BC API token with Sites and B2B Edition scopes.
30+
31+
- **DEPRECATED, please use the above BC API token with scopes** A V3 B2B API token. You can retrieve this from the B2B control panel under the "API Accounts" tab by clicking "Create API account." Ensure it is a V3 API token.
3132

3233
### 1. Using Catalyst CLI
3334

@@ -48,6 +49,7 @@ Environment variables to add:
4849
- BIGCOMMERCE_STORE_HASH
4950
- BIGCOMMERCE_STOREFRONT_TOKEN: Use your store API key to get a storefront token. Refer to the BigCommerce developer documentation for [creating a token](https://developer.bigcommerce.com/docs/rest-authentication/tokens#create-a-token).
5051
- BIGCOMMERCE_CHANNEL_ID
52+
- BIGCOMMERCE_ACCESS_TOKEN: A store-level API account token used for REST API actions. This integration requires `modify` scope on B2B Edition for this token.
5153
- ENABLE_ADMIN_ROUTE: Default to `true`.
5254
- AUTH_SECRET: Generate it using `openssl rand -hex 32`.
5355
- TURBO_REMOTE_CACHE_SIGNATURE_KEY: Generate using openssl rand -hex 32.
@@ -57,7 +59,6 @@ Also add the B2B related environment variables:
5759

5860
- B2B_API_HOST: https://api-b2b.bigcommerce.com.
5961
- This is the domain of the B2B API. NOTE: Make sure this value does not have a trailing slash.
60-
- B2B_API_TOKEN: The V3 B2B API token obtained during the preparation step.
6162

6263
Once all environment variables are set, we can proceed with deployment.
6364

0 commit comments

Comments
 (0)