Skip to content

Commit c3e76e1

Browse files
authored
DEVDOCS-6212:[Update]B2B Refresh - Non-Catalyst Channel Setup (#861)
# [DEVDOCS-6212](https://bigcommercecloud.atlassian.net/browse/DEVDOCS-6212) ## What changed? * Article title reflects that steps are for non-Catalyst frameworks * Link to API Accounts article in Step 1 uses standard URL instead of directing to specific text * Includes an introduction with a callout to Catalyst's B2B-specific documentation * Step 6 now has an accompanying screenshot of the Headless Storefronts area of the B2B Edition control panel ## Release notes draft * The article now reflects that it is geared toward non-Catalyst frameworks, and provides a link to Catalyst-specific instructions for integration. ## Anything else? ping @bc-terra [DEVDOCS-6212]: https://bigcommercecloud.atlassian.net/browse/DEVDOCS-6212?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
1 parent 8cf9853 commit c3e76e1

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

docs/b2b-edition/headless.mdx

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
1-
# Creating Channels
1+
# Channel Setup for Non-Catalyst Frameworks
2+
3+
B2B Edition's Buyer Portal can be used with headless storefronts created using a third-party solution, such as WordPress or Next.js. This allows you to extend B2B Edition's front-end buyer tools to multiple headless storefronts, while managing your back-end processes from the BigCommerce control panel.
4+
5+
Follow the instructions in this article to set up a headless storefront channel that uses the default, hosted version of the Buyer Portal. If you want to deploy a locally-developed custom Buyer Portal to your headless channel, see the [Headless Guide](https://github.com/bigcommerce/b2b-buyer-portal/blob/main/docs/headless.md) in the `b2b-buyer-portal` repository.
6+
7+
<Callout type="info">
8+
These instructions are for enabling B2B Edition on non-Catalyst headless frameworks. See [B2B Edition](https://www.catalyst.dev/docs/b2b) for Catalyst-specific considerations.
9+
</Callout>
210

311
<Steps>
412

513
### Prepare
614

7-
You will need to create two API tokens for your BigCommerce store. They have different permissions required, so please pay attention to which one is used for the step you are working on. Refer to this [support article](https://support.bigcommerce.com/s/article/Store-API-Accounts?language=en_US#:~:text=Level%20API%20Accounts-,1.,to%20use%20the%20API%20account) for more information on how to create API Accounts.
15+
You will need to create two API tokens for your BigCommerce store. They have different permissions required, so please pay attention to which one is used for the step you are working on. Refer to this [support article](https://support.bigcommerce.com/s/article/Store-API-Accounts) for more information on how to create API Accounts.
816

917
* Create a token (TOKEN_A) with modify permissions for the following resources:
1018
- Channel listings
@@ -42,10 +50,6 @@ X-Auth-Token: {{TOKEN_A}}
4250
}
4351
```
4452

45-
<Callout type="info">
46-
Currently we’re working with [Vercel template, and that uses NextJS](https://github.com/B3BC/b2b-headless-example).
47-
</Callout>
48-
4953
### Generate an impersonation token
5054

5155
[Generate an impersonation token](/docs/storefront-auth/tokens/customer-impersonation-token) by using the next cURL as base and using TOKEN_B.
@@ -64,7 +68,7 @@ X-Auth-Token: {{TOKEN_B}}
6468

6569
### Create a site for the channel
6670

67-
[Create the site for the channel](/docs/rest-management/sites#create-a-site), you should use TOKEN_A.
71+
[Create the site for the channel](/docs/rest-management/sites#create-a-site), using TOKEN_A.
6872

6973
```http filename="Example request: Create an impersonation token" showLineNumbers copy
7074
POST https://api.bigcommerce.com/stores/{store_hash}/v3/sites
@@ -92,7 +96,9 @@ Add the following script tag on your application.
9296
```
9397
### Enable headless channel on the B2B dashboard
9498

95-
In the B2B dashboard, go to **Storefronts** > **Headless Storefronts** and select **Activate B2B** for the storefront channel.
99+
In the B2B Edition control panel, go to **Storefronts** > **Headless Storefronts** and select **Activate B2B** for the storefront channel.
100+
101+
![Activating B2B on a headless storefront](https://storage.googleapis.com/bigcommerce-production-dev-center/images/B2B%20Edition/Channel-Setup-for-non-Catalyst-Frameworks/enable-b2b-headless.png)
96102

97103
### Make products available on your new channel
98104

0 commit comments

Comments
 (0)