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.
When the SDK is mounted, it uses the patient.identifier
to check if a provider already exists in the Suki system:
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.