Environment Variables

THIS PAGE
Defining a variable
Using variable inside project

Environment Variables are an important way to store information like API keys, Secret variables and use this information across project tables, endpoints and other parts.

Screenshot

Defining a variable

To define a variable, click on the + icon next to the heading of the page. Simply define the name of the variable and it's corrosponding value.

Screenshot

Note: You'll need to deploy your changes everytime you make an edit to the variables

Using variable inside project

To use your newly defined variable inside your project, you can simply make use of curly braces {{}} and call it using env.[VARIABLE_NAME].

Screenshot

Did you find what you were looking for?
👍
👎
What went wrong?
Need more help?We have a thriving Discordcommunity that can help you with all things Canonic. →