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

# Licensing

> Understand Weles licensing, the end user license agreement (EULA), third-party components, and how to activate a Weles product license.

## Weles terms and third-party software

Weles has an end user license agreement (EULA); review the terms presented in the application and any separate agreement with the vendor. The **About Weles** dialog provides a read-only view of the EULA.

Weles includes or connects to third-party components, services, and models, which may have their own licenses and terms. The About dialog names selected open-source components but is not a complete third-party notice. Obtain the authoritative license terms and complete notices for your distribution from the vendor; this guide is not a complete license inventory.

## License options and duration

Weles offers three feature combinations:

| License | IDP/OCR | Chat |
| - | - | - |
| IDP/OCR | Enabled | Not included |
| Chat | Not included | Enabled |
| Chat + IDP | Enabled | Enabled |

The license is limited by its validity period, not by the volume of data processed. Your license determines which features are enabled and when it expires. Infrastructure capacity, provider terms, and technical limits still apply independently of the Weles license. The **License** screen shows the entitlement and expiration information.

> [!NOTE]
>
> The Agent-Only workflow invoke API currently checks the IDP entitlement, while chat checks the chat entitlement. Check the entitlement for your intended integration and deployment.

## Activate a product license

1. Obtain a license key and the required service configuration from the vendor. Keep all keys confidential.
2. Ensure the backend can reach the configured license service.
3. Sign in as an administrator and open **License**.
4. Paste the key and select **Activate License**. Confirm that the status and required entitlements are shown as active.

The license status shows document processing and chat entitlements and, when available, an expiration date. Without a valid license, document processing and agent responses are paused while administrative access and history remain available. An activated, valid license is stored locally so normal operation can continue offline after activation. License data is persisted under the backend's data directory, mapped to `shared/license-data` by the supplied Compose file.

## Replace or troubleshoot a license

To change an active license, enter the new key and use **Replace License**. The UI warns that this deactivates the current license and activates the new one. Ensure connectivity and consult the vendor before replacing a license or moving an installation to another host.

If activation fails, check the displayed error, license expiry, service reachability, and vendor-provided configuration; never share the key in public logs or support tickets. See [configuration](https://docs.welesai.com/administration/configuration.md) for the licensing environment settings.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.