The Urtentic Web SDK provides a simple way to integrate identity verification into your web application. It offers pre-built UI components and a JavaScript API to guide users through the verification process.Documentation Index
Fetch the complete documentation index at: https://docs.urtentic.com/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Integration Options
The Urtentic Web SDK offers two main integration options:Web Components
Pre-built UI components for quick integration with the
<urtentic-button> elementJavaScript API
Direct SDK initialization for custom UI implementations with full control
Using Web Components
The SDK provides the<urtentic-button> web component which creates a customizable verification button.
Add the Button to Your HTML
Handling Verification Events
Using the JavaScript API
For more control over the verification flow, use the JavaScript API directly:Configuration Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
clientId | String | Yes | Your Urtentic client ID |
flowId | String | Yes | The ID of the verification flow |
metadata | String | No | JSON string with additional data |
redirect | String | No | Redirect URL after completion |
userStartedSdk | Function | No | Callback when user starts verification |
userFinishedSdk | Function | No | Callback when verification is complete |
exitedSdk | Function | No | Callback when user exits the flow |
Customizing the Button
Browser Compatibility
The Urtentic Web SDK is compatible with all modern browsers:| Browser | Support |
|---|---|
| Chrome | Latest 2 versions |
| Firefox | Latest 2 versions |
| Safari | Latest 2 versions |
| Edge | Latest 2 versions |
For older browsers, the SDK automatically includes polyfills for Web Components.