Mount the button
The SDK renders Human Proof inside the #humanproof element.
Web integration
Add a Human Proof button to your website.
See the complete flow
The video shows how a visitor starts Human Proof and returns a verified result to the website. It follows your selected language and light or dark theme.
View an exampleUsage
Place an empty element where the Human Proof button should appear, load the SDK, and request verification.
Replace YOUR_SITEKEY with the sitekey issued for your website. It identifies the authorised site. The answer bucket and polling flow are already configured by the SDK.
<div id="humanproof"></div>
<script src="/humanproof.js"></script>
<script>
HumanProof.requestHumanProof({
sitekey: "YOUR_SITEKEY",
}).then(({ result }) => {
console.log(result.claims.platform, result.claims.liveness, result.claims.integrity);
});
</script>How to use it
The SDK renders Human Proof inside the #humanproof element.
The visitor presses the button and completes the guided Human Proof flow on their device.
The promise resolves only after verification. Use the signed platform, liveness and integrity claims in your application.