> For the complete documentation index, see [llms.txt](https://docs.apica.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apica.io/fleet-management/fleet-config-repository/adding-configuration-files.md).

# Adding Configuration files

**Configuration Directory Structure**

The `configurations` directory in the Git repository is intended for storing configuration files corresponding to supported agent types. When adding a new configuration file through the repository, it is important to follow the prescribed directory structure:

```
<configurations>/
└── <agent_type>/
    └── <platform>/
        └── <name-of-configuration>/
            └── <path-to-configuration>/
                └── <config-file>
```

### Example: Grafana Alloy Configuration

```
configurations/
└── grafana-alloy/
    └── linux/
        └── default/
            └── etc/
                └── grafana-alloy/
                    └── config.alloy
```

In this example, `default` is the name of the configuration. The Grafana Alloy agent expects its configuration file to be at `/etc/grafana-alloy/config.alloy`, so the directory structure under `default/` mirrors this expected file path.

Following this structure ensures compatibility with automated deployment tools and consistent behavior across platforms.
