Skip to content

Commit 1dfbd84

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

File tree

1 file changed

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

1 file changed

+4
-9
lines changed

docs/storefront/catalyst/development/b2b.mdx

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
# B2B Edition
22

3-
<Callout type="warning">
4-
The information in this doc is **deprecated**.
5-
6-
The current integration is experimental, and the code branch `integrations/b2b-buyer-portal` is deprecated. A more robust guide is in development and will be published soon.
7-
</Callout>
8-
93
Following these steps will help you integrate Catalyst with B2B Edition's Open Source Buyer Portal, which is a traditional client-side rendered React application. The steps below also document the process for running the B2B Buyer Portal React application locally, so that you can customize the experience inside of the Buyer Portal if required.
104

115
This implementation primarily handles authentication with the B2B Storefront API and triggering the render of the Buyer Portal on top of Catalyst. It is similar to the experience currently available for BigCommerce's Stencil storefront framework.
@@ -26,8 +20,8 @@ To create a B2B storefront on the Catalyst platform, you will need the following
2620
- Git and a GitHub account.
2721
- Node.js and PNPM.
2822
- 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.
23+
- A V3 BC API token with Sites and B2B Edition scopes.
24+
- **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.
3125

3226
### 1. Using Catalyst CLI
3327

@@ -57,7 +51,8 @@ Also add the B2B related environment variables:
5751

5852
- B2B_API_HOST: https://api-b2b.bigcommerce.com.
5953
- 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.
54+
- BIGCOMMERCE_TOKEN_WITH_B2B_SCOPE: A BC store-level access token with B2B edition scopes.
55+
- **deprecated, please use BIGCOMMERCE_TOKEN_WITH_B2B_SCOPE instead** B2B_API_TOKEN: The V3 B2B API token obtained during the preparation step.
6156

6257
Once all environment variables are set, we can proceed with deployment.
6358

0 commit comments

Comments
 (0)