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: CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ Issues labelled `good first contribution`.
44
44
45
45
# Running the MCP server from source
46
46
47
-
When developing the B2C DX MCP package (`packages/b2c-dx-mcp`), use `node` with the path to `bin/dev.js` in args. Build to latest (`pnpm run build` from the repo root) so changes that require a rebuild are reflected when you run the server.
47
+
For information on running the MCP server from source and local development, see [packages/b2c-dx-mcp/CONTRIBUTING.md](packages/b2c-dx-mcp/CONTRIBUTING.md).
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
> [!NOTE]
6
6
> This project is currently in **Developer Preview**. Not all features are implemented, and the API may change in future releases. Please provide feedback via GitHub issues and Unofficial Slack.
7
7
8
-
Salesforce Commerce Cloud B2C Command Line Tools.
8
+
Salesforce B2C Commerce Command Line Tools.
9
9
10
10
> [!TIP]
11
11
> **Just looking for the B2C CLI or MCP install instructions?** Visit the documentation site at [https://salesforcecommercecloud.github.io/b2c-developer-tooling/](https://salesforcecommercecloud.github.io/b2c-developer-tooling/) for the latest install guide and CLI reference.
Copy file name to clipboardExpand all lines: docs/guide/account-manager.md
+21-21Lines changed: 21 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,22 @@
1
1
---
2
-
description: Managing Account Manager users, roles, organizations, and API clients with the B2C CLI — including authentication options, CI/CD automation, and common workflows.
2
+
description: Manage Account Manager users, roles, organizations, and API clients with the B2C CLI, including authentication options, CI/CD automation, and common workflows.
3
3
---
4
4
5
5
# Account Manager Guide
6
6
7
-
The B2C CLI provides commands for managing Account Manager resources — users, roles, organizations, and API clients — directly from the terminal. This guide covers authentication setup, common workflows, and CI/CD automation.
7
+
The B2C CLI provides commands for managing Account Manager resources—users, roles, organizations, and API clients—directly from the terminal. This guide covers authentication setup, common workflows, and CI/CD automation.
8
8
9
9
::: tip
10
10
For the full command reference with all flags and options, see [Account Manager Commands](/cli/account-manager).
11
11
:::
12
12
13
13
## Authentication
14
14
15
-
Account Manager commands work out of the box — no configuration required. The CLI uses a built-in public client that authenticates via browser login. For automation, you can provide your own API client credentials.
15
+
Account Manager commands work out of the box—no configuration is required. The CLI uses a built—in public client that authenticates via browser login. For automation, you can provide your own API client credentials.
16
16
17
17
### Zero-Config (Default)
18
18
19
-
Just run commands. The CLI opens a browser for login using the built-in client:
19
+
Just run the commands without configuring any settings. The CLI opens a browser for login using the built-in client.
20
20
21
21
```bash
22
22
# Works immediately — opens browser for login
@@ -40,7 +40,7 @@ b2c am orgs list --user-auth
40
40
41
41
### Client Credentials
42
42
43
-
Uses the API client's secret for non-interactive authentication. Best for CI/CD pipelines, scripts, and automation.
43
+
Uses the API client's secret for non-interactive authentication. This option is best for CI/CD pipelines, scripts, and automation.
44
44
45
45
```bash
46
46
# List users with client credentials
@@ -53,11 +53,11 @@ Requirements:
53
53
54
54
### Authentication Order
55
55
56
-
By default, the CLI tries client credentials first (if `--client-secret` is provided), then falls back to browser-based user authentication (using either your configured `--client-id` or the built-in public client). To force browser-based login, pass `--user-auth`.
56
+
By default, the CLI tries client credentials first (if `--client-secret` is provided), then falls back to browser-based user authentication by using either your configured `--client-id` or the built-in public client. To force browser-based login, pass `--user-auth`.
57
57
58
58
### Role Requirements
59
59
60
-
Different operations require different roles, and the required roles depend on how you authenticate:
60
+
Different operations require different roles, and the required roles depend on how you authenticate.
61
61
62
62
| Operations | Client Credentials (roles on API client) | User Auth (roles on user account) |
63
63
|---|---|---|
@@ -75,18 +75,18 @@ If authentication fails, the CLI provides contextual error messages recommending
75
75
76
76
### For Interactive Use
77
77
78
-
No setup required. Account Manager commands use the CLI's built-in public client by default:
78
+
No setup required. Account Manager commands use the CLI's built-in public client by default.
79
79
80
80
```bash
81
81
b2c am users list
82
82
```
83
83
84
-
If you need to use your own API client (for specific scopes or organization restrictions):
84
+
If you need to use your own API client for specific scopes or organization restrictions:
85
85
86
-
1. In [Account Manager](https://account.demandware.com), find or create an API client
87
-
2. Under **Redirect URLs**, add `http://localhost:8080`
88
-
3. Under **Allowed Scopes**, add: `mail roles tenantFilter openid`
89
-
4. Set **Default Scopes** to: `mail roles tenantFilter openid`
86
+
1. In [Account Manager](https://account.demandware.com), find or create an API client.
87
+
2. Under **Redirect URLs**, add `http://localhost:8080`.
88
+
3. Under **Allowed Scopes**, add: `mail roles tenantFilter openid`.
89
+
4. Set **Default Scopes** to: `mail roles tenantFilter openid`.
90
90
91
91
```bash
92
92
export SFCC_CLIENT_ID=your-client-id
@@ -95,12 +95,12 @@ b2c am users list --user-auth
95
95
96
96
### For CI/CD and Automation
97
97
98
-
1. In [Account Manager](https://account.demandware.com), create a dedicated API client
99
-
2. Set a strong password (client secret) and save it securely
100
-
3. Set **Token Endpoint Auth Method** to `client_secret_post`
101
-
4. Under **Roles**, add **User Administrator** (for user/role management)
102
-
5. Under **Allowed Scopes**, add: `mail roles tenantFilter openid`
103
-
6. Set **Default Scopes** to: `mail roles tenantFilter openid`
98
+
1. In [Account Manager](https://account.demandware.com), create a dedicated API client.
99
+
2. Set a strong password (client secret) and save it securely.
100
+
3. Set **Token Endpoint Auth Method** to `client_secret_post`.
101
+
4. Under **Roles**, add **User Administrator** (for user/role management).
102
+
5. Under **Allowed Scopes**, add: `mail roles tenantFilter openid`.
103
+
6. Set **Default Scopes** to: `mail roles tenantFilter openid`.
-**Web Services**: HTTP/SOAP/FTP integrations using the Service Framework
18
+
-**Custom APIs**: Building SCAPI Custom APIs with contracts, implementations, and mappings
19
19
20
20
## Available Plugins
21
21
@@ -26,7 +26,7 @@ When installed, the skills teach AI assistants about B2C Commerce development, C
26
26
27
27
### Plugin: b2c-cli
28
28
29
-
Skills for using the B2C CLI to manage your Commerce Cloud instances. Covers code deployment, job execution, site archive import/export, WebDAV file operations, On-Demand Sandbox management, and more.
29
+
Skills for using the B2C CLI to manage your B2C Commerce instances. Covers code deployment, job execution, site archive import/export, WebDAV file operations, On-Demand Sandbox management, and more.
Copy file name to clipboardExpand all lines: docs/guide/authentication.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,17 +53,17 @@ For Account Manager operations that require user-level roles (organization and A
53
53
54
54
### Creating an API Client
55
55
56
-
1. Log in to [Account Manager](https://account.demandware.com)
57
-
2. Navigate to **API Client** in the left menu
58
-
3. Click **Add API Client**
56
+
1. Log in to [Account Manager](https://account.demandware.com).
57
+
2. Navigate to **API Client** in the left menu.
58
+
3. Click **Add API Client**.
59
59
4. Fill in the required fields:
60
60
-**Display Name**: A descriptive name (e.g., "B2C CLI")
61
61
-**Password**: A strong client secret (save this securely for Client Credentials auth)
62
62
5. Configure the **Token Endpoint Auth Method**:
63
63
-`client_secret_basic` for client credentials flow
64
64
65
65
::: warning
66
-
The B2C CLI only supports `client_secret_basic` for the Token Endpoint Auth Method. `client_secret_post` and `private_key_jwt`are not currently supported.
66
+
The B2C CLI only supports `client_secret_basic` for the Token Endpoint Auth Method. `client_secret_post` and `private_key_jwt`aren't currently supported.
67
67
:::
68
68
69
69
### Assigning Roles
@@ -76,16 +76,16 @@ Most roles require a **tenant filter** that specifies which tenants/realms the r
Copy file name to clipboardExpand all lines: docs/guide/configuration.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,7 @@ You can configure the CLI using environment variables:
85
85
86
86
## .env File
87
87
88
-
The CLI automatically loads a `.env` file from the current working directory if present. Use the same `SFCC_*` variable names as environment variables.
88
+
The CLI automatically loads a `.env` file from the current project directory if present. Use the same `SFCC_*` variable names as environment variables.
0 commit comments