Step 2. Installing dependencies
PingOne JavaScript
To capture contextual data and perform risk evaluations, you must add the PingOne Protect module to your DaVinci Client project.
Install the DaVinci Client and PingOne Protect modules by using npm:
npm install @forgerock/davinci-client @forgerock/protect
After installing the module, you can proceed to Step 2. Integrating PingOne Protect DaVinci flows in JavaScript.