TABLE OF CONTENTS
- Overview
- Prerequisites
- Environment at a Glance
- Znode System Requirements
- Getting Started With a Znode 10 Tenant
- Webstore Development & Page Builder Setup
- Admin Setup, Installation & Configuration
- Shared Services: Caching and Event Bus
- Frequently Asked Questions
- Reference Links
Overview
- Product: Znode 10
- Category: Developer Documentation – Znode 10
- Audience: Znode implementation partners and developers
- Source:https://support.znode.com/support/solutions/43000373995
This guide gives Znode implementation partners a single, end-to-end view of how to set up a Znode 10 development environment. It brings together the system requirements, tenant and sandbox onboarding, Znode CLI setup, and the local setup of the Webstore (with Page Builder), the API, and the Admin application.
It is a consolidated, partner-friendly rewrite of articles from the Developer QuickStart Guides, API Development, Storefront Development, and Admin Customization folders on the Znode support portal. Always check the source articles linked in each section for the latest updates.
A Znode 10 implementation is made up of three main applications: the Webstore (an open-source React/Next.js storefront managed in an NX monorepo together with Page Builder), the API (.NET 8, with V1 and V2 projects plus an optional Custom API SDK), and the Admin console (.NET). For most tenant projects, partners work locally on the Webstore and Custom API SDKs and connect them to Znode-hosted Admin and API instances.
The Znode CLI is the central tool in this workflow. It downloads the Webstore SDK and Custom API template, keeps them up to date with new releases, and deploys custom builds to the Znode-managed Azure Kubernetes Service (AKS) environments assigned to your project.
The table in Environment at a Glance shows how the pieces fit together and which section of this guide covers each one.
Prerequisites
- Tenant onboarding with Znode completed, or trial sandbox access requested from Znode Support or your Znode representative.
- A Znode CLI token (one per developer seat) and NuGet credentials (one per project), both issued by Znode Support.
- Non-production Admin Console credentials for your tenant or the sandbox.
- A workstation that meets the Znode 10 system requirements (see Znode System Requirements).
- Access to your project's Git repository (and, for API or Admin source work, permission to the relevant Znode repositories).
Environment at a Glance
| Component | Technology | Typical local setup | Covered in |
|---|---|---|---|
| Znode CLI | .NET 8 global tool | Installed from the Znode NuGet feed; connects with your CLI token | How to Install and Set Up Znode CLI |
| Webstore + Page Builder | Node.js, Next.js, React, Tailwind CSS, NX, Redis | Downloaded with znode setup; run with npx nx dev | Webstore Development & Page Builder Setup |
| Custom API SDK | .NET 8 | Downloaded with znode setup; deployed with znode deploy | How to Install and Set Up Znode CLI |
| API (V1 / V2) | .NET 8, SQL Server, MongoDB, Elasticsearch, Redis, RabbitMQ | Cloned from repository; run in Visual Studio | API – Setup, Installation & Configuration |
| Admin | .NET, Visual Studio | Hosted for tenants; can be cloned and run locally | Admin Setup, Installation & Configuration |
Tip: Most partner projects only need the CLI, the Webstore SDK and the Custom API SDK running locally. The hosted Admin and API instances for your non-production environment are used as the back end.
Source article: Environment at a Glance
Znode System Requirements
These software versions apply to Znode 10.x and later. Missing or outdated software is a common cause of installation errors and poor local performance, so confirm them before you start.
| Software | Required Version | Used For |
|---|---|---|
| .NET Core | 8 | Znode CLI, API and Custom API SDK |
| Visual Studio | 2022 or later | API, Custom API and Admin development |
| Docker (or IIS Express with Visual Studio) | Latest | Running services locally; required for znode deploy |
| Node.js | 20.0.0 or higher | Webstore SDK and Page Builder |
| VS Code | Latest | Webstore development |
Confirm the installed versions from a terminal:
dotnet --version
node --version
docker --version
Important: The Webstore setup article lists Node.js 18 as a minimum, but the system requirements and CLI guide require Node.js 20.0.0 or higher. Use Node.js 20+ to avoid build issues.
Source article: Znode System Requirements
Getting Started With a Znode 10 Tenant
Once your tenant is onboarded, follow this sequence to get a working local environment connected to your non-production instance.
- Set up the NuGet source and CLIusing the credentials issued by Znode Support:
- Source: https://nuget.znode.com/nuget
- Username and password: as provided by Znode Support
- Connect the CLI with your developer access token (see How to Install and Set Up Znode CLI). If you do not have a token, contact Znode Support.
- Download the SDKs with znode setup, then check that the Webstore and Page Builder .env files point to your non-production gateway and API.
- Run the Webstore and Page Builder locally.Both must be running at the same time to test the Webstore.
npx nx run webstore:dev
npx nx run page-builder:dev - Commit the downloaded source to your own Git repository so the code can be maintained and versioned from day one.
- Sign in to the Admin Console with the non-production credentials from Znode Support and configure your store and catalog.
- (Optional) Set up CI/CD. For GitHub-based automation, ask Znode Support for the Znode 10 – Znode CLI GitHub Action Guide.
Customization Paths
| Area | What you can do | Reference |
|---|---|---|
| Webstore | Modify the open-source React storefront: themes, components and pages | Webstore Customization Guide |
| Custom APIs | Create new APIs or extend existing behavior using the Custom API SDK | API Customization Guide |
| ERP connectors | Integrate a third-party ERP through Commerce Connector | Legacy ERP Connector Setup |
| Admin | Extend the Admin application | Admin Customization |
Logging, Debugging and Deployment
- Add logging to custom applications so issues and performance can be traced; ask Znode Support for the Logging in Custom Application guide.
- To test local services from outside your machine (for example, webhooks), expose localhost through a Cloudflare tunnel.
- Use znode deploy to deploy custom Webstore and API builds to your assigned non-production instance. Production deployments follow the guidelines provided by Znode Support.
- Run znode get-updated-copy to pull the latest Webstore and Custom API SDK changes from the release repository.
Source article: Getting Started with a Znode 10 Tenant
Trial Sandbox Access and Getting Started With Znode 10
The trial sandbox lets developers explore Znode 10 before (or alongside) a tenant project. Request sandbox credentials from Znode Support or your Znode representative; you will receive developer tokens, NuGet credentials and Admin Console access.
- Install and configure the Znode CLI, adding the NuGet source https://nuget.znode.com/nuget with your sandbox credentials.
- Connect the CLI with the access token supplied for the sandbox and run znode setup to download the SDKs.
- Start the Webstore and Page Builder locally (both at the same time). By default, the .env files already point to the Znode10-Sandbox environment.
- Sign in to the sandbox Admin Console and set up your store and catalog:
- URL: https://admin-z10-sandbox.znodestore.com/
- Username and password: as provided by Znode Support
Important: The public sandbox is a shared space for learning and experimentation. It does not support deployments and must not be used as a substitute for production or a dedicated environment.
Source article: Trial Sandbox Access and Getting Started with Znode 10
How to Install and Set Up Znode CLI
The Znode CLI downloads the Znode SDK projects and deploys custom builds to the Znode-managed AKS cluster. It requires .NET 8; Docker Desktop is optional for downloading SDKs but required for deployments.
Access You Need
| Credential | Scope | Notes |
|---|---|---|
| CLI token | Per developer seat | Unique to each user. Valid for one year; CLI sessions time out after six hours. Can be limited to the Webstore SDK, Custom API SDK, or both, and to specific environments (for example DEV, QA, PROD). |
| NuGet credentials | Per project | Grants access to the Znode NuGet package repository. |
Install the CLI
dotnet nuget add source "https://nuget.znode.com/nuget" -n "NugetZnode10xCLI" -u "<username>" -p "<password>" --store-password-in-clear-text
dotnet nuget list source
dotnet tool install Znode.CLI -g
dotnet tool update Znode.CLI -g # later, to upgrade
Connect and Download the SDKs
znode connect <token>
znode connect info
znode setup # latest release
znode setup --releaseVersion v10.12.1.0 # a specific release
Run znode setup inside a dedicated folder. Release versions can be given as 10.12.1.0 or V10.12.1.0; re-running setup does not overwrite existing source files.
| Folder | Valid? | Reason |
|---|---|---|
| D:\Znode10CLI | Yes | Dedicated folder, no spaces |
| D:\dev\znode-10 | Yes | Dedicated folder, no spaces |
| C:\ or D:\ | No | Drive root is not allowed |
| D:\dev folder\new folder | No | Path contains spaces |
Deploy and Update
Before your first deployment, check Docker's storage driver. If the output shows io.containerd.snapshotter.v1, set the environment variable BUILDX_NO_DEFAULT_ATTESTATIONS=1 to avoid a known deploy failure. If it shows the overlay2 driver, no action is needed.
docker info --format '{{.DriverStatus}}'
znode deploy WebStoreSDK DEV
znode deploy CustomAPISDK DEV
znode get-updated-copy
The deploy command validates your token permissions, builds the solution locally, tags a timestamped image, pushes it to the container registry and deploys it to AKS. CLI logs are written to %UserProfile%\AppData\Local\ZnodeCLILogs\ on Windows.
Common Fixes
| Problem | Fix |
|---|---|
| znode connect info shows no setup details | The token session has expired, so reconnect and run znode setup again. |
| CLI install fails | Remove and re-add the NuGet source with valid credentials (dotnet nuget remove source <SourceName>). |
| Docker/WSL using too many resources | Run wsl --shutdown, then restart Docker Desktop. |
Source article: How to Install and Set Up Znode CLI
Webstore Development & Page Builder Setup
The Webstore and Page Builder live in a single NX monorepo built on Node.js, Next.js, React and Tailwind CSS, with Redis for caching. The CLI installs everything you need; VS Code is the recommended editor, with optional extensions such as ESLint, Prettier, SonarLint and Code Spell Checker.
- Download the Webstore SDK with the Znode CLI (see How to Install and Set Up Znode CLI).
- Open the project root (for example webstore-platform) in VS Code and run all npm/nx commands from there.
- Install dependencies with npm install.
- Update the pre-generated .env files in apps/webstore and apps/page-builder with your environment's values.
- Start the Webstore and Page Builder in separate terminals.
| Variable | Purpose | If it is wrong |
|---|---|---|
| API_URL | Base URL used to build every back-end API request | API calls fail; the app cannot reach services |
| API_DOMAIN | Domain registered/whitelisted on the API; combined with API_KEY to generate the auth token | Authentication fails; requests are rejected |
| API_V2_DOMAIN | Endpoint for version 2 of the back-end API | V2 calls fail |
| API_KEY | Key that authorizes API requests | Requests are unauthorized |
npm install
npx nx dev webstore # http://localhost:3000
npx nx dev page-builder
npx nx start webstore # run a production build locally
To preview and edit a section in Page Builder, open a URL such as:
http://localhost:3000/en-US/page-builder?url=header&theme=base&publishState=preview&themeCode=base&storeCode=MaxwellsHardware&pageCode=Header
See Page Builder Changes in Real Time
- In page-builder/.env set IS_DEBUGGING=true.
- In webstore/.env set IS_DEBUGGING=true and ENABLE_CACHE=false.
- To show the Publish button, set ENABLE_EDIT_WIDGET: true in the VISUAL_EDITOR_SETTINGS object of packages/page-builder/src/constants/visual-editor.ts.
Important: Routing and preview only work if a matching domain entry exists in the Znode domain table for the domain you are using.
Source article: Webstore Development & Page Builder Setup
API – Setup, Installation & Configuration
Use this setup when you need to run the Znode 10 API source locally (repository access is required). Install Visual Studio 2022 or later; CodeMaid and Visual Studio Spell Checker are useful optional extensions.
- Clone the znode10-api-migration repository and open the .sln file in the Znode.Multifront folder.
- Add the NuGet package sources under Tools > NuGet Package Manager > Package Manager Settings > Package Sources:
- Znode NuGet – https://nuget.znode.com/nuget
- ZnodeDevQaGit – https://nuget.pkg.github.com/mrrsoft/index.json
- Credentials: as provided by Znode Support
- Configure startup projects: right-click Znode.Engine.Api.csproj, choose Configure Startup Projects, and set both Znode.Engine.Api and Znode.Engine.ApiV2 to Start.
- Update appsettings.json in both projects with your environment's URIs (see table).
- Replace the connection strings with your local SQL Server and MongoDB details.
- Press F5 to run both projects, then test endpoints with Postman using environment variables such as {{baseUrl}} and {{token}}.
| Setting | What it points to |
|---|---|
| AdminWebsiteUrl | Admin application for your environment |
| ZnodeApiGateway | API gateway |
| PluginApiRootUri | Plugin server |
| CustomAPIRootUri | Custom API instance |
| ZnodeApiRootUri | API V1 |
| ZnodeApiV2RootUri | API V2 (locally, for example https://localhost:54546) |
| ElasticSearchRootUri | Elasticsearch service (for example http://localhost:9200) |
Connection strings to update: ZnodeECommerceDB, Znode_Entities, ZnodePublish_Entities, ZnodeKlaviyo_Entities, ZnodeFramework_Entities, HangfireConnection, ZnodeRecommendationDB, ZnodeRecommendation_Entities and ZnodeMongoDBForLog.
Server=localhost;Initial Catalog=YourDBName;User ID=your_username;Password=your_password;TrustServerCertificate=True;
mongodb://localhost:27017/Znode_Log
Note: The source article shows QA URIs as example values. Replace them with the endpoints for your own environment, and keep the V1 and V2 settings in sync.
Source article: API – Setup, Installation & Configuration
Admin Setup, Installation & Configuration
Tenants normally use the hosted Admin Console. Set the Admin up locally only when you are customizing it (repository access is required).
- Install Visual Studio; CodeMaid, Visual Studio Spell Checker and Web Compiler 2022+ are useful optional extensions.
- Clone the znode10-admin-migration repository and open the Admin .sln file.
- Add the Znode NuGet package source (https://nuget.znode.com/nuget) with credentials from Znode Support.
- Right-click Znode.Engine.Admin.csproj and select Set as Startup Project.
- Point appsettings.jsonto your local services, then rebuild. Repeat for each microservice.
"ZnodeApiRootUri": "https://localhost:44375",
"ZnodeApiGateway": "https://localhost:44330",
"ZnodeAdminUri": "https://localhost:44392"
Source article: Admin Setup, Installation & Configuration
Shared Services: Caching and Event Bus
The API (V1 and V2) and Admin applications share the same Caching and EventBus sections in appsettings.json. Configure them consistently across every application, then save and restart.
Caching
| Key | Example value | Notes |
|---|---|---|
| Type | ZnodeRedisCache | Or ZnodeSqlCache / InMemory. Redis is recommended for distributed setups. |
| AbsoluteExpiration / SlidingExpiration | 30 / 20 | Cache lifetimes |
| SqlCacheConnectionString | SQL connection string | Used with ZnodeSqlCache |
| CacheSchemaName / CacheTableName | dbo / SQLCache | Used with ZnodeSqlCache |
| DeletionInterval | 30 | Clean-up interval for SQL cache |
| RedisCacheConnectionString | localhost:6379 | Used with ZnodeRedisCache |
| RedisCacheInstanceName | Dev | Instance prefix |
| InMemoryCacheKeys | SiteConfig | Keys kept in memory |
Event Bus (RabbitMQ)
The EventBus section in appsettings.json:
"EventBus": {
"MessageBrokerService": "RabbitMQ",
"RabbitMQConnectionString": "amqp://guest:guest@localhost:5672",
"RabbitMQManagementUrl": "http://localhost:15672",
"RabbitMQUserName": "guest",
"RabbitMQPassword": "guest",
"QueueName": "base-cache-queue",
"RetryCount": "2",
"RetryInterval": "200",
"EventRetry": "true"
}
Run RabbitMQ locally with the rabbitmq:management Docker image (or install it from rabbitmq.com). The management UI is at http://localhost:15672 (default login guest / guest). ServiceBusConnectionString is only needed if you use Azure Service Bus instead.
Tip: Use the default guest credentials only on a local machine. Shared or hosted environments should use their own broker credentials.
Source article: Shared Services: Caching and Event Bus
Frequently Asked Questions
Q: Do I need to run the API and Admin locally for a tenant project?
Usually not. Most partner work happens in the Webstore and Custom API SDKs, connected to your hosted non-production Admin and API. Local API and Admin setup is only needed when you have repository access and are changing those applications.
Q: Why does znode setup fail or download into the wrong place?
Run it from a dedicated folder that is not a drive root and has no spaces in its path (for example D:\Znode10CLI). Also check that your CLI session has not expired by running znode connect info.
Q: Page Builder changes are not showing in the Webstore. What should I check?
Make sure both apps are running, IS_DEBUGGING=true is set in both .env files, ENABLE_CACHE=false is set for the Webstore, and a matching domain entry exists in the Znode domain table.
Q: Can I deploy to the trial sandbox?
No. The public sandbox is shared and does not support deployments. Use znode deploy only against the non-production environments assigned to your tenant.