# kosa8 license activate

Activate a licence key on this machine

## Usage

```
kosa8 license activate [KEY]
```

Activates a licence key on this machine, taking one of its seats.

With no KEY: the key in KOSA8_LICENSE_KEY if it is set, or else the plan of the
kosa8 account this machine is signed in to (`kosa8 login`), when the account
service can give its key.

In CI, set KOSA8_LICENSE_KEY instead: the first command that needs the plan
activates it, and `kosa8 license deactivate` at the end of the job gives the
seat back, so a pipeline does not use up the key's activations.

## Example

```
  kosa8 license activate
  kosa8 license activate K8-…
```

---
Source: https://docs.kosa8.com/reference/license-activate/
