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-9Lines changed: 4 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,5 @@
1
1
# B2B Edition
2
2
3
-
<Callouttype="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
-
9
3
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.
10
4
11
5
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
26
20
- Git and a GitHub account.
27
21
- Node.js and PNPM.
28
22
- 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.
31
25
32
26
### 1. Using Catalyst CLI
33
27
@@ -57,7 +51,8 @@ Also add the B2B related environment variables:
57
51
58
52
- B2B_API_HOST: https://api-b2b.bigcommerce.com.
59
53
- 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.
61
56
62
57
Once all environment variables are set, we can proceed with deployment.
0 commit comments