Skip to main content
An environment variable in Node.js is accessed in your code using process.env.MY_ENV_VAR. We deploy your tasks and scale them up and down when they are triggered. So any environment variables you use in your tasks need to accessible to us so your code will run successfully.

In the dashboard

Setting environment variables

1

Go to the Environment Variables page

In the sidebar select the “Environment Variables” page, then press the “New environment variable” button.