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> 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. CallUrtentic.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:
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.