> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/documentation/use-octoxlabs/settings/product-settings/product-licence.md).

# Product Licence

See which modules, dates and company count your OctoXLabs license allows, copy the Company Key and apply a new license.

**Product License** shows the license of this installation and is where you apply a new one. The license decides which modules you can use (for example Device Inventory or Vulnerability Inventory), until when, and how many companies you can create. Open it when you receive a new or renewed license from OctoXLabs, or to check how many days are left.

### Before you begin

* Applies to: OctoXLabs 6.x. From 6.9.0 only users with the Admin role can open and change this page.
* Required permission to open the page: `configurations.view_licenseconfiguration`.
* Required permission to apply a new license: `configurations.change_licenseconfiguration`.
* A license text from OctoXLabs, if you are applying a new one.

### What the page shows

| Field                  | Type              | Description                                                                                                                                                |
| ---------------------- | ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Company Key**        | Text, read only   | The key of this installation. Select **Copy** to copy it, for example to send to OctoXLabs when you ask for a license.                                     |
| **Company License**    | Text area         | The current license. It is shown in shortened form: the first 10 and last 10 characters with asterisks in between. Paste a new license here to replace it. |
| **Start Date**         | Date, read only   | The first day the license is valid.                                                                                                                        |
| **End Date**           | Date, read only   | The last day the license is valid.                                                                                                                         |
| **Remaining Days**     | Number, read only | The number of days until **End Date**.                                                                                                                     |
| **Max. Company Count** | Number, read only | The most companies this license allows. See Companies.                                                                                                     |
| **Package Details**    | List, read only   | The modules the license includes, each with a check mark.                                                                                                  |

The modules that can appear under **Package Details** are: Device Inventory, User Inventory, License Management, Software Inventory, Vulnerability Inventory, Action Center, Certificate Inventory, Service Inventory, Source Code Inventory, AI Service Inventory, Domain Inventory and Policy Inventory.

### Apply a new license

{% stepper %}
{% step %}

#### Open the page

Go to **Settings** > **Product Settings** > **Product License**.
{% endstep %}

{% step %}

#### Paste the license

Replace the text in **Company License** with the license you received. Paste it exactly, without extra characters.
{% endstep %}

{% step %}

#### Save

Select **Save**. The console shows **License has been saved**, and the dates, **Remaining Days**, **Max. Company Count** and **Package Details** update.
{% endstep %}
{% endstepper %}

If the new license adds modules, the console also shows a message that names them, for example "Vulnerability Inventory module(s) added", and says that the **Auditors** and **Administrators** groups were updated. Other groups do not get the new modules by themselves. Open each group that should use them and add the permissions. See Groups.

{% hint style="info" %}
A license applies to the whole installation. When you save a license on the main company, it is passed on to every company that inherits it. A company that was created with **Inherit License** shows this page read only. To change its license, change the license of the company it inherits from.
{% endhint %}

### Troubleshooting

| Symptom or error message                     | Cause                                                                                                   | Fix                                                                                                                               |
| -------------------------------------------- | ------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| `Invalid license.`                           | The text is not a valid license for this installation, or it was changed or cut off when you copied it. | Copy the whole license again. If it still fails, check that the **Company Key** you gave OctoXLabs is the one shown on this page. |
| `Invalid license module(s): ...`             | The license contains a module this version of OctoXLabs does not know.                                  | Update the platform, or ask OctoXLabs for a license that matches your version. See Updating the platform.                         |
| **Save** is disabled                         | Your user cannot change the license, or the company inherits its license.                               | Ask an administrator, or change the license on the company that owns it.                                                          |
| A module is missing from **Package Details** | The license does not include it.                                                                        | Ask OctoXLabs for a license with that module.                                                                                     |

### What's next?

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Groups</strong></td><td>Give groups access to newly licensed modules.</td><td></td></tr><tr><td><strong>Companies</strong></td><td>Create companies and set license inheritance.</td><td></td></tr><tr><td><strong>Updating the platform</strong></td><td>Move to a version that matches your license.</td><td></td></tr></tbody></table>
