Skip to main content

Licensing (required)

Start here. These three calls are what make licensing work in your product.

  • Activate runs once, when the customer pastes their key. It registers their device or website, which is how the plan's device limit is enforced.
  • Validate answers one question: should my product unlock right now? Call it right after activation, at every launch, and about once a day. Unlock only when valid is true.
  • Deactivate runs when the customer clicks Deactivate. It frees their slot so they can use the key on a new computer.

If you only build these three, your licensing works.