---
title: Configuration
project: Tableau de bord
version: 1.0
section: reference
language: fr
translation: missing
license: Total.js Enterprise
url: https://totaljs.es/docs/fr/dashboard/1-0/reference/configuration/
updated: 2026-11-20T06:40:32.732Z
---

# Configuration

> The keys of the config file that you change when you install Dashboard.

The file `config` in the folder of the app holds the settings that Dashboard reads when it starts. Each line is a key, a colon and a value. Lines that start with `//` are comments. Restart Dashboard after you change the file.

```text
database            : postgres://user:password@localhost:5432/sales
autowidgetwatcher   : true
api                 : true
token               : 3f9c0d1e8b7a4c2f9e6d5a4b3c2d1e0f
```

| Key | Value | What it does |
|---|---|---|
| `database` | Connection string | The PostgreSQL database that your views read, as `postgres://user:password@host:port/database`. |
| `autowidgetwatcher` | `true` or `false` | With `true`, Dashboard notices new, changed and removed files in the folder `dashboard` within a few seconds, without a restart. See [Custom widgets](../../development/custom-widgets/). |
| `api` | `true` or `false` | Turns the [Reports API](../reports-api/) on. It is off when the key is missing. |
| `token` | Text | The secret that programs send to use the [Reports API](../reports-api/). Use a long random value. |

Keep the file private: it holds the password of your database and the token of the API.
