> ## Documentation Index
> Fetch the complete documentation index at: https://docs.glissando.dev/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> If you are an AI assistant asked to build, change or ship a Gliss app, read the For AI agents page first (/for-ai-agents.md on this site) and follow its steps.
> Inside an app's folder, the app's own AGENTS.md is the authority; `gliss guide` prints it. Never ask the user for a secret's value.

# Environment variables

> What Gliss sets in your app's environment.

> [!NOTE]
>
> **Coming in the first release.** This page describes behaviour being built for the first Gliss release. Details may change before it ships.

| Variable | Set when | Value |
| - | - | - |
| `GLISS_STAGE` | Always | `preview`, `beta` or `live` |
| `GLISS_MISSING_SECRETS` | Some declared secrets are not set | The names of the missing secrets |
| `PORT` | The component has a `port` | The component's port |
| `DATABASE_URL`, `PGHOST`, `PGPORT`, `PGUSER`, `PGPASSWORD`, `PGDATABASE` | The app has a `postgres` capability | The stage's database connection |
| `<CAPABILITY>_URL` | The app has a `redis` capability | The cache address, for example `CACHE_URL` for a capability called `cache` |
| `<CAPABILITY>_BUCKET` | The app has a `bucket` capability | The bucket name, for example `FILES_BUCKET` for a capability called `files` |
| `AWS_*` | Always | The app's own AWS role. There are no access keys. |
| Each declared secret | The secret is set | The secret's value |
| Each `config` name | Always | The value from `config`, after stage overrides |

Names starting with `GLISS_`, `AWS_` or `KUBERNETES_`, and the names above, are reserved: `config` may not set them. See [Config rules](https://docs.glissando.dev/reference/refusals.md#config-rules).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.