Skip to content

Commit 15d5563

Browse files
authored
docs: update licensing steps in faq (#16484)
<details> <summary>this would be a good candidate for an expand component</summary> but I don't think they work in our docs yet </details> [preview](https://coder.com/docs/@licensing-faq/tutorials/faqs#how-do-i-add-a-premium-trial-license) --------- Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com>
1 parent de70ff3 commit 15d5563

File tree

2 files changed

+58
-17
lines changed

2 files changed

+58
-17
lines changed

docs/admin/licensing/index.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,17 @@ There are two ways to add a license to a Coder deployment:
4747

4848
1. Run `coder licenses add`:
4949

50-
```shell
51-
coder licenses add -f <path to your license key>
52-
```
50+
- For a `.jwt` license file:
51+
52+
```shell
53+
coder licenses add -f <path to your license key>
54+
```
55+
56+
- For a text string:
57+
58+
```sh
59+
coder licenses add -l 1f5...765
60+
```
5361

5462
</div>
5563

docs/tutorials/faqs.md

Lines changed: 47 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,61 @@ For other community resources, see our
1111
## How do I add a Premium trial license?
1212

1313
Visit <https://coder.com/trial> or contact
14-
1514
[sales@coder.com](mailto:sales@coder.com?subject=License) to get a trial key.
1615

17-
You can add a license through the UI or CLI.
16+
<details>
1817

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>
2119

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 -->
2421

25-
If the license is a text string:
22+
<div class="tabs">
2623

27-
```sh
28-
coder licenses add -l 1f5...765
29-
```
24+
### Coder UI
3025

31-
If the license is in a file:
26+
1. With an `Owner` account, go to **Admin settings** > **Deployment**.
3227

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.
3669

3770
## I'm experiencing networking issues, so want to disable Tailscale, STUN, Direct connections and force use of websocket
3871

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy