- The user is a returning user who previously abandoned the Smart UI onboarding flow and you don’t wish them to enter their details again.
- You are using Smart UI to verify personal information that you have already captured through your own interface.
Identify the customer
When initializing Smart UI, specify an identifier so Smart UI can retrieve the applicant’s details from FrankieOne. The identifier may be an applicant reference, also known as a customer reference. Typically you would specify an applicant reference, which is defined by your system and represents your own internal identification for that applicant. The example below initializes Smart UI using an applicant reference:JavaScript
Note
When the applicant isn’t found, the request returns an HTTP response of404 Not Found, which might log a network error on the console, but that response is expected and can be ignored.Capture personal information using your own interface
If your own interface already captures personal information, you can use the Create Entity API to save those details without checking them. The API response will return the entity’s ID, which you can use to initialize Smart UI with. The example below initializes Smart UI using an Entity ID:JavaScript
Preloading recipes/check profile
The Smart UI will always force checks to be run under the configured checkProfile. Even when an applicant is preloaded with a recipe “A”, if the Smart UI is configured with checkProfile “B”, “B” will be used. The one exception to this is if the Smart UI is configured with checkProfile “auto” and the preloaded applicant already uses the recipe “C”, then “C” will be used. The following is a table with the different scenarios for preloading recipes, demonstrating the “configured” value, “preloaded” value, and the resulting value that will be “used”:| Configured | Preloaded | Used |
|---|---|---|
| ”A" | "B" | "A" |
| "auto” OR Missing configuration | ”B" | "B" |
| "A" | "auto" | "A" |
| "auto" | "auto" | "auto” |