# Adding a License

Lenses requires a valid license to start. The license can be added via the UI when in bootstrap mode or at deployment time via the[ provisioning APIs](https://github.com/lensesio-dev/docs/blob/master/getting-started/connections/automation/README.md).

{% hint style="success" %}
See [provisioning](https://github.com/lensesio-dev/docs/blob/master/getting-started/connections/automation/README.md) for integration into your CI/CD pipelines.
{% endhint %}

## License Expired <a href="#license-expired" id="license-expired"></a>

If at any point the license becomes invalid (it expired / too many brokers were added to the cluster) only the license page will be available.

## License Management

See [License Management](/latest/devx/5.5/user-guide/licenses.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lenses.io/latest/devx/5.5/getting-started/connections/adding-a-license.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
