License Configuration
You can perform a standard online activation or use an offline activation flow if your environment does not have direct internet access.
Before activating your license, you need to create an account and subscribe to a plan. Once registered, you will receive your API key, which you will use as your license key in the configuration file.
Online License Activation
Once you have your API key, add the following line to your configuration file to activate your NEX license:
On the next startup, NEX will automatically detect the license and use the default AI API gateway.
Offline License Activation
If your NEX host does not have direct internet access, you can activate your license using the offline activation flow. The upload step can be completed from a different machine with internet access, so the machine running NEX does not need to be connected to the internet at any point.
- Create a new license in the online portal and copy the generated license key.
- In your
.envor~/.nex/config, set: - Run NEX. It will generate a file named
offline_activation.reqin the current directory and display a URL for completing offline activation. - Upload the
offline_activation.reqfile to the offline portal URL provided by NEX (for example,https://offline.licensespring.com). - Download the generated
.licfile, place it in your NEX working directory, and rename it to: - Run NEX again to complete the activation process.
Note
Offline activation requires both LICENSE_KEY and LICENSE_OFFLINE=true to be set before generating the request file.