# Initial Setup and Licence Activation

## Overview

Activation is the step that turns a trial or a fresh installation into a licensed **AI video
surveillance software** deployment. It does three things:

1. Verifies the `.lic` file is genuine and belongs to your order.
2. Binds the licence to **this machine**, so the same file cannot be used on ten PCs.
3. Starts your paid period. The clock begins at activation, not at purchase.

This guide also covers the first-run settings that make the rest of the documentation easier:
the site name, the administrator account, and where recordings are stored.

## Prerequisites

- OWL EYE ALERTS installed and launched — see [Installation](/docs/installation/).
- The `.lic` file from your purchase email, saved where you can browse to it.
- The machine connected to the internet for the activation request.
- An email address for the administrator account. This is also where expiry reminders are sent.

## Step-by-step instructions

### Step 1 — Load the licence file

1. On the licence screen, choose **Load licence** (or drag the `.lic` file onto the window).
2. Confirm the plan name and channel count shown match what you ordered. A mismatch means the
   wrong file was sent — stop and contact support before activating.
3. Choose **Activate**.

### Step 2 — Understand what activation just did

| Item | Result |
|---|---|
| Machine binding | The machine's CPU, motherboard and network adapters are recorded as the licensed device |
| Start of term | Your paid period begins today |
| Machine changes | A small number of re-binds are allowed, for hardware swaps or a new PC |
| Activation window | The file must be activated within **90 days** of purchase, after which it is refused |

> **Plan a reinstall.** If you rebuild the operating system or replace the motherboard, the
> licence sees a new machine. Each such change uses one of the allowed machine changes. If the
> allowance is used up, the licence can no longer be re-activated — contact support with your
> order number instead of reinstalling repeatedly.

### Step 3 — Create the administrator account

1. Enter an administrator username and a strong password (12+ characters, mixed case, a number
   and a symbol).
2. Enter the email address that should receive alerts and expiry notices.
3. Save. The application now opens on the main dashboard.

### Step 4 — Name the site

1. Open **Settings → Site**.
2. Enter a site name such as `Head Office — Gate 2`. This name appears in email alerts and in
   exported evidence, which matters when several sites share one mailbox.
3. Set the time zone to the site's local zone. Timestamps on recordings and alerts follow it.

### Step 5 — Choose the recording location

1. Open **Settings → Storage**.
2. Select the drive that will hold recordings. Prefer a dedicated drive over the system drive.
3. Enable **auto disk cleanup** and set the retention target (for example 21 days or 70% of the
   drive). The oldest footage is deleted first, so recording never stops because the disk is full.

### Step 6 — Create additional users (optional)

For a small team, add one account per person rather than sharing the admin login:

| Role | Typical use |
|---|---|
| Administrator | Configuration, users, licence |
| Operator | Live view, search, export — no settings changes |
| Viewer | Live view only |

## Configuration examples

| Field | Example value | Notes |
|---|---|---|
| Site name | `Head Office — Gate 2` | Appears in alerts and exports |
| Time zone | `Asia/Kolkata` | Must match the site, not the head office |
| Recording drive | `D:\Recordings` | Dedicated drive, not the OS drive |
| Retention | 21 days or 70% of drive | Whichever is reached first |
| Admin email | `security@example.com` | Receives alerts and expiry reminders |
| Operator users | 2 named accounts | Avoids shared passwords |

## What you should see

- The licence panel shows **Active**, the plan name, the channel count and the expiry date.
- The dashboard opens with no licence warning banner.
- The recording line in the server performance dashboard starts growing once a camera is added.
- Email alerts sent from the application arrive at the administrator address.

## Troubleshooting

| Message or symptom | Meaning | Fix |
|---|---|---|
| "Licence has expired" | The paid period ended | Renew through support; an expired licence cannot be reactivated by reinstalling |
| "Activation window has passed" | More than 90 days since purchase | Request a replacement licence from support |
| "Licence is not valid for this product" | Wrong `.lic` file | Use the file issued for this product and order |
| "Machine change limit reached" | All re-binds used | Contact support with the order number |
| "Not registered" when validating | The licence was never activated on this machine | Complete activation, then restart the application |
| Activation succeeds but live view is empty | Normal — no cameras added yet | Continue to [CCTV Camera Configuration](/docs/camera-configuration/) |

## Related guides

- [Installation](/docs/installation/)
- [CCTV Camera Configuration](/docs/camera-configuration/)
- [System Requirements](/docs/system-requirements/)
- [FAQ](/docs/faq/)

**Next step:** [CCTV Camera Configuration](/docs/camera-configuration/) →