SukiAuthManager and FormFillingClient in JavaScript and React.
Before you begin, obtain your form_template_ids from your Suki support team. These are the template_id UUIDs enabled for your account. For the list of supported template types, refer to Form filling templates.
What each step does
1
Authenticate
Create
SukiAuthManager with your partnerId, partnerToken, and environment. The SDK signs in before the Form filling interface can open.2
Create the Client
Pass the auth manager to
new FormFillingClient({ authManager }). Create this once per page and reuse it for every session. Optionally add onError to log configuration or runtime errors.3
Open a Session
Call
client.start() or render <FormFilling> with form_template_ids and onSubmit. Pass your encounter ID as correlation_id so results map to the right patient record. In JavaScript, also pass rootElement and give that container explicit height.- JavaScript
- React
HTML
JavaScript
Next steps
Configuration for the fullstart() and <FormFilling> field reference
Quickstart for a full walkthrough
Basic usage example for session status UI with useFormFilling()