Environments
Use stage and production safely while building products.
Use stage and production safely while building products.
Environments let you test product configuration before production subscribers depend on it.
Use a stage environment when you are changing:
Stage should answer: will this product behave correctly when it is live?
Environment traffic can use different hostnames, docs bundles, upstreams, or branches, but it follows the same product model. That means the test is close to production without forcing you to risk production subscribers.
Use separate credentials for stage and production. Avoid sharing:
The platform docs site works differently from product environments. Stage and
production platform docs both read the latest main commit from this docs repo,
but each environment publishes into its own R2 bucket and serves from its own
host.