> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Getting Started: License

To use Atoti Server, you should have a valid license.

## Providing your license - Four options

To set the license in your project, you have four options. **Choose one** of the following:

### Using the full path to your license file.

* Register the path in the `ATOTI_LICENSE` environment variable.
  For example, under Linux environment:

  ```
  export ATOTI_LICENSE=/full/path/to/Atoti.lic
  ```
* Define the license file location with a JVM system property.
  This must be a specification of the full path to the license, including the file name.

  ```
  -Datoti.license=/full/path/to/Atoti.lic
  ```

You can use a customized file name if you wish instead of the usual Atoti.lic.

### Using the Base64 encoded license.

To get the Base64 encoded license under Linux system you can run the following command and copy the output `cat Atoti.lic.36722 | base64 -w 0; echo`

* Pass the output to the  `ATOTI_LICENSE` environment variable.
  For instance, under Linux environment:
  ```
  export ATOTI_LICENSE=<Base64EncodedLicense>
  ```
  This option is particularly useful when using containers or in the Cloud. You can store the Base64 encoded license in a secret store.

* Pass the output to the JVM system property.

  For example, under Linux environment:

  ```
  -Datoti.license=<Base64EncodedLicense>
  ```
