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.

Please see below for integration code snippets and example projects.

You will need to access your Yoti Hub account with an e-mail & password or using the Yoti mobile app and to have registered your business with Yoti. Check the below links for more info.

Onboarding with Yoti

Generate Production keys

Integration process

An example integration will include the steps highlighted in this section. We have provided code snippets in different languages to integrate Digital ID.

Hint For the complete guide, we suggest you read through the full documentation.

Install the SDK

You will need to ensure the latest version of the Yoti backend SDK is installed.

Node.js
Java
PHP
C#
Go
Python
Copy

Client initialisation

Initialise the Yoti Digital Identity Client using your SDK ID and PEM Key file.

Node.js
Java
PHP
C#
Go
Python
Copy

Create share session

Use the Yoti client to configure and create a share session.

Node.js
Java
PHP
C#
Go
Python
Copy

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.

HTML
Copy

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:

Node.js
Java
PHP
C#
Go
Python
Copy

Web examples

Our Github links below provide examples for the Digital ID Integration. Please select your preferred language to continue.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard