Skip to content
Docs

License portal

The license portal is the public storefront where customers get a Lifeboat Router commercial license — online by card, or offline by invoice / for an air-gapped install.

Iterate.ai runs the official portal at https://lifeboatrouterlicense.interplay.iterate.ai/lifeboat/portal/ — that is where keys that every published lifeboatrouter install trusts are issued.

You can also run your own, two ways:

Terminal window
lifeboatrouter portal # hub + storefront, at /portal
lifeboatrouter portal --root-path /lifeboat/portal # behind a reverse proxy under a path prefix

The official portal is a native Interplay (Node-RED) build of the same storefront and issuing API — byte-for-byte key compatible with the Python one. Its source and deploy steps are in deploy/license-portal/ in the repository. To run your own portal, generate a fresh keypair, keep the private half on the portal host, and embed its public half in the package (see below).

A commercial key is an Ed25519-signed token (LBR2.<payload>.<signature>). The portal holds the private signing key; every router embeds the matching public key and verifies a key offline, with no network — it reads the expiry straight from the signature. This is what makes an offline / air-gapped license possible. Revocation is an online extra: a router asks the portal once a day, and if the portal is unreachable the signed key still stands until it expires.

Set the signing key on the portal host only, as a file at ~/.lifeboat_router/license_signing_key.pem or the LIFEBOAT_LICENSE_PRIVATE_KEY environment variable. Generate a keypair with lifeboat_router.security.generate_license_keypair(); the public half is embedded in the package so routers can verify what this portal issues.

A customer picks a plan, enters their email, and pays on Stripe’s hosted checkout. On payment the portal issues a key automatically and shows it (and a downloadable .lic) on the return page; it also records the order. Online buying needs the portal’s Stripe keys (Settings → Payments) and a signing key.

For a purchase order, an invoice, or an air-gapped install, the customer uses Request invoice / offline: email, company, plan, seats and a note. The operator sees the request in the admin console (on the hosted portal, …/lifeboat/portal/admin.html, signed in with the portal admin token) and issues the key with one click; the customer installs the key, or a signed .lic file, without the router ever contacting the portal. The admin console is also where you add the Stripe account that receives payments and switch between sandbox and live.

Plans (name, price, duration, seats) are configured under portal.plans. The default set is a free Developer plan (non-commercial), a Startup plan and a Business plan. Edit them for your pricing.

The customer pastes the key into their router at Sell → Sell directly → License key, or drops a .lic file where the router reads it for an air-gapped install. The router verifies it offline and switches to commercial mode. See Licensing.