Skip to content

First Steps

After installing the License Server, follow these steps to set up your admin account, upload the server license, and start issuing licenses to customers.


Standalone binary:

Terminal window
./license-server serve

Docker Compose:

Terminal window
docker compose -f deployment/docker-compose.yml up -d

The admin UI is available at http://localhost:5656 once the server is running.


Use the admin create CLI command to create your first administrator.

Interactive mode (prompts for each field):

Terminal window
./license-server admin create

Non-interactive mode (all values inline):

Terminal window
./license-server admin create \
--username admin \
--email admin@example.com \
--password 'YourSecurePassword1!'

Via Docker:

Terminal window
docker compose exec license-server /app/license-server admin create

The License Server itself requires a valid server license to operate. There are three ways to provide it:

  1. Log in at http://localhost:5656 with the admin credentials you just created.
  2. Navigate to Settings > Server License.
  3. Upload your server.lic file.

Set the LICENSE_SERVER_LICENSE environment variable to the base64-encoded license file:

Terminal window
export LICENSE_SERVER_LICENSE=$(base64 -w0 server.lic)

Or in your .env file:

Terminal window
LICENSE_SERVER_LICENSE=<base64-encoded-content>

Set the path to the license file in config.yaml:

server:
license: /path/to/server.lic

Features define the capabilities that can be included in a license.

  1. Navigate to Features in the sidebar.
  2. Click Add Feature.
  3. Fill in the details:
    • Name — A unique identifier for the feature (e.g., advanced-reporting, multi-tenant).
    • Description — A human-readable description of what the feature enables.
  4. Click Save.

Repeat for each feature your product offers. Features are reusable across multiple licenses.


Customers represent the organizations or individuals who hold licenses.

  1. Navigate to Customers in the sidebar.
  2. Click Add Customer.
  3. Fill in the customer details:
    • Name — Full name of the customer or organization.
    • Company — Company or organization name.
    • Email — Primary contact email address.
    • Contact — Name of the primary contact person.
    • Phone — Contact phone number.
    • Notes — Any additional information about the customer.
  4. Click Save.

Licenses tie together a customer, a set of features, and usage or time constraints.

  1. Navigate to Licenses in the sidebar.
  2. Click Add License.
  3. Configure the license:
    • Customer — Select the customer this license belongs to.
    • License Type — Choose one of:
      • Time-based — Valid for a specific date range.
      • Usage-based — Limited by a usage counter.
      • Hybrid — Combines both time and usage limits.
    • Expiration — Set the license expiration date (for time-based or hybrid types).
    • Features — Select which features to include in this license.
    • Activation Limits — Configure how many concurrent activations are allowed.
  4. Click Save.

The license is now active and can be validated by the client library via the REST or gRPC API.