Guides

Variables

Variables are environment variables your service reads at runtime, like process.env.DISCORD_TOKEN or os.environ["DISCORD_TOKEN"].

Add or edit

Open a service → Variables:

  • New Variable adds one. Names use letters, numbers and _, and start with a letter or _.
  • The eye icon shows a value. The menu lets you edit, copy or delete.
  • Raw Editor lets you paste a whole .env file at once. Saving replaces every variable on the service.

Values are encrypted when stored.

Changes are staged

Editing variables doesn't restart anything right away. A bar appears at the top of the canvas showing how many changes are waiting. Click Deploy to apply them all, or Discard to keep the running version as it is.

Referencing other services

Use ${{ServiceName.VARIABLE}} to copy a value from another service in the same project:

bash
DATABASE_URL=${{Postgres.DATABASE_URL}}
CACHE_URL=${{Redis.REDIS_URL}}

References are filled in when you deploy.