Quick start
Here is a quick reference to kickstart your SDK integration. For detailed information, we suggest you read through the step by step integration guide.
An example integration will include the steps highlighted in this section. We have provided code snippets in different languages to integrate Digital ID.
Install the SDK
You will need to ensure the latest version of the Yoti backend SDK is installed.
Client initialisation
Initialise the Yoti Digital Identity Client using your SDK ID and PEM Key file.
Create share session
Use the Yoti client to configure and create a share session.
Client side view
Yoti provides a client-side script that you can include in your html file to display a Yoti button or inline QR code.
In the example below, use the modal button, but please feel free to look at our examples in our integration guide.
Retrieve profile
When a share is completed, the webpage where Yoti button/QR is rendered will automatically be redirected to the URL specified in the session configuration. The query parameter of redirectId will be attached to this URL.
You will then use use the receipt id to retrieve a user profile:
Web examples
Our Github links below provide examples for the Digital ID Integration. Please select your preferred language to continue.
Got a question? Contact us here.