> 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/license.md).

# License

The license is provided in the form of a token with a restricted time of validity.

{% 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="https://1072624949-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlcWi6G1jtNuyGT9C0pkc%2Fuploads%2FjtvOaWdVdR3TkapgvvUQ%2Ftools_icon.png?alt=media&amp;token=99b0c7a9-8d88-4f40-b784-f7e6687c0043" alt="" data-size="original">
* Click on **Global settings**

  > <img src="https://1072624949-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlcWi6G1jtNuyGT9C0pkc%2Fuploads%2FyF2ObfgOFHJSio5vkd52%2Ftools_menu.png?alt=media&amp;token=6c019fe1-199f-492e-b794-56438546d86a" alt="" data-size="original">
* Then copy/paste the new valid token

  <figure><img src="https://1072624949-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlcWi6G1jtNuyGT9C0pkc%2Fuploads%2FKQhxiUBJbqEbE5W1LYEX%2Fchange_token.gif?alt=media&amp;token=1a02ec7c-234f-41f0-921c-efb5599f1f27" 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
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/license.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.
