Skip to content

Auto-provisioning

Software that should be licensed the moment it first runs doesn’t need anyone to assign a SKU. Set the application’s default SKU and LaaSio assigns it on the first lookup. It covers two different needs:

  • A trial, for example 30 days after download, that ends on schedule and converts when the customer buys.
  • A regular license that comes with the product, for example a year of updates included with a device, or a free edition that every install gets. No store and no provisioning call are involved.
  1. In the console, set a default SKU on the application, and choose whether it is a trial (below).
  2. Your software sends the application ID as app on the lookup: GET /api/v1/lookup?org=…&client=…&app=<application id>.
  3. For a client with no assignment for that application, LaaSio creates the client if needed, assigns the default SKU starting now, and returns its signed entries.
  4. Later lookups return the same term, so it ends on schedule. A new client ID is needed to get a new one.

Auto-provisioning applies only to lookups with app, for applications with a default SKU, and for client IDs without whitespace.

The application’s default SKU is a trial setting (on by default) decides what the automatic assignment is:

  • Trial (default): the assignment is an automatic trial. Its Paid licenses are reported as Trial, so your software can tell a trial from a purchase. A trial default SKU must last 1 to 31 days. Automatic trials don’t count toward your plan’s active clients.
  • Regular license: turn the setting off when the default is a real license that comes with the product. The assignment is an ordinary one, licenses read as their own type, and the SKU can last any length or be perpetual. It counts as an active client from the first run, so with a free edition every install counts toward your plan.

When the customer buys, give the client a regular assignment. Any of these ends the trial, and the licenses read as Paid again:

  • your store calls /clients/assign with the purchased SKU;
  • you assign a different SKU in the console;
  • you use Convert on the client in the console (keeps the same SKU).

Renewing a trial keeps it a trial.

The console’s Trial conversions report shows trials started, converted, running and expired, the conversion rate and the average days to convert, per application. It’s included on Business and Scale plans.