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
The server needs B2C Commerce credentials, provided via **environment variables** or a **`dw.json` file**.
17
+
Tools that interact with B2C Commerce instances (e.g., MRT, SCAPI, cartridge deployment) require credentials, which can be provided via **environment variables**, a **`.env` file**, a **`dw.json` file**, or the **`--config`** flag. Local tools (e.g., scaffolding, development guidelines) work without configuration.
18
+
19
+
**Priority order** (highest to lowest):
20
+
1. Environment variables (`SFCC_*`) — includes `.env` file if present (shell env vars override `.env`)
21
+
2.`dw.json` file (auto-discovered or via `--config`)
18
22
19
23
### Option 1: Environment Variables
20
24
25
+
Set environment variables directly or create a `.env` file in your project root:
0 commit comments