How to manage environment variables
Open the website dashboard
Go to the chat where your website was built. Click the Dashboard tab, then select Secrets from the sidebar.
Add a variable
Click Add and enter a key-value pair. The key is the variable name (for example, 
GOOGLE_MAPS_API_KEY) and the value is the secret.
Protected variables
Some environment variables are managed by Runable and cannot be edited or deleted. These are set up automatically when your website is created:| Variable | Purpose |
|---|---|
AI_GATEWAY_BASE_URL | URL for the AI gateway that powers AI features in your website |
AI_GATEWAY_API_KEY | API key for the AI gateway |
BETTER_AUTH_SECRET | Secret for the authentication system |
VITE_BASE_URL | Your website’s base URL |
AUTUMN_SECRET_KEY | Secret for the payment billing system |
When to add environment variables
- Third-party API keys (Google Maps, SendGrid, Twilio, etc.)
- Feature flags or configuration toggles
- External service credentials
- Any secret your website backend needs at runtime
Visibility
Variable values are masked by default in the dashboard. Click the eye icon to reveal a value. Click the copy button to copy it to your clipboard.What you cannot do
- You cannot edit protected variables. They are managed by Runable.
- You cannot access environment variables from client-side (frontend) code unless the key starts with
VITE_. This is a Vite security feature. - You cannot import variables from a file. Add them one at a time through the dashboard.

.png?fit=max&auto=format&n=J3TfNmZhqEoKcaaO&q=85&s=468b5adb026aa33181cc81ab54ab68db)