You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/storefront/catalyst/development/b2b.mdx
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,8 +26,9 @@ To create a B2B storefront on the Catalyst platform, you will need the following
26
26
- Git and a GitHub account.
27
27
- Node.js and PNPM.
28
28
- 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.
31
32
32
33
### 1. Using Catalyst CLI
33
34
@@ -48,6 +49,7 @@ Environment variables to add:
48
49
- BIGCOMMERCE_STORE_HASH
49
50
- 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).
50
51
- 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.
51
53
- ENABLE_ADMIN_ROUTE: Default to `true`.
52
54
- AUTH_SECRET: Generate it using `openssl rand -hex 32`.
53
55
- TURBO_REMOTE_CACHE_SIGNATURE_KEY: Generate using openssl rand -hex 32.
@@ -57,7 +59,6 @@ Also add the B2B related environment variables:
57
59
58
60
- B2B_API_HOST: https://api-b2b.bigcommerce.com.
59
61
- 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.
61
62
62
63
Once all environment variables are set, we can proceed with deployment.
0 commit comments