Activation flows
Activation always does the same thing: it turns an entitlement into a session, a signed license bound to who or what is using it. What differs is who may activate and what identity they must prove — and that is a property you choose per entitlement, not a fixed rule.
Oclavex offers three flows, from no identity to a full account:
- Keyed — anyone with the activation code can activate. No identity.
- Email-verified — the user proves an email address first, but keeps no account.
- Account — the user registers, signs in, and gets their own entitlement.
Each flow triggers automation as a side effect — emails to your user, webhooks to your systems, and state changes inside Oclavex. This page covers all three and maps what fires.
Choosing a flow
Section titled “Choosing a flow”| Flow | Keyed | Try | Email-verified | Account |
|---|---|---|---|---|
| Identity required | none — an activation code | none | a verified email, no password | a registered account |
| Your user does | presents a key (often silently) | chooses to try it, in the application | clicks a link in their inbox | registers → confirms → signs in |
| The session binds to | the device | the device | the email + device | the user (seats across devices) |
| A new device means | key it again | a new allowance | verify the email again | sign in again |
| Oclavex creates | a session | a short-lived entitlement, then a session | a session | their own entitlement, then a session |
| Self-service portal | no — a signed-in user can still add the code to My Licenses | no | no | yes — My Licenses |
| Best for | desktop, on-prem, air-gapped, devices | letting people use the product before they decide | “just your email” trials | SaaS with per-user licensing |
The Automation actions section consolidates what every flow fires.
Keyed activation
Section titled “Keyed activation”The identity-free flow. A device presents an activation code and a device fingerprint; Oclavex issues a session bound to that device. Anyone holding the code can activate — so the code is the credential.
What your user does
- Your application supplies the activation code — pasted by the user, or shipped with the app and applied silently.
- The device activates and starts running on its license.
What Oclavex does — issues a session bound to the device fingerprint, snapshotting the entitlement’s features and plan. No email address is involved unless the entitlement carries a contact.
Automation triggered
| Channel | What fires |
|---|---|
| Webhook | Entitlement.SeatActivated when the device takes its seat, and Entitlement.SeatReleased when it releases it; Entitlement.Activated fires earlier, when you publish the entitlement (it transitions to Active), and Entitlement.ActivationCodeIssued when an activation code is created |
| “Your activation code is ready” when the activation code is created — if configured, and only if the code has a recipient email | |
| State | a session is bound to the device; a seat is consumed |
Configure it — issue an entitlement with an activation code and set its Activation security level to Anonymous; a new entitlement starts at Identify (log in). It also works offline once you turn on Allow offline activation — see offline & air-gapped activation.
Limits — a keyed session has no cross-device continuity: every device activates by presenting the code itself, and no identity links them. Use it when the license belongs to a device, not a person.
Try activation
Section titled “Try activation”People use the application before they decide anything. The application presents a try code — a public code you publish on the offer — together with the device fingerprint, and Oclavex issues that browser or installation its own entitlement: its own quotas, its own meters, its own clock. No account, no email, no form.
What your user does
- Opens the application and chooses to try it — a button, a “start” action, an explicit step the application puts in front of the request. The application asks for the entitlement on that action, never on opening a page.
- Uses it under the allowance the try plan sets.
- Signs up when they want to keep going — and gets a full entitlement of their own through account activation.
Ask on a deliberate action, not on page load. Pages are opened by more than people: link-preview renderers, uptime monitors and search crawlers execute an application that runs in a browser, and each renderer presents a device fingerprint of its own. An application that requests a try entitlement when it renders issues an entitlement to each of those renderers. Each entitlement is a real record with a lifetime and a retention window, and each issuance spends the limits the offer’s real visitors share — at the ceiling a person is refused. The platform bounds issuance; it does not tell a crawl from a visit. Putting the request behind an action the visitor takes is the application’s part, and a bot challenge such as Cloudflare Turnstile in front of that action keeps the automated share out.
What you set up
On an offer, open Anonymous try and choose:
- the plan entitlements are issued on — usually a small one whose tiers deny past the allowance, so the end of the try is a clear stop rather than a silent slowdown. Naming a plan here takes it out of self-service: nobody can request a change onto it, and no try entitlement can be moved off it. Give the try its own plan rather than pointing at one you sell;
- the lifetime, counted from when an entitlement is issued and never extended. A day suits a demo; seven days is the maximum, and anything longer belongs in a trial;
- how long to keep an expired entitlement before deleting it, together with the device identifier it holds. One that converts is deleted at once;
- the try code, which you can change at any time to stop the previous one working;
- how many entitlements the offer will issue — per time window, per caller address, and how many may be live at once.
The policy alone does not open the try. Also turn on Open this offer to visitors without an
account (allowAnonymousTry in the API). While that switch is off, a try code is answered with
“This try code isn’t available”.
A visitor has no account, so the offer’s Activation security level must be Anonymous. A new offer starts at Identity Verification (email), and there the first try is refused with “This license needs a confirmed email address”. Set the level on the offer’s Activation policy card, and leave out an organization restriction and an activation workflow requirement: either also turns visitors away. While the try switch is on, the card shows a warning if the policy would refuse visitors.
What to expect
- One entitlement per device, not per visit. The same browser returning within the lifetime finds the same allowance where it left it. Clearing site data or opening a private window is a new device and a new allowance — that is the limit of identifying a visitor who has not told you who they are, and the issuance limits above are what bound it.
- One try per device. When a device’s try ends, asking again from the same device is
refused with
license.try_ended: show it as “your free try has ended; sign up to keep going”. The refusal lasts as long as the ended entitlement is kept. Once it is deleted, the device can start a new try. Changing the try code, or trying another offer, starts a new count. - A request that names no device is refused. The try code is public, so it identifies the offer and never the caller.
- These are not customers. Try entitlements never trigger customer mails or outbound webhooks, and the entitlement list and the reports leave them out unless you ask for them by name. The Show try licenses filter on the entitlements grid is how you ask; the dashboard counts how many are held right now.
- They cannot change plan or top up credits. Both answer with an invitation to sign up.
Email-verified activation
Section titled “Email-verified activation”Just an email, still identifiable. The user gives an email address and clicks a verification link before the device activates — proving the address without creating an account or password. This is the “go live with just your email” path.
What your user does
- Enters their email in your application.
- Receives a verification link and clicks it.
- The device activates once the link is confirmed.
What Oclavex does — sends the verification email, and on confirmation issues a session bound to that email and device. There is still no account and no portal login.
Automation triggered
| Channel | What fires |
|---|---|
| a verification link (before activation); “Your activation code is ready” is tied to code creation (if configured), not to the device activating | |
| Webhook | Entitlement.SeatActivated when the device takes its seat; Entitlement.Activated fires when the entitlement is published |
| State | a session is bound to the email + device |
Configure it — set the entitlement’s (or its activation code’s) authentication to require email verification. Everything else — plan, trial, seats — behaves the same as a keyed entitlement.
Limits — verification is per device: a second device re-verifies the same email. The email proves an address, not a login, so there is no My Licenses portal for the user.
Account activation
Section titled “Account activation”Full self-service signup, one entitlement per user. The user registers, confirms their email, and signs in. On confirmation Oclavex gives them their own entitlement, cloned from an offer you publish, so each user gets an isolated license — their own plan, quotas and credit balance. Signing in and activating binds a session to them, not just a device.
What your user does
- Registers with an email and password on your sign-up page.
- Confirms their email from the link Oclavex sends.
- Signs in, and the application activates their license.
What Oclavex does
- On registration, sends a confirm-your-email link.
- On confirmation, issues their own entitlement from your offer and assigns it to them — it appears in their My Licenses portal before they ever open the app.
- On sign-in, activation automatically selects their assigned entitlement and binds a session to the user. Additional devices are extra seats on that same entitlement.
Automation triggered
| Channel | What fires |
|---|---|
| confirm-your-email (on register); an entitlement-ready email when their entitlement is issued; plan-change outcome (if they switch plans) | |
| Webhook | Entitlement.Activated when their entitlement is published (issued from your offer); Entitlement.SeatActivated when each of their devices takes a seat; Entitlement.PlanApplied (on a plan change) |
| State | their entitlement is issued and assigned; a session binds to the user; seats accrue per device |
Configure it — publish an offer marked to
issue to new users, with the plan and any trial the clones should inherit. Through the API,
the offer needs issueOnUserRegistration set to true: a trial policy alone issues nothing. Only a
Published offer issues: while it is Draft, Disabled or Archived, users can still
register, confirm and sign in, but they receive no entitlement. The
self-service My Licenses portal requires the end-user portal capability, included
from the Professional plan up.
Limits — the heaviest flow: it manages accounts and issues a license per user. Use it when licenses belong to people who return across devices and manage themselves.
Automation actions
Section titled “Automation actions”“Automation” spans three channels, and every flow above fires into them:
- Emails reach your end user — verification and confirmation links, and the “Your activation code is ready” notice (sent when an activation code is created, if configured). Which ones send depends on the flow.
- Webhooks reach your systems so billing, CRM and automation stay in sync without polling. Every payload is a CloudEvents envelope, signed per Standard Webhooks — see the full event catalog.
- State changes happen inside Oclavex — an entitlement issued, a principal assigned, a session bound, a seat consumed — visible in the portal and the admin API.
This matrix maps each lifecycle moment across all three, regardless of flow:
| Moment | Email to your user | Webhook | State in Oclavex |
|---|---|---|---|
| Registration submitted (account) | confirm-your-email link | User.Created |
account created, pending |
| Email confirmed (account) | entitlement-ready email | Entitlement.Activated (the entitlement is published on issue) |
their entitlement issued & assigned |
| Verification requested (email-verified) | verification link | — | — |
| Entitlement published (vendor action) | entitlement-ready email to the contact, if it has one, naming one credential: a code created for the contact in Draft, else the license key. With neither, the email waits for the first code | Entitlement.Activated |
entitlement live, ready to activate |
| Activation code created | “Your activation code is ready” (if configured). A code for the contact goes in the entitlement-ready email instead, and isn’t emailed once the contact has that email with the license key; later codes on an order without a key are emailed one by one | Entitlement.ActivationCodeIssued |
— |
| Device activates (all flows; a try device fires no webhook) | — | Entitlement.SeatActivated |
session bound; seat consumed |
| Seat released — by the device, by its user on the end-user portal, or by you | — | Entitlement.SeatReleased |
seat freed |
| Plan changed or approved | plan-change outcome | Entitlement.PlanApplied |
applied plan updated |
| Trial nearing its end | trial reminder | Entitlement.TrialExpiring |
— |
| Subscription period renews | — | Entitlement.Renewed |
period extended |
| Quota tier crossed | overage notice | MeteredUsage.OverageStatusChanged |
— |
| Prepaid credits run low | — | CreditBalance.StatusChanged |
— |
| Credits are bought or deposited | — | CreditBalance.Deposited |
balance increased |
Subscribe only to the event types you need — each exactly (Entitlement.Activated), or all
(*) — and verify every delivery’s signature. The receiving
contract, with code, is in Receiving webhooks.
Which flow should I use?
Section titled “Which flow should I use?”- License a device, or ship offline / air-gapped? Use keyed activation — no identity to carry, works with no network.
- Want people to use the product before they commit to anything? Use try activation — each browser gets a small allowance of its own, and the sign-up comes when it runs out.
- Want to know who is trialing, without asking them to make an account? Use email-verified activation — one click, no password.
- Selling per-user SaaS where people return across devices and manage their own licenses? Use account activation — each user gets their own entitlement and a self-service portal.
The identity an entitlement requires is one setting, from none through a verified email to a signed-in account, so you can raise it later to add stronger identity checks.
How it relates
Section titled “How it relates”- Turns into → a session, described in Activation & sessions.
- Issued from → an entitlement or offer; the account flow clones one offer per user.
- Notifies through → webhooks and their event catalog.
- Meters into → metering, quotas & credits, which records usage against the session and raises the overage and credit events above.