Setup
The first license doc to read. Gets a project from no key at all to Flux running Pro/Enterprise features on your domain — four env vars and one line of code, zero portal screenshots required to follow along.
- A portal account at tsworldtechflux.dev/portal
- A createFlux() call already in place — see api/create_flux if not
Where your credentials come from
Four values, four jobs
NEXT_PUBLIC_FLUX_LICENSE_TOKEN is safe to expose to the browser. The other three stay server-side, and only matter once you wire up daily reporting.These are related but not the same thing, and only one of them needs your attention.
Minimal client-side wiring
createFlux().What happens if you skip this entirely
License enforcement is console-only and non-blocking. A missing or invalid token downgrades to free-tier behavior — it never breaks a build, never throws, and never disables the app.
Because token verification occurs synchronously against the cached public key within createFlux(), client initialization proceeds immediately without delaying route rendering or component mount cycles.
Next up: license/domain_binding covers why your token is tied to a domain, what happens if it is used elsewhere, and the one case where verification touches the network. license/quotas covers what "500,000 events/month" actually counts. license/webhook_setup covers the server-side half — daily reports and theft-mismatch webhooks.