envs

Saleor — GraphQL commerce

saleor/api · version 1

envs add saleor/api

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
SALEOR_API_URL required config Your own GraphQL endpoint. Saleor's own reference storefront names it under a NEXT_PUBLIC_ prefix, so its own design puts it in the browser. Self-hosted, with an optional cloud.. where to get it
SALEOR_APP_TOKEN optional secret Saleor says app tokens are long-lived and for machine-to-machine integrations, contrasting them with the short-lived user tokens a browser holds. Names come from Saleor's storefront repository rather than its documentation.. where to get it
SALEOR_WEBHOOK_SECRET optional secret Verifies that a webhook came from your own instance. Server-side only, and named only in that same repository.. where to get it

The JSON the CLI reads