> For the complete documentation index, see [llms.txt](https://siff.gitbook.io/siff/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://siff.gitbook.io/siff/installation/agent-installation/configuration.md).

# Configuration

### Linux

The Agent must be configured to connect to a Collector. Since an environment may have multiple Collectors, then choose the most appropriate collector for the Agent to connect to.

1.

```
* Linux/UNIX Collector: `/opt/siff/agent.yml`
```

```
* Windows Collector: `C:\Program Files\Siff\agent.yml`

From the system running the appropriate Collector, obtain a copy of the following files:

and the Collector certificate required for secure communications:

* Linux/UNIX Collector: `/opt/siff/cert/collector.cert`
* Windows Collector: `C:\Program Files\Siff\cert\collector.cert`
```

2\. On the system running the Agent (as root):

* Copy the `agent.yml` file to: `/opt/siff/`
* Update file ownership: `chown siff:siff /opt/siff/agent.yml`
* Copy the `collector.cert` file to: `/opt/siff/cert/`
* Update file ownership: `chown siff:siff /opt/siff/cert/collector.cert`

3. Restart the Agent service: `service siff-agent start`

### Windows

The Agent must be configured to connect to a Collector. Since an environment may have multiple Collectors, then choose the most appropriate collector for the Agent to connect to.

1.

```
* Linux/UNIX Collector: `/opt/siff/agent.yml`
```

```
* Windows Collector: `C:\Program Files\Siff\agent.yml`

From the system running the appropriate Collector, obtain a copy of the following files:

and the Collector certificate required for secure communications:

* Linux/UNIX Collector: `/opt/siff/cert/collector.cert`
* Windows Collector: `C:\Program Files\Siff\cert\collector.cert`
```

2\. On the system running the Agent:

* Copy the `agent.yml` file to: `C:\Program Files\Siff\`
* Copy the `collector.cert` file to: `C:\Program Files\Siff\cert\`

3. Restart the Agent service.
