Appearance
Return
What are environment variables
Store keys and settings safely and reuse them across your project.
Steps at a glance ​
- Create an environment variable for a key or URL.
- Use it in your integrations and APIs.
- Keep different values per environment.
What an environment variable is ​
An environment variable is a named value (like RESEND_API_KEY) that you can use across your project without pasting the value everywhere.
When to use them ​
- API keys (keep them private)
- Base URLs
- IDs that change between environments
How to use them ​
- Create the variable in your project settings.
- Reference it wherever the value is needed (integrations, APIs, or other settings).
Common pitfalls ​
You pasted a key directly into the interface ​
- Keep keys in environment variables and use them from
Data & APIwhere possible.

