> ## Documentation Index
> Fetch the complete documentation index at: https://comfydeploy.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Env variables

> How to add env variables to a machine

If a custom node requires a ENV variable, you can do this by adding a docker command to your machine.
For example such as OpenAI key for [this custom node](https://github.com/omar92/ComfyUI-QualityOfLifeSuit_Omar92?tab=readme-ov-file#openai-suite),

<Note>Docker commands are those that you would write in a `Dockerfile` [reference](https://docs.docker.com/reference/dockerfile/).</Note>

### Steps

1. Edit or create your machine definition.
2. Scroll down to **Extra docker commands** section.
3. Add and modify the command

```Docker theme={null}
ENV VARIABLE_NAME=<value>
```

4. Save your machine definition

This machine will then have `VARIABLE_NAME` as an env variable.
