---
title: "Configuration: License Options"
description: "License"
url: "https://docs.ravendb.net/6.2/server/configuration/license-configuration"
version: "6.2"
---

# Configuration: License Options

> RavenDB publishes an official agent skill for coding assistants at https://docs.ravendb.net/skills/ravendb/SKILL.md (also installable with `npx skills add ravendb/skills`). The skill describes itself as: "Read this before writing any RavenDB query, client call or /databases/ request. Covers server setup, document modelling, the Node.js, .NET and Python clients, RQL, indexes, vector search and AI agents. Code written from recall tends to run and return the wrong rows, because RQL resembles SQL and the clients take field names as plain strings."

## Configuration: License Options

## License

- When using this configuration key in *settings.json* embed the license key as a **string**, e.g.:  
  `"License": "{ paste your license key including curly brackets here }"`.

- When using this configuration key as an [environment variable](https://docs.ravendb.net/6.2/server/configuration/configuration-options.md#environment-variables) embed the JSON license key **object**.

- If `License` is specified, it overrides the `License.Path` configuration.

* **Type**: `string`
* **Default**: `null`
* **Scope**: Server-wide only

## License.Path

Save the license key to a `license.json` file.  
Provide the path to this file in the 'License.Path' configuration key:

- Either the **full** path to the license file, e.g.:  
  `"License.Path": "D:\\RavenDB\\Server\\license.json"`

- Or, a **relative** path to the license file from the Server folder, e.g.:  
  `"License.Path": "License\\license.json"`  
  (where 'License' folder is under the 'Server' folder)

* **Type**: `string`
* **Default**: `license.json`
* **Scope**: Server-wide only

## License.Eula.Accepted

Indicates if End-User License Agreement was accepted.

- **Type**: `bool`
- **Default**: `false`
- **Scope**: Server-wide only

## License.CanActivate

EXPERT ONLY.  
Indicates if license can be activated.

- **Type**: `bool`
- **Default**: `true`
- **Scope**: Server-wide only

## License.CanForceUpdate

EXPERT ONLY.  
Indicates if license can be updated from the License Server (api.ravendb.net).

- **Type**: `bool`
- **Default**: `true`
- **Scope**: Server-wide only

## License.CanRenewLicense / License.CanRenew

EXPERT ONLY.  
Indicates if license can be renewed from the License Server (api.ravendb.net).  
Relevant only for Developer and Community licenses.

- **Type**: `bool`
- **Default**: `true`
- **Scope**: Server-wide only

## License.SkipLeasingErrorsLogging

EXPERT ONLY.  
Skip logging of lease license errors.

- **Type**: `bool`
- **Default**: `false`
- **Scope**: Server-wide only

## License.DisableAutoUpdate

EXPERT ONLY.  
Disable all updates of the license, from string, from path and from the License Server (api.ravendb.net).

- **Type**: `bool`
- **Default**: `false`
- **Scope**: Server-wide only

## License.DisableAutoUpdateFromApi

EXPERT ONLY.  
Disable automatic updates of the license from the License Server (api.ravendb.net).  
Can still update the license by either:

- Setting the [License](#license) configuration
- Setting the [License.Path](#licensepath) configuration
- Replacing the *license.json* file on disk

* **Type**: `bool`
* **Default**: `false`
* **Scope**: Server-wide only

## License.DisableLicenseSupportCheck

EXPERT ONLY.  
Disable checking the license support options from the License Server (api.ravendb.net).

- **Type**: `bool`
- **Default**: `false`
- **Scope**: Server-wide only
