AI-powered Saleor e-commerce configuration through natural language
npx claudepluginhub saleor/configuratorAI-powered Saleor e-commerce configuration with streamlined commands and intelligent discovery
Commerce as Code — Define your Saleor store in YAML, sync with your instance
Declarative configuration management for Saleor e-commerce stores.
Saleor Configurator brings infrastructure-as-code principles to e-commerce. Instead of manually configuring your store through the dashboard, you define everything in version-controlled YAML files and sync them to your Saleor instance.
Key Benefits:
┌─────────────┐ introspect ┌─────────────┐
│ Saleor │ ─────────────────► │ config.yml │
│ Instance │ │ (local) │
└─────────────┘ └─────────────┘
▲ │
│ │
│ deploy │ modify
└──────────────────────────────────┘
Prerequisites: Node.js 20+
# Run directly (recommended)
npx @saleor/configurator start
pnpm dlx @saleor/configurator start
# Or install globally
npm install -g @saleor/configurator
pnpm add -g @saleor/configurator
Before using Saleor Configurator, you need an API token from your Saleor instance. This token allows the CLI to read and modify your store configuration.
Go to your Saleor Dashboard:
https://your-store.saleor.cloud/dashboard/https://your-domain.com/dashboard/Configurator or Configuration ManagerGrant the app all permissions needed for configuration management:
| Permission Category | Required For |
|---|---|
| Products | Product types, categories, products, variants |
| Channels | Sales channels, currency settings |
| Shipping | Shipping zones, methods, warehouses |
| Pages | Page types (model types), pages (models) |
| Menus | Navigation structures |
| Discounts | Vouchers and sales (if using) |
| Settings | Shop settings, tax configuration |
Tip: For full configuration management, select all available permissions. You can restrict permissions later for specific environments.
Your token will look like: eyJhbGciOiJSUzI1NiIsInR5cCI6... (JWT format) or a shorter alphanumeric string.
For repeated use, store your credentials as environment variables:
# Add to your shell profile (~/.bashrc, ~/.zshrc, etc.)
export SALEOR_URL="https://your-store.saleor.cloud/graphql/"
export SALEOR_TOKEN="your-token-here"
# Then use in commands
npx @saleor/configurator introspect --url=$SALEOR_URL --token=$SALEOR_TOKEN
Security Note: Never commit tokens to version control. Use environment variables or a secrets manager.
Test that your token works:
npx @saleor/configurator introspect --url=$SALEOR_URL --token=$SALEOR_TOKEN --include shop
If successful, you'll see your shop settings downloaded. If you get an authentication error, verify your token and URL (ensure the URL ends with /graphql/).
The easiest way to get started is with the interactive wizard:
npx @saleor/configurator start
# 1. Download your current store configuration
npx @saleor/configurator introspect \
--url https://your-store.saleor.cloud/graphql/ \
--token your-app-token
# 2. Modify config.yml to define your desired state
# 3. Preview changes before applying
npx @saleor/configurator diff \
--url https://your-store.saleor.cloud/graphql/ \
--token your-app-token
# 4. Deploy your configuration
npx @saleor/configurator deploy \
--url https://your-store.saleor.cloud/graphql/ \
--token your-app-token
Need a token? See Getting Your API Token above for step-by-step instructions.