Skip to main content
Values your app reads at runtime: API keys, tokens, URLs, feature flags.

Adding one

Project Settings → Variables, then Add Variable:
  • Key and Value. Pasting KEY=value into the key field fills both.
  • Note (Optional): where to rotate it, or who to contact.
  • Sensitive: for private keys and tokens. Leave the value blank when editing to keep the stored one.
  • Environments: Published, Preview, or both.
Tick Add more to enter several variables in a row with the same settings. When you save, Leo is told which keys changed. Preview values apply right away, the preview restarts on its own. Published values apply on the next publish.

Public or server-only

Only keys starting with VITE_ reach the browser:
They are visible in the browser, so anyone can read them, and they cannot be marked Sensitive. Everything else stays on the server side of your app. Put private keys and tokens there, and mark them Sensitive. Mention your variables in your prompts and Leo wires them for you. Integration credentials (Odoo, NetSuite and the rest) are never stored here. They are encrypted server-side when you connect the integration, and your frontend never sees them.
Older projects have no Variables section. They set public variables under Project Settings → Deployment → Environment Variables, and secrets in HelloLeo Cloud.