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

# Headless Mode

> Running iClick Automation in headless CI/CD environments, Docker containers, and background worker daemons.

### Launch Method

Add the `--headless` parameter when starting iClick:

#### Windows

```
# Method 1: Direct execution
iClick.exe --headless

# Method 2: Via command line
start "" "C:\Program Files\...\iClick.exe" --headless
```

### Display Console

If you need to display the console interface in Headless mode, you can call the `openDashboard` API:

#### Endpoint Description

**Endpoint Type:** `openDashboard`

**Parameters:** None

**Response Payload:**

```
true  // Returns true after successfully displaying the console
```

#### Usage Example

```
// Display console
await apiInvoke('openDashboard');
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.