Integrating Iverify with Your Website
Last updated September 16, 2024
Seamlessly integrating Iverify's verification solutions into your website is crucial to streamline user onboarding, enhance security, and create a frictionless experience. This guide will provide you with a step-by-step process on how to integrate Iverify into your website, leveraging our JavaScript SDK or API.
Integrating Iverify with Your Website
- Create a Project: First, create a project on the Iverify platform, selecting the verification methods that align with your requirements (e.g., document verification, facial recognition, liveness detection).
- Obtain API Credentials: From your project dashboard, access your API credentials, including your API key and secret. These credentials are needed for authenticating requests to the Iverify API.
- Choose Integration Method:
- JavaScript SDK: Iverify provides a user-friendly JavaScript SDK designed for quick and easy integration with your website. The SDK handles front-end interactions, such as displaying the verification UI, capturing user input, and transmitting data securely to the Iverify platform.
- API Integration: For more customized integration scenarios, you can directly interact with the Iverify API using HTTP requests. This option offers greater flexibility to tailor the verification process to your specific requirements.
Integrating with JavaScript SDK
- Include the SDK: Add the Iverify JavaScript SDK to your website using a `<script>` tag.
- Initialize the SDK: Initialize the SDK with your API credentials and configure any specific verification settings.
- Trigger Verification Process: Initiate the verification flow when needed, such as a user registration or account update. The SDK will handle the front-end interaction, guide users through the steps, and transmit the data to Iverify for verification.
Integrating with the API
- Make API Calls: Use HTTP requests to interact with the Iverify API, sending data like user details, document images, or facial recognition images. Ensure you include your API key and secret in the request headers for authorization.
- Handle Responses: Process the responses from the Iverify API, which contain the verification results, confidence levels, and potential error details.
- Implement Results: Based on the verification outcome, take appropriate action within your website, such as accepting or rejecting the user, displaying relevant feedback, or triggering further security measures.
Was this article helpful?