Suki.js is modularized into framework-specific packages, published under the @suki-sdk scope. Install only the package you need for your environment.

The SDK requires an ES6 compatible browsers and is built to work seamlessly with modern JavaScript frameworks.

The @suki-sdk/js package delivers the core functionality of the Suki SDK without tying it to any specific framework. It can be used in plain JavaScript projects as well as with frameworks like Vue, Angular, or Solid.js.

pnpm add @suki-sdk/js

For the rest of this document, we will assume the following:

  • You have received your partnerId from Suki
  • Your partner configuration includes a valid JWKS endpoint
  • Your authentication token contains the correct user identifier (e.g., sub, email)