# License

{% hint style="info" %}
A license key is required to use Datasentinel.
{% endhint %}

If you do not have one, you have the option to request a [Free 30-Day Trial](/manual/free-trial.md)

## Platform update

The update is done in the User Interface or by a script present in the platform. Refer to [Tooling section](/manual/implementation/platform-usage/tooling.md#token-update).

* Open tools menu

  > <img src="/files/vTlfxOUujU3ED19qYJfj" alt="" data-size="original">
* Click on **Global settings**

  > <img src="/files/9wXHX0cMClM0zSBv4tDG" alt="" data-size="original">
* Then copy/paste the new valid token

  <figure><img src="/files/c46uNNOvkkhZtSVLVKX3" alt=""><figcaption><p>Updating the token</p></figcaption></figure>

## Agent update

Agents require a valid token for authentication and communication with the platform.

{% hint style="info" %}
The token needs to be configured at the agent level during initial installation. Subsequently, agents will autonomously download and update their token from the platform as needed.
{% endhint %}

Manual update can also be performed using the CLI

<pre class="language-bash"><code class="lang-bash"><strong>datasentinel set token eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1ODM2OTUyNzcsImlhdCI6MTU3NjM1MTI3MiwiZGF0Y
</strong></code></pre>

* Output

```
Copyright 2023 (c) datasentinel- All rights reserved        www.datasentinel.io
================================================================================

Token successfully set!


        Server
                host : 51.158.120.108
                port : 443
```

```bash
// Check token validity
datasentinel show token

Token : eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1ODM2OTUyNzcsImlhdCI6MTU3NjM1MTI3MiwiZGF0YWJhc2UiOiJkcy1kYXRhIn0.UQRxutKrJv7WVAaHCN3Fh_wnXJLst54s93lADIP_n-Y

   Organization : ds-data
Expiration Date : 2023-03-08 19:21:17
```


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

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

The question should be specific, self-contained, and written in natural language.
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.
