Starting from version 2.0.0, the Suki SDK introduces an auto onboarding feature to simplify the initial setup for new users. With this feature, a provider account is automatically created the first time a new user interacts with the SDK, eliminating the need for manual setup.

How Auto Onboarding Works

When the SDK is mounted, it uses the patient.identifier to check if a provider already exists in the Suki system:
  • If the provider does not exist, the SDK will automatically create one.
  • If the provider already exists, the SDK will use the existing provider data.
This behavior also extends to new organizations. If the specified organization does not exist, it will be created automatically using the providerOrgId provided during SDK initialization.
To support auto onboarding of organizations, ensure that the providerOrgId is always provided during SDK initialization.