> For the complete documentation index, see [llms.txt](https://tailwindsdocs.innovativesol.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tailwindsdocs.innovativesol.com/readme/variables.md).

# Variables

***

Tailwinds allow users to create variables that can be used in:

* [Custom Tool](/readme/chatflows/langchain/tools/custom-tool.md)
* [Custom Function](/readme/utilities/custom-js-function.md)
* [Custom Loader](/readme/chatflows/langchain/document-loaders/custom-document-loader.md)
* [If Else](/readme/utilities/if-else.md)

For example, you have a database URL that you do not want it to be exposed on the function, but you still want the function to be able to read the URL from your environment variable.

User can create a variable and get the variable like so:

`$vars.<variable-name>`

Variables can be Static or Runtime.

## Static

Static variable will be saved with the value specified, and retrieved as it is.

<figure><img src="/files/KxxSAMVoghaSFzrR2xZt" alt="" width="542"><figcaption></figcaption></figure>

## Runtime

Value of the variable will be fetched from **.env** file using `process.env`

<figure><img src="/files/ufa6koFjtOn9OGZDU9u0" alt="" width="537"><figcaption></figcaption></figure>

## Resources

* [Pass Variables to Function](/readme/chatflows/langchain/tools/custom-tool.md#pass-variables-to-function)
