# Lili Embedded Onboarding ## Getting Started 1. Call the Lili [Create Application API](/apis/application/other/registeraccount) to get the user token 2. Embed the Lili UI using the following javascript snippet: ``` ``` 1. The following parameters are required: | Parameter Name | Description | | --- | --- | | data-env | Sandbox/Prod - determine which environment to use for the onboarding | | data-external-id | The partner unique ID, as passed in the Create Application API. Optional. | | data-target-div | The DIV in which to present the Lili Create Application UI process | | data-token | The JWT token received from the Create Application API | 1. Please note that the script tag must be located before the closing `
` tag in the HTML document ## Sample HTML ```html