# License

> Obtain a Web SDK license and configure it in your browser application.

- Human documentation: [https://docs.univer.ai/server/license](https://docs.univer.ai/server/license)

- Agent Markdown: [https://docs.univer.ai/server/license.md](https://docs.univer.ai/server/license.md)

- Requested language: `en-US`

- Content language: `en-US`

- Documentation version: `1.0.0-rc.0`

- Source: [license.mdx](https://github.com/dream-num/documentation/blob/dev/content/server/license.mdx)

---

For features that require a license, visit the [Univer website](https://univer.ai) to check the available licensing options and obtain a license. Configure the **client license content** using either preset mode or plugin mode, whichever your project uses.

## Preset mode

Add `license` to your existing preset configuration. For example, with `UniverSheetsAdvancedPreset`:

```ts
UniverSheetsAdvancedPreset({
  // Keep your other options and replace this placeholder with the client license content.
  license: 'YOUR_CLIENT_LICENSE',
})
```

Provide the license content, not the path to a license file.

## Plugin mode

Register `UniverLicensePlugin` on your existing Univer instance, before other plugins:

```ts
import { UniverLicensePlugin } from '@univerjs-pro/license'

univer.registerPlugin(UniverLicensePlugin, {
  license: 'YOUR_CLIENT_LICENSE',
})
```

## Collaborative applications

Collaborative applications also configure the license in the browser. The browser example in [Office Quick Start](https://docs.univer.ai/server/collaboration/quick-start.md) shows where to register the license plugin alongside collaboration plugins. Keep browser and server packages aligned with [SDK environment and version requirements](https://docs.univer.ai/server/requirements.md).

A license determines which features are available. Your application's permissions determine who may view or edit a document. After configuring the license, follow [server integration](https://docs.univer.ai/server.md) to connect login and document permissions.

## Check the configuration

Reopen the application and try the features you need. If watermarks or license restrictions remain, check that the license content is complete, still valid, and covers the feature and release. In plugin mode, also check registration order. Contact your license provider if the issue remains.
