Skip to content

Commit 4923f16

Browse files
Applet Runner: updated docs for new version (#255)
1 parent 1620bcf commit 4923f16

13 files changed

+65
-6
lines changed
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

sites/labs/src/components/ExtensionPayment.astro

+5-5
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ const product = products[productId];
3232
<br />
3333
<p class="text-base">
3434
Activate your license key by entering it in the "Manage License"
35-
section of the installed JNLPRunner extension. For more information on
36-
how to activate a license, please visit our <a
37-
href="/cheerpj-jnlp-runner/getting-started/activate-license"
35+
section of the installed {product.name} extension. For more information
36+
on how to activate a license, please visit our <a
37+
href=`/${product.id}/getting-started/activate-license`
3838
target="_blank"
3939
class="text-white hover:text-gray-300 font-bold underline"
4040
>licensing page</a
@@ -48,8 +48,8 @@ const product = products[productId];
4848
type="text/javascript"
4949
data-storefront={formUrl.toString()}></script>
5050
<div id="fsc-embedded-checkout-container"></div>
51-
<script type="text/javascript">
52-
fastspring.builder.add("cheerpj-jnlp-runner");
51+
<script type="text/javascript" define:vars={{ productId: productId }}>
52+
fastspring.builder.add(productId);
5353
</script>
5454
</div>
5555
</div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
title: Activate your license
3+
description: Activate your extension license
4+
---
5+
6+
This tutorial will guide you step by step on how to activate your extension license.
7+
8+
## Prerequisites
9+
10+
There are two ways to activate your license. Please follow the section that applies to you:
11+
12+
- **License Key (Most Users)**: You can purchase a license key from the <a href="/payment-applet" target="_blank">_**Leaning Technologies shop**_</a> and activate it by following the **Activation via license key** section.
13+
- **License Token**: If you received a license token, typically for technical evaluations or organizational licenses — see the **Offline activation via License Token** section.
14+
15+
## Activation via license key
16+
17+
### Purchase License
18+
19+
In order to activate your license, click on the _**Manage License**_ button on the popup.
20+
21+
<div class="mx-24">![](/assets/applet-screenshots/popup_annotated.png)</div>
22+
23+
Once you click on the _**Manage License**_ button, you will be redirected to the license activation screen. Here you can enter your license key or license token. Click on the link to purchase a license key.
24+
25+
<div class="mx-24">
26+
![](/assets/applet-screenshots/license_key_annotated.png)
27+
</div>
28+
29+
### Validate License Key
30+
31+
You will be redirected to the <a href="/payment-applet" target="_blank">_**Leaning Technologies shop**_</a> where you can request your license key.
32+
33+
<div class="mx-24">![](/assets/applet-screenshots/purchase_license.png)</div>
34+
35+
Once the purchase is complete, the license key will be displayed on the screen. You will also receive an email with the license key. Copy the license key then return to the extension and select the _**Enter License**_ option.
36+
37+
<div class="mx-24">![](/assets/applet-screenshots/enter_license.png)</div>
38+
39+
Paste the license key into the license key field.
40+
41+
<div class="mx-24">![](/assets/applet-screenshots/license_key.png)</div>
42+
43+
Click on the _**Validate**_ button to validate your license key. If your license key is valid, you will see a success message.
44+
45+
<div class="mx-24">![](/assets/applet-screenshots/valid_license.png)</div>
46+
47+
## Offline activation via License Token
48+
49+
If you have been provided with a license token, you can activate your license offline. From the extension's home screen or popup, click on the _**Manage License**_ link, then select _**Enter License**_. Click on the _**License Token activation**_ checkbox, enter your license token and click on the _**Validate**_ button.
50+
51+
<div class="mx-24">![](/assets/applet-screenshots/license_token.png)</div>

sites/labs/src/content/docs/cheerpj-applet-runner/03-getting-started/using-first-time.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ You will see a text letting you know that you do not have a Java installation on
3939

4040
Just click on the extension icon and enable the Applet Runner in the popup.
4141

42-
<div class="flex justify-center">
42+
<div class="mx-24">
4343
<img
4444
src="/assets/applet-screenshots/applet_runner_usage.png"
4545
class="m-0"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
import ExtensionPayment from "../components/ExtensionPayment.astro";
3+
---
4+
5+
<ExtensionPayment
6+
productId="cheerpj-applet-runner"
7+
formUrl="leaningtech.onfastspring.com/embedded-storefront"
8+
/>

0 commit comments

Comments
 (0)