Preventor docs
Identity Verification


Steps to integrate the Web SDK into React application.

Verification Flow

1. Installation

To install the Preventor Web SDK, add the following to your project’s:
  1. 1.
    Add in your public/index.html.
<script type="module" src=""></script>
2. Setup the button in your component file
import React, { useEffect, useRef } from "react";
export default function App() {
const pvtButtonRef = useRef(null);
useEffect(() => {
const pvtButton = pvtButtonRef.current;
pvtButton.addEventListener("loaded", () => {
}, []);
return <pvt-button ref={pvtButtonRef}></pvt-button>;
You have successfully installed the Preventor Web SDK!