How to use environment variables

Environment variables are an essential part of modern software development. They provide a convenient way to store configuration settings, sensitive information, or any data that needs to be accessed during your API or workflow execution. Environment variables are used to make your flows more portable, secure, and adaptable to different environments without requiring any changes.

Setup

To set up your own environment variables, navigate to Settings > Project > Environment Variables. You can then easily create new variables or show, update and delete already existing ones.

Usage

Using environment variables within your flows is a breeze. Follow the syntax {{$env.variable-name}} in your flow wherever you need to access your stored values.

Note that environment variables are saved on the project level. If you switch to another project, the environment variables from your previous project won’t be accessible.

Video Guide