Web integration

Developers

Add a Human Proof button to your website.

See the complete flow

From the button to verified proof.

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 example

Usage

Add the SDK and request proof.

Place an empty element where the Human Proof button should appear, load the SDK, and request verification.

The sitekey is required

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

Three steps, one verified result.

Mount the button

The SDK renders Human Proof inside the #humanproof element.

Start verification

The visitor presses the button and completes the guided Human Proof flow on their device.

Read the verification result

The promise resolves only after verification. Use the signed platform, liveness and integrity claims in your application.