---
title: "Environment Variables"
sidebarTitle: "Environment Variables"
description: "Learn how which environment variables are supported by TestDriver."
icon: "sliders-up"
mode: "wide"
---

import GitignoreWarning from "/snippets/gitignore-warning.mdx";

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>
<GitignoreWarning />
## Example

```bash .env
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.
