Skip to main content

iCommerce Quickstart

Get up and running with StateSet iCommerce in minutes. Install the CLI locally or deploy to your preferred cloud platform.

Install the CLI

Install the StateSet CLI globally using npm:
npm install -g @stateset/cli
Or use npx to run without installing:
npx @stateset/cli

Verify installation

stateset --version

Authenticate

stateset auth login

Run your first command

stateset "show me pending orders"
Use --apply flag to execute write operations. Without it, commands run in read-only mode for safety.
stateset --apply "ship order #12345 with tracking FEDEX123"

Deploy to the cloud

Run StateSet iCommerce 24/7 on your preferred cloud platform. Each guide walks you through a complete production deployment with persistent storage and secure access.

Prerequisites

Before you begin, ensure you have:
  • StateSet account and API key
  • Node.js 18+ installed
  • Model provider credentials (Anthropic, OpenAI, etc.)

Understand iCommerce

Review the category overview and architecture to understand the core model:

Choose your build track

Pick the track that matches your use case:
TrackDescriptionBest for
StateSet OneCore API and platform servicesBackend integrations
StateSet ResponseCXAI-driven customer operationsSupport automation
Agentic CommerceConversational checkout and paymentsChat-based sales

Run a basic workflow

Follow a quickstart guide to run a basic order or return flow:

Next steps