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

# Environment Variables

> Learn how which environment variables are supported by TestDriver.

The supported environment variables in TestDriver are:

<div className="env-vars-table">
  |    Variable    |    Type   |                                        Description                                       |
  | :------------: | :-------: | :--------------------------------------------------------------------------------------: |
  | `TD_ANALYTICS` | `boolean` | Send analytics to TestDriver servers. This helps provide feedback to inform our roadmap. |
  |  `TD_API_KEY`  |  `string` |                        Set this to spawn VMs with TestDriver Pro.                        |
</div>

<Warning>
  Always remember to add a `.gitignore` file to your repository including a
  `.env` line so you never accidentally commit you TestDriver API key. This is
  important for security and to prevent exposing sensitive information. For more
  info see [GitHub
  Docs](https://docs.github.com/en/get-started/git-basics/ignoring-files).
</Warning>

## Example

```bash .env theme={null}
TD_API_KEY=your_api_key
```

In this example `.env` file, we're running a website test in a local Linux VM with a resolution of 1024x768. The terminal will be minimized, and the overlay won't be shown. Analytics will be sent to TestDriver servers.
