@@ -11,28 +11,61 @@ For other community resources, see our
11
11
## How do I add a Premium trial license?
12
12
13
13
Visit < https://coder.com/trial > or contact
14
-
15
14
[ [email protected] ] ( mailto:[email protected] ?subject=License ) to get a trial key.
16
15
17
- You can add a license through the UI or CLI.
16
+ < details >
18
17
19
- In the UI, click the Deployment tab -> Licenses and upload the ` jwt ` license
20
- file.
18
+ <summary >You can add a license through the UI or CLI</summary >
21
19
22
- > To add the license with the CLI, first
23
- > [ install the Coder CLI] ( ../install/cli.md ) and server to the latest release.
20
+ <!-- copied from docs/admin/licensing/index.md -->
24
21
25
- If the license is a text string:
22
+ < div class = " tabs " >
26
23
27
- ``` sh
28
- coder licenses add -l 1f5...765
29
- ```
24
+ ### Coder UI
30
25
31
- If the license is in a file:
26
+ 1 . With an ` Owner ` account, go to ** Admin settings ** > ** Deployment ** .
32
27
33
- ``` sh
34
- coder licenses add -f < path/filename>
35
- ```
28
+ 1 . Select ** Licenses** from the sidebar, then ** Add a license** :
29
+
30
+ ![ Add a license from the licenses screen] ( ../images/admin/licenses/licenses-nolicense.png )
31
+
32
+ 1 . On the ** Add a license** screen, drag your ` .jwt ` license file into the
33
+ ** Upload Your License** section, or paste your license in the
34
+ ** Paste Your License** text box, then select ** Upload License** :
35
+
36
+ ![ Add a license screen] ( ../images/admin/licenses/add-license-ui.png )
37
+
38
+ ### Coder CLI
39
+
40
+ 1 . Ensure you have the [ Coder CLI] ( ../install/cli.md ) installed.
41
+ 1 . Save your license key to disk and make note of the path.
42
+ 1 . Open a terminal.
43
+ 1 . Log in to your Coder deployment:
44
+
45
+ ``` shell
46
+ coder login < access url>
47
+ ```
48
+
49
+ 1 . Run ` coder licenses add ` :
50
+
51
+ - For a ` .jwt ` license file:
52
+
53
+ ``` shell
54
+ coder licenses add -f < path to your license key>
55
+ ```
56
+
57
+ - For a text string:
58
+
59
+ ` ` ` sh
60
+ coder licenses add -l 1f5...765
61
+ ` ` `
62
+
63
+ < /div>
64
+
65
+ < /details>
66
+
67
+ Visit the [licensing documentation](../admin/licensing/index.md) for more
68
+ information about licenses.
36
69
37
70
# # I'm experiencing networking issues, so want to disable Tailscale, STUN, Direct connections and force use of websocket
38
71
0 commit comments