When you’re building with AI tools, it’s easy to forget about the details your project needs to actually run—like API keys, database passwords, or service URLs. Hard-coding those into your files is risky. A better way is to use environment variables.
In this video, Nahrin Jalal walks through how to manage environment variables on Netlify so you can keep your projects secure without slowing down your workflow.
You’ll see how to:
- Add environment variables directly from the Netlify dashboard
- Mark keys as secrets so they don’t get exposed
- Decide where variables are available during builds, in serverless functions, or in the client
- Use different values for production, preview builds, and branches
Learn more in the Netlify Docs.