Environment Variables
Configure your Nexus theme storefront with environment variables.
Variables
# Required - Finqu API
FINQU_STOREFRONT_URL=https://your-storefront.finqu.dev
FINQU_SECRET_KEY=sk_...
NEXT_PUBLIC_FINQU_STOREFRONT_URL=https://your-storefront.finqu.dev
NEXT_PUBLIC_FINQU_STOREFRONT_TOKEN=pk_...
# Optional - Redis (enables production storage for templates)
UPSTASH_REDIS_REST_URL=https://...
UPSTASH_REDIS_REST_TOKEN=...Storage
- Development – When Redis vars are not set, templates are stored in the
data/directory. - Production – When
UPSTASH_REDIS_REST_URLis set, templates are stored in Redis.
Security
- Never commit secrets; add
.env.localto.gitignore. - Only
NEXT_PUBLIC_*variables are available in the browser; do not put secrets there.
Next Steps
- Installation - Set up your storefront
- Architecture - Understand how storage works
- Troubleshooting - Common issues