Configuration
Environment variables and runtime configuration for self-hosted Commerce Gateway.
1 min read · Self-Hosting
Core environment variables
bash
COMMERCE_GATEWAY_PORT=3100
COMMERCE_GATEWAY_LOG_LEVEL=info
COMMERCE_GATEWAY_AUTH_MODE=api_key
LLM provider keys
bash
ANTHROPIC_API_KEY=...
OPENAI_API_KEY=...
XAI_API_KEY=...
GOOGLE_API_KEY=...
Self-hostable These values are fully managed in your own environment and deployment pipeline.
Better Data Hosted Better Data hosted configures provider integrations in the managed control plane.