# Licensing Wijmo Applications

Learn how to License Wijmo Applications in this tutorial. 

## Content

<span style="font-family:Aptos,sans-serif;
mso-fareast-font-family:Yu Gothic Light;mso-fareast-theme-font:major-fareast;
mso-bidi-font-family:Segoe UI;mso-ansi-language:EN-US" lang="EN-US">Wijmo offers a 30-day free trial, so you can experiment with the Wijmo controls without a product key. However, note that the evaluation version displays a watermark underneath, when you run your application. </span><span style="font-family:Aptos,sans-serif;mso-fareast-font-family:Yu Gothic Light;
mso-fareast-theme-font:major-fareast;mso-bidi-font-family:Segoe UI"> </span>
<span style="font-family:Aptos,sans-serif;
mso-fareast-font-family:Yu Gothic Light;mso-fareast-theme-font:major-fareast;
mso-bidi-font-family:Segoe UI;mso-ansi-language:EN-US" lang="EN-US">To use Wijmo for production purposes, you must purchase a license from the </span>[<span style="font-family:Aptos,sans-serif;
mso-fareast-font-family:Yu Gothic Light;mso-fareast-theme-font:major-fareast;
mso-bidi-font-family:Segoe UI;color:#467886;mso-ansi-language:EN-US" lang="EN-US">Mescius website</span>](https://developer.mescius.com/wijmo/pricing)<span style="font-family:Aptos,sans-serif;mso-fareast-font-family:Yu Gothic Light;
mso-fareast-theme-font:major-fareast;mso-bidi-font-family:Segoe UI;
mso-ansi-language:EN-US" lang="EN-US"> or by contacting our </span>[<span style="font-family:Aptos,sans-serif;mso-fareast-font-family:Yu Gothic Light;
mso-fareast-theme-font:major-fareast;mso-bidi-font-family:Segoe UI;
color:#467886;mso-ansi-language:EN-US" lang="EN-US">sales team</span>](mailto:us.sales@mescius.com)<span style="font-family:Aptos,sans-serif;
mso-fareast-font-family:Yu Gothic Light;mso-fareast-theme-font:major-fareast;
mso-bidi-font-family:Segoe UI;mso-ansi-language:EN-US" lang="EN-US">. Once you purchase the license, you will receive an email containing the serial key. </span><span style="font-family:Aptos,sans-serif;mso-fareast-font-family:
Yu Gothic Light;mso-fareast-theme-font:major-fareast;mso-bidi-font-family:
Segoe UI"> </span>
<span style="font-family:Aptos,sans-serif;
mso-fareast-font-family:Yu Gothic Light;mso-fareast-theme-font:major-fareast;
mso-bidi-font-family:Segoe UI;mso-ansi-language:EN-US" lang="EN-US">Follow the steps below to remove the evaluation watermark and license your Wijmo product:</span><span style="font-family:Aptos,sans-serif;mso-fareast-font-family:
Yu Gothic Light;mso-fareast-theme-font:major-fareast;mso-bidi-font-family:
Segoe UI"> </span>
<span style="mso-list:Ignore">1.</span><span style="font:7.0pt Times New Roman">       </span><span style="font-family:Aptos,sans-serif;mso-fareast-font-family:Yu Gothic Light;
mso-fareast-theme-font:major-fareast;mso-bidi-font-family:Segoe UI;
mso-ansi-language:EN-US" lang="EN-US">Login to your </span>[<span style="font-family:
Aptos,sans-serif;mso-fareast-font-family:Yu Gothic Light;mso-fareast-theme-font:
major-fareast;mso-bidi-font-family:Segoe UI;color:#467886;mso-ansi-language:
EN-US" lang="EN-US">Mescius account</span>](https://developer.mescius.com/login?return_url=/my-account/my-licenses#register)<span style="font-family:Aptos,sans-serif;mso-fareast-font-family:Yu Gothic Light;
mso-fareast-theme-font:major-fareast;mso-bidi-font-family:Segoe UI;
mso-ansi-language:EN-US" lang="EN-US"> and </span>[<span style="font-family:Aptos,sans-serif;mso-fareast-font-family:Yu Gothic Light;
mso-fareast-theme-font:major-fareast;mso-bidi-font-family:Segoe UI;
mso-ansi-language:EN-US" lang="EN-US">register</span>](https://developer.mescius.com/my-account/my-licenses#register)<span style="font-family:Aptos,sans-serif;mso-fareast-font-family:Yu Gothic Light;
mso-fareast-theme-font:major-fareast;mso-bidi-font-family:Segoe UI;
mso-ansi-language:EN-US" lang="EN-US"> the serial key.  </span><span style="font-family:Aptos,sans-serif;mso-fareast-font-family:
Yu Gothic Light;mso-fareast-theme-font:major-fareast;mso-bidi-font-family:
Segoe UI"> </span>
<span style="mso-list:Ignore">2.</span><span style="font:7.0pt Times New Roman">       </span><span style="font-family:Aptos,sans-serif;mso-fareast-font-family:Yu Gothic Light;
mso-fareast-theme-font:major-fareast;mso-bidi-font-family:Segoe UI;
mso-ansi-language:EN-US" lang="EN-US">Go to My Account > My Licenses and click “</span>**<span style="font-family:Aptos,sans-serif;mso-fareast-font-family:Yu Gothic Light;
mso-fareast-theme-font:major-fareast;mso-bidi-font-family:Segoe UI;
mso-ansi-language:EN-US" lang="EN-US">Create Distribution Key</span>**<span style="font-family:Aptos,sans-serif;mso-fareast-font-family:Yu Gothic Light;
mso-fareast-theme-font:major-fareast;mso-bidi-font-family:Segoe UI;
mso-ansi-language:EN-US" lang="EN-US">”. </span><span style="font-family:Aptos,sans-serif;mso-fareast-font-family:Yu Gothic Light;
mso-fareast-theme-font:major-fareast;mso-bidi-font-family:Segoe UI"> </span>
<span style="mso-list:Ignore">3.</span><span style="font:7.0pt Times New Roman">       </span><span style="font-family:Aptos,sans-serif;mso-fareast-font-family:Yu Gothic Light;
mso-fareast-theme-font:major-fareast;mso-bidi-font-family:Segoe UI;
mso-ansi-language:EN-US" lang="EN-US">Click </span>**<span style="font-family:Aptos,sans-serif;mso-fareast-font-family:Yu Gothic Light;
mso-fareast-theme-font:major-fareast;mso-bidi-font-family:Segoe UI;
mso-ansi-language:EN-US" lang="EN-US">Add a Hostname</span>**<span style="font-family:Aptos,sans-serif;mso-fareast-font-family:Yu Gothic Light;
mso-fareast-theme-font:major-fareast;mso-bidi-font-family:Segoe UI;
mso-ansi-language:EN-US" lang="EN-US"> and enter all the host names you want to use. </span><span style="font-family:Aptos,sans-serif;mso-fareast-font-family:Yu Gothic Light;
mso-fareast-theme-font:major-fareast;mso-bidi-font-family:Segoe UI"> </span>
<span style="mso-list:Ignore">4.</span><span style="font:7.0pt Times New Roman">       </span><span style="font-family:Aptos,sans-serif;mso-fareast-font-family:Yu Gothic Light;
mso-fareast-theme-font:major-fareast;mso-bidi-font-family:Segoe UI;
mso-ansi-language:EN-US" lang="EN-US">Once all the required hostnames have been added and click “</span>**<span style="font-family:Aptos,sans-serif;mso-fareast-font-family:Yu Gothic Light;
mso-fareast-theme-font:major-fareast;mso-bidi-font-family:Segoe UI;
mso-ansi-language:EN-US" lang="EN-US">Generate Distribution Key</span>**<span style="font-family:Aptos,sans-serif;mso-fareast-font-family:Yu Gothic Light;
mso-fareast-theme-font:major-fareast;mso-bidi-font-family:Segoe UI;
mso-ansi-language:EN-US" lang="EN-US">”. </span><span style="font-family:Aptos,sans-serif;mso-fareast-font-family:Yu Gothic Light;
mso-fareast-theme-font:major-fareast;mso-bidi-font-family:Segoe UI"> </span>
<span style="mso-list:Ignore">5.</span><span style="font:7.0pt Times New Roman">       </span><span style="font-family:Aptos,sans-serif;mso-fareast-font-family:Yu Gothic Light;
mso-fareast-theme-font:major-fareast;mso-bidi-font-family:Segoe UI;
mso-ansi-language:EN-US" lang="EN-US">Apply the distribution key to your application using Wijmo's </span>**<span style="font-family:Aptos,sans-serif;mso-fareast-font-family:Yu Gothic Light;
mso-fareast-theme-font:major-fareast;mso-bidi-font-family:Segoe UI;
mso-ansi-language:EN-US" lang="EN-US">setLicenseKey</span>** <span style="font-family:Aptos,sans-serif;mso-fareast-font-family:Yu Gothic Light;
mso-fareast-theme-font:major-fareast;mso-bidi-font-family:Segoe UI;
mso-ansi-language:EN-US" lang="EN-US">method.</span><span style="font-family:Aptos,sans-serif;mso-fareast-font-family:Yu Gothic Light;
mso-fareast-theme-font:major-fareast;mso-bidi-font-family:Segoe UI"> </span>
If you are importing Wijmo using a module loader, call **setLicenseKey** on the core Wijmo module:

```javascript
import * as wjcCore from '@mescius/wijmo';
wjcCore.setLicenseKey('your license key goes here...');
```

If you are loading Wijmo using script tags, call **setLicenseKey** as follows:

```html
<!-- Wijmo references (required) -->
<script src="https://cdn.mescius.com/wijmo/5.20231.904/controls/wijmo.min.js"></script>
<link href="https://cdn.mescius.com/wijmo/5.20231.904/styles/wijmo.min.css" rel="stylesheet"/>

<!-- apply your Wijmo licenseKey -->
<script>
    wijmo.setLicenseKey(**'your license key goes here...'**);
</script>
```

Now you can deploy the application to any of the domains that you specified when creating the licenseKey.