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
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.
Next up: license/domain-binding covers why your token is tied to a domain, what happens if it's 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.