Skip to main content

Adding a License Key

When you install the Reveal SDK, a license key must be provided or the SDK will not function. There are two types of license keys

Key File

By default, the Reveal SDK will look for a valid license in a file called license.key within a folder named .revealbi-sdk in the user's "Home" directory.

The "Home" directory differs depending on the OS you are using.

  • Windows: C:/Users/your-user-name/
  • Mac: /Users/your-user-name/
  • Linux: /home/your-user-name/

When you receive your license key, create a text file named license.key within a directory named .reveabi-sdk located in your "Home" directory. Populate this file with your license key as its content.

For example; if using Windows the license file location should be located at C:/Users/your-user-name/.revealbi-sdk/license.key.

Set In Code

The license key can also be provide in the application code.

services.AddMvc().AddReveal(builder => 
{
builder.AddSettings(settings =>
{
settings.License = "LICENSE_KEY";
});
});