> For the complete documentation index, see [llms.txt](https://docs.vega365.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vega365.com/surestream/getting-started/license-activation.md).

# License Activation

SureStream is licensed **per camera device**: one licence per camera, and the channels of one device (a multi-channel encoder or a multi-sensor camera) share it. A licence is taken when a camera is added to SureStream and freed when it is removed.

Activate the licences after installing SureStream on the Management Server. Licences that XProtect hasn't activated yet run in a grace period; the Management Client says how many are waiting (on the dashboard's summary line, in the setup's results and on the SureStream overview page).

## Online

{% stepper %}
{% step %}

### Install SureStream

Install SureStream on the Management Server. See [Installation](https://docs.vega365.com/surestream/getting-started/installation.md).
{% endstep %}

{% step %}

### Provide your SLC

<figure><img src="https://2606467887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrW97Kdzpc3CRKor6jdzu%2Fuploads%2Fgit-blob-2754a651f3add2fdde964406342f887fe9aa3643%2Finstallation-and-configuration-guide-12.png?alt=media" alt=""><figcaption></figcaption></figure>

Send your XProtect SLC (Software License Code) to <sales@vega25.com>, and wait for the email from Vega confirming the licence.
{% endstep %}

{% step %}

### Activate

* Make sure the XProtect installation can reach the internet.
* In the Management Client, open **Basics > License Information**.
* Click **Activate License Manually**, then **Online** (or turn on **Automatic license activation**).

<figure><img src="https://2606467887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrW97Kdzpc3CRKor6jdzu%2Fuploads%2Fgit-blob-b371d8e2bd185cf38573cf28d66d62cc42096283%2Finstallation-and-configuration-guide-13.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

* Enter the user name and password and click **OK**.
* When it is activated, the expiration date shows the demo date (for a demo licence) or is blank (for a perpetual licence).
  {% endstep %}
  {% endstepper %}

## Offline

Air-gapped deployments use offline activation.

{% stepper %}
{% step %}

### Provide the SLCs to Vega

Send the XProtect SLCs of all sites that need offline activation to <sales@vega25.com>, with the number of SureStream camera devices to license for each SLC.
{% endstep %}

{% step %}

### Export a licence request file for each SLC

* In the Management Client, in the Site Navigation pane, expand **Basics** and select **License Information**.
* At the bottom of the workspace, click **Activate License Manually**, then **Offline**, then **Export License for Activation**.

<figure><img src="https://2606467887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrW97Kdzpc3CRKor6jdzu%2Fuploads%2Fgit-blob-7bc4c96fbf4946e992d96107fb766630d5427c87%2Finstallation-and-configuration-guide-09.png?alt=media" alt=""><figcaption></figcaption></figure>

* Save the licence request file to a portable storage device.
  {% endstep %}

{% step %}

### Wait for confirmation from Vega

Wait for Vega to confirm the plug-in activation for your SLCs.
{% endstep %}

{% step %}

### Upload the licence request file to the Milestone Customer Dashboard

For each SLC:

* Connect the storage device to a computer with internet access and log in to the Milestone Customer Dashboard.
* Click **Customers & Licenses**, then **Upload License Request**.

<figure><img src="https://2606467887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrW97Kdzpc3CRKor6jdzu%2Fuploads%2Fgit-blob-2120a83ac294c3382c9c244749bdc7a5f73cf129%2Finstallation-and-configuration-guide-10.png?alt=media" alt=""><figcaption></figcaption></figure>

* Click **Select .lrq file** and choose the licence request file.
* Optional: add more recipients for the activated licence file.
* Click **Upload**.
  {% endstep %}

{% step %}

### Import the activated licence file

Milestone emails an activated licence file for each SLC. For each one:

* Copy the file to the storage device and connect it to the computer with the matching Management Server.
* In the Management Client, click **Activate License Manually**, **Offline**, then **Import Activated License**.

<figure><img src="https://2606467887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrW97Kdzpc3CRKor6jdzu%2Fuploads%2Fgit-blob-7bc4c96fbf4946e992d96107fb766630d5427c87%2Finstallation-and-configuration-guide-09.png?alt=media" alt=""><figcaption></figcaption></figure>

* Choose the activated licence file and click **Open**. The plug-in is activated with the licensed number of devices.
  {% endstep %}
  {% endstepper %}
