- Install the Suki Web SDK package for your framework (JavaScript or React)
- Initialize the SDK by creating a
SukiAuthManagerfrom@suki-sdk/corewith your partner token and provider fields - Mount the SDK UI into your application using the
encounterobject.
Prerequisites
For the rest of this documentation, we assume the following setup is complete:-
You have received your
partnerIdfrom Suki. - Your host URLs are on the Suki allowlist.
- Your partner configuration in the Suki Platform points to your correct JWKS endpoint.
- Your JWT token contains the key that you specified as your User identifier field.
Install the Suki SDK package
To begin, install the Suki web SDK package in your project. Choose the appropriate package based on your framework: For detailed setup instructions, refer to the Installation guide.Step 1: Initialize the SDK
Initialize the Suki SDK by creatingSukiAuthManager from @suki-sdk/core with the following required fields:
partnerIdRequired - Your partner ID from SukipartnerTokenRequired - Your partner token from SukiproviderNameRequired - The full name of the providerproviderOrgIdRequired - The organization ID of the provider
authManager into initialize() in JavaScript or init() in React.
Run initialization once, usually from your app entry point, so your app can sign in to Suki and use Web SDK features.
Mount the SDK UI
After initializing the web SDK, you can mount the Suki UI into your application using theencounter object. This object provides patient context for ambient documentation and transcription.
If you face any issues while mounting the SDK UI, make sure you are using the correct package and framework.