mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
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>
This commit is contained in:
@ -47,10 +47,18 @@ There are two ways to add a license to a Coder deployment:
|
|||||||
|
|
||||||
1. Run `coder licenses add`:
|
1. Run `coder licenses add`:
|
||||||
|
|
||||||
|
- For a `.jwt` license file:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
coder licenses add -f <path to your license key>
|
coder licenses add -f <path to your license key>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
- For a text string:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
coder licenses add -l 1f5...765
|
||||||
|
```
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
## FAQ
|
## FAQ
|
||||||
|
@ -11,28 +11,61 @@ For other community resources, see our
|
|||||||
## How do I add a Premium trial license?
|
## How do I add a Premium trial license?
|
||||||
|
|
||||||
Visit <https://coder.com/trial> or contact
|
Visit <https://coder.com/trial> or contact
|
||||||
|
|
||||||
[sales@coder.com](mailto:sales@coder.com?subject=License) to get a trial key.
|
[sales@coder.com](mailto:sales@coder.com?subject=License) to get a trial key.
|
||||||
|
|
||||||
You can add a license through the UI or CLI.
|
<details>
|
||||||
|
|
||||||
In the UI, click the Deployment tab -> Licenses and upload the `jwt` license
|
<summary>You can add a license through the UI or CLI</summary>
|
||||||
file.
|
|
||||||
|
|
||||||
> To add the license with the CLI, first
|
<!-- copied from docs/admin/licensing/index.md -->
|
||||||
> [install the Coder CLI](../install/cli.md) and server to the latest release.
|
|
||||||
|
|
||||||
If the license is a text string:
|
<div class="tabs">
|
||||||
|
|
||||||
|
### Coder UI
|
||||||
|
|
||||||
|
1. With an `Owner` account, go to **Admin settings** > **Deployment**.
|
||||||
|
|
||||||
|
1. Select **Licenses** from the sidebar, then **Add a license**:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
1. On the **Add a license** screen, drag your `.jwt` license file into the
|
||||||
|
**Upload Your License** section, or paste your license in the
|
||||||
|
**Paste Your License** text box, then select **Upload License**:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### Coder CLI
|
||||||
|
|
||||||
|
1. Ensure you have the [Coder CLI](../install/cli.md) installed.
|
||||||
|
1. Save your license key to disk and make note of the path.
|
||||||
|
1. Open a terminal.
|
||||||
|
1. Log in to your Coder deployment:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
coder login <access url>
|
||||||
|
```
|
||||||
|
|
||||||
|
1. Run `coder licenses add`:
|
||||||
|
|
||||||
|
- For a `.jwt` license file:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
coder licenses add -f <path to your license key>
|
||||||
|
```
|
||||||
|
|
||||||
|
- For a text string:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
coder licenses add -l 1f5...765
|
coder licenses add -l 1f5...765
|
||||||
```
|
```
|
||||||
|
|
||||||
If the license is in a file:
|
</div>
|
||||||
|
|
||||||
```sh
|
</details>
|
||||||
coder licenses add -f <path/filename>
|
|
||||||
```
|
Visit the [licensing documentation](../admin/licensing/index.md) for more
|
||||||
|
information about licenses.
|
||||||
|
|
||||||
## I'm experiencing networking issues, so want to disable Tailscale, STUN, Direct connections and force use of websocket
|
## I'm experiencing networking issues, so want to disable Tailscale, STUN, Direct connections and force use of websocket
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user