@@ -12,6 +12,8 @@ features, you can [request a trial](https://coder.com/trial) or
12
12
13
13
<!-- markdown-link-check-enable -->
14
14
15
+ ![ Licenses screen shows license information and seat consumption] ( ../../images/admin/licenses/licenses-screen.png )
16
+
15
17
## Adding your license key
16
18
17
19
There are two ways to add a license to a Coder deployment:
@@ -20,37 +22,51 @@ There are two ways to add a license to a Coder deployment:
20
22
21
23
### Coder UI
22
24
23
- First, ensure you have a license key
24
- ([ request a trial] ( https://coder.com/trial ) ).
25
+ 1 . With an ` Owner ` account, go to ** Admin settings** > ** Deployment** .
25
26
26
- With an ` Owner ` account, navigate to ` Deployment -> Licenses ` , ` Add a license `
27
- then drag or select the license file with the ` jwt ` extension.
27
+ 1 . Select ** Licenses** from the sidebar, then ** Add a license** :
28
28
29
- ![ Add License UI ] ( ../../images/add-license-ui .png )
29
+ ![ Add a license from the licenses screen ] ( ../../images/admin/licenses/licenses-nolicense .png )
30
30
31
- ### Coder CLI
31
+ 1 . On the ** Add a license** screen, drag your ` .jwt ` license file into the
32
+ ** Upload Your License** section, or paste your license in the
33
+ ** Paste Your License** text box, then select ** Upload License** :
32
34
33
- First, ensure you have a license key
34
- ( [ request a trial ] ( https://coder.com/trial ) ) and the
35
- [ Coder CLI] ( ../../install/cli.md ) installed.
35
+ ![ Add a license screen ] ( ../../images/admin/licenses/add-license-ui.png )
36
+
37
+ ### Coder CLI
36
38
37
- 1 . Save your license key to disk and make note of the path
38
- 2 . Open a terminal
39
- 3 . Ensure you are logged into your Coder deployment
39
+ 1 . Ensure you have the [ Coder CLI] ( ../../install/cli.md ) installed.
40
+ 1 . Save your license key to disk and make note of the path.
41
+ 1 . Open a terminal.
42
+ 1 . Log in to your Coder deployment:
40
43
41
- ` coder login <access url> `
44
+ ``` shell
45
+ coder login < access url>
46
+ ```
42
47
43
- 4 . Run
48
+ 1 . Run ` coder licenses add ` :
44
49
45
- ` coder licenses add -f <path to your license key> `
50
+ ``` shell
51
+ coder licenses add -f < path to your license key>
52
+ ```
46
53
47
54
</div >
48
55
49
- ## Find your deployment ID
56
+ ## FAQ
57
+
58
+ ### Find your deployment ID
50
59
51
60
You'll need your deployment ID to request a trial or license key.
52
61
53
62
From your Coder dashboard, select your user avatar, then select the ** Copy to
54
63
clipboard** icon at the bottom:
55
64
56
65
![ Copy the deployment ID from the bottom of the user avatar dropdown] ( ../../images/admin/deployment-id-copy-clipboard.png )
66
+
67
+ ### How we calculate license seat consumption
68
+
69
+ Licenses are consumed based on the status of user accounts.
70
+ Only users who have been active in the last 90 days consume license seats.
71
+
72
+ Consult the [ user status documentation] ( ../users/index.md#user-status ) for more information about active, dormant, and suspended user statuses.
0 commit comments