Once you have a working button, you can install the SDK.
To successfully integrate, you will need the following information about your application from Yoti Hub:
- SDK ID
- Application key pair (PEM)
The Yoti SDKs are available via popular dependency management systems.
To install the Yoti SDK:
// Get the Yoti Node SDK library via the NPM registrynpm install -S -E yotiOnce you have added the Yoti SDK dependency to your project, it’s time to initialise a Yoti client as shown in the code snippet below.
x
const Yoti = require('yoti')const CLIENT_SDK_ID = 'YOTI_CLIENT_SDK_ID'const PEM_PATH = 'YOTI_KEY_FILE_PATH'const PEM_KEY = fs.readFileSync(PEM_PATH)const yotiClient = new Yoti.DigitalIdentityClient(CLIENT_SDK_ID, PEM_KEY)Was this page helpful?