Choose your integration method: From quick no-code iframes to full programmatic control with our JavaScript SDK, or drop-in plugins for WordPress, Shopify, and Salesforce.
Integration Methods
Recommendation: For production web apps, use the JavaScript SDK for the best UX and full programmatic control. Use InContext iframe for the quickest setup, Redirect when cross-device verification is needed, and the dedicated WordPress / Shopify / Salesforce integrations if you live on those platforms.
JavaScript SDK
The Didit JavaScript SDK provides a programmatic way to integrate verification with full control over the user experience. Key Features:- Session management and event callbacks
- React, Vue, Angular, NextJS, Nuxt, Svelte and vanilla JS support
- Full TypeScript support
- Modal & inline modes
InContext (Iframe)
Embed the verification flow directly within your application using an iframe. Seamless experience without redirecting users away from your site. Key Features:- UniLink (no backend required) - setup in < 1 minute
- API Session (with backend) - full customization
- Modal and inline implementations
- React component examples
Redirect
Redirect users to the Didit-hosted verification page. After completion, users return to your callback URL. Key Features:- Maximum browser compatibility
- Cross-device verification support
- Simple integration
- Works when iframe camera access is problematic
Comparison
All three methods deliver final, signed results via webhooks — the comparison above describes the in-browser UX, not how you receive the verification decision.
Configuration
Required Iframe Permissions
For InContext iframe integrations, always include these permissions:Example Repositories
SDK Web Examples
React, Vue, Angular, Next.js, Nuxt, Svelte, and vanilla JS examples
Iframe Example
UniLink and API-session iframe examples
Full Next.js Demo
End-to-end Next.js integration
NPM Package
@didit-protocol/sdk-web on npmRelated
- Webhooks — receive signed verification results on your backend
- Create Session API — the endpoint behind every web SDK
- Native SDKs — iOS, Android, React Native, Flutter