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.
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. 

2
Add your environment variables
You can add values for your local dev environment, staging and prod. 

Specifying Dev values is optional. They will be overriden by values in your .env file when running
locally.
Editing environment variables
You can edit an environment variable’s values. You cannot edit the key name, you must delete and create a new one.1
Press the action button on a variable

2
Press edit

Deleting environment variables
1
Press the action button on a variable

2
Press delete
This will immediately delete the variable. 
