> For the complete documentation index, see [llms.txt](https://docs.datasentinel.io/manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.datasentinel.io/manual/implementation/platform-usage/configuration.md).

# Configuration

The settings of the platform: license, users and their access, LDAP, SMTP, audit and backend. What each one does and where it is changed.

Most settings are changed in the user interface: open the tools menu, then **Global settings**. Two are changed in configuration files on the platform server: LDAP and the backend.

| Setting                                                                                                                           | What it does                                                                          | Where it is changed                                                                                                        |
| --------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| [License](https://docs.datasentinel.io/manual/implementation/platform-usage/configuration/license.md)                             | Enables the platform and the agents                                                   | Global settings, or a script                                                                                               |
| [Users & Roles](https://docs.datasentinel.io/manual/implementation/platform-usage/configuration/users-and-roles.md)               | Defines the users, their privilege, their profile and their access to Live360         | User interface, or the [User API](https://docs.datasentinel.io/manual/implementation/platform-usage/api-reference/user.md) |
| [Default RBAC Behavior](https://docs.datasentinel.io/manual/implementation/platform-usage/configuration/default-rbac-behavior.md) | Decides what a user without a role can see                                            | Global settings                                                                                                            |
| [LDAP](https://docs.datasentinel.io/manual/implementation/platform-usage/configuration/ldap.md)                                   | Authenticates the users against an LDAP server                                        | Two configuration files                                                                                                    |
| [SMTP](https://docs.datasentinel.io/manual/implementation/platform-usage/configuration/smtp.md)                                   | Sends the alert notifications and the reports by email                                | Global settings                                                                                                            |
| [Audit](https://docs.datasentinel.io/manual/implementation/platform-usage/configuration/audit.md)                                 | Records what the users do on the platform                                             | Global settings                                                                                                            |
| [Backend](https://docs.datasentinel.io/manual/implementation/platform-usage/configuration/backend.md)                             | Tunes the backend processes, the purge of inactive instances and the agentless agents | A configuration file, then a service restart                                                                               |

## After an installation

A new platform needs a few settings before it is ready for a team.

{% stepper %}
{% step %}

### Enter the license

Paste the token in **Global settings**. The agents then download their token from the platform on their own.

See [License](https://docs.datasentinel.io/manual/implementation/platform-usage/configuration/license.md).
{% endstep %}

{% step %}

### Configure the mail server

Provide the SMTP host and port, then send the test email. Alert notifications and emailed reports depend on it.

See [SMTP](https://docs.datasentinel.io/manual/implementation/platform-usage/configuration/smtp.md).
{% endstep %}

{% step %}

### Create the users

Give each user a privilege, a profile and, if needed, a role. To authenticate users against your directory, configure LDAP first.

See [Users & Roles](https://docs.datasentinel.io/manual/implementation/platform-usage/configuration/users-and-roles.md) and [LDAP](https://docs.datasentinel.io/manual/implementation/platform-usage/configuration/ldap.md).
{% endstep %}

{% step %}

### Turn alerting on

Alerting is off by default.

See [Alerting settings](https://docs.datasentinel.io/manual/features/key-features/alerting/settings.md).
{% endstep %}
{% endstepper %}

## Users and access

Four settings work together.

| Setting            | Values                                                                                                                                     | Default    |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ---------- |
| **Privilege**      | `read`, `read write` (can also terminate sessions), `admin` (can also manage agents, instances, users and the configuration)               | admin      |
| **Profile**        | `developer` (Session History, Top Queries and their reports), `data admin` (all dashboards)                                                | data admin |
| **Live360 access** | Enabled or disabled, per user                                                                                                              | Enabled    |
| **Role**           | The instances the user can see. See [Role Based Access](https://docs.datasentinel.io/manual/features/other-features/role-based-access.md). | No role    |

{% hint style="warning" %}
By default, a user without a role sees **all** the instances. To give new users no access until a role is assigned, change the [Default RBAC Behavior](https://docs.datasentinel.io/manual/implementation/platform-usage/configuration/default-rbac-behavior.md). This matters most when users are created automatically through LDAP.
{% endhint %}

With LDAP, only the authentication is delegated. Privileges, profiles and roles are still managed in Datasentinel.

## Audit

The audit records the modules and the instances each user opened, with the date. On a new installation it is enabled, with a retention of 60 days. It helps, for example, to find accounts that are no longer used.

See [Audit](https://docs.datasentinel.io/manual/implementation/platform-usage/configuration/audit.md).

## Backend

The [Backend](https://docs.datasentinel.io/manual/implementation/platform-usage/configuration/backend.md) page covers three settings of the file `/datasentinel/soft/datasentinel_backend/config/datasentinel.yml`:

* The number of backend processes and the number of requests after which a process is restarted.
* The automatic purge of inactive instances, once a day. It is disabled by default.
* The collection settings of the agentless agents.

A change in this file needs a restart of the matching service.

## Pages

{% content-ref url="/pages/nAfTkgFyrtHehA4uZRFR" %}
[License](https://docs.datasentinel.io/manual/implementation/platform-usage/configuration/license.md)
{% endcontent-ref %}

{% content-ref url="/pages/kYL7Pef0QJ6Y9yxO0ost" %}
[Users & Roles](https://docs.datasentinel.io/manual/implementation/platform-usage/configuration/users-and-roles.md)
{% endcontent-ref %}

{% content-ref url="/pages/Q5PYRyBaLTsDPNIeRNIz" %}
[Default RBAC Behavior](https://docs.datasentinel.io/manual/implementation/platform-usage/configuration/default-rbac-behavior.md)
{% endcontent-ref %}

{% content-ref url="/pages/eQk7zH7x5KBxZGHl1dnS" %}
[LDAP](https://docs.datasentinel.io/manual/implementation/platform-usage/configuration/ldap.md)
{% endcontent-ref %}

{% content-ref url="/pages/P5q1u8YR9Q06lDGm8SWO" %}
[SMTP](https://docs.datasentinel.io/manual/implementation/platform-usage/configuration/smtp.md)
{% endcontent-ref %}

{% content-ref url="/pages/kOlK1zlJcfHuOCJzzIhT" %}
[Audit](https://docs.datasentinel.io/manual/implementation/platform-usage/configuration/audit.md)
{% endcontent-ref %}

{% content-ref url="/pages/NwBkFae8VwyPWlWyF38i" %}
[Backend](https://docs.datasentinel.io/manual/implementation/platform-usage/configuration/backend.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.datasentinel.io/manual/implementation/platform-usage/configuration.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
