Skip to main content
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.

Installation

Include the SDK via CDN:

Integration Options

The Urtentic Web SDK offers two main integration options:

Web Components

Pre-built UI components for quick integration with the <urtentic-button> element

JavaScript 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. Call Urtentic.init() from any event — here triggered by a custom button:

Configuration Parameters

Customizing the Button

Button Text

Set the button label by adding text content inside the <urtentic-button> element:
If no text is provided, the button defaults to “Verify me”.

Button Styles

Use the ::part(button) CSS pseudo-element to style the button to match your brand:

Browser Compatibility

The Urtentic Web SDK is compatible with all modern browsers:
For older browsers, the SDK automatically includes polyfills for Web Components.