Docs
Get Started

Environment variables

Environment variables belong to a service environment. This allows separate branches to use different endpoints, credentials, and feature settings.

Add a variable

  1. Open the service environment.
  2. Select Environment Variables.
  3. Add the key and value requested by your application.
  4. Save the changes.
  5. Redeploy when the application needs a new runtime with the updated values.
  • Keep secrets out of Git.
  • Use distinct credentials for production and non-production environments.
  • Match key names exactly, including case.
  • Rotate credentials if they appear in logs or source history.
  • Review template-required fields before deployment.

The AI agent can detect likely variable names, but it cannot supply credentials for external providers unless those values are provided through the deployment flow.