• Camera Scanning
  • ID Parsing
  • DIVE
  • Web Services
  • Third Party Checks
  • Authentication
IDScan.net
  • DIVE Online
  • Wrapper
  • Installation
Search Results for

    Show / Hide Table of Contents
    • Introduction
      • Getting Started
      • Web Library License Key
      • Supported Document Types
      • Recommended Browsers
      • Supported Image File Types
      • Image Requirements
      • Hosting Options
      • Security
      • FAQ
    • DIVE API
      • Web Portal
        • Bearer Tokens
        • License Keys
        • Verification Requests
        • Reviewable Submissions
        • Suspicious Activity Monitoring
        • Settings
      • Integration Options
      • Web Library V2
        • Migration Guide
        • Installation
        • Configuration Settings
        • Functions
        • Event Handlers
        • Style Customizations
      • Additional Verification Services
      • API Manual
      • Overriding Server Settings
      • Verify Use Cases
      • Authentication Use Cases
      • Verification/Authentication Response
      • Error Codes
      • Swagger UI
      • DIVE Web API Demo
    • DIVE Online
      • Web Portal
      • Integration Options
      • Wrapper
        • Installation
        • Configuration Settings
        • Functions
        • Event Handlers
      • SMS
      • Webhooks
      • Callback URLs
      • API Manual
      • Swagger UI
    • Native SDKs
      • iOS SDK
      • Android SDK
      • Sample Apps
    • DIVE Web API Sample Apps
      • Client Side Sample Apps
        • Vanilla Javascript
        • Angular
        • Vue
        • React
        • Svelte
      • Backend Sample Apps
        • Express (Firebase Cloud Function)

    Installation

    Install Node Package from NPM

    $ npm install --save @idscan/onboarding
    

    Copy the Files from the Networks Directory

    After installing the Node package from NPM you will need to copy the networks folder from the Node package's directory to a location where static assets can be accessed at runtime.

    Depending on the web server you are using to host your application the location to place the networks folder and its contents may vary, so we recommend referring to the relevant documentation. That location also needs to match the chunkPublicPath configuration setting.

    Update the HTML File the Wrapper Belongs On

    After installing the Node package and placing the contents of the networks directory in their proper place you only need to make a small change to the HTML file where the Wrapper is to be added like in the image below.

    Import the library and css to your project.

    import DVSOIDVC from '@idscan/onboarding';
    import '@idscan/onboarding/dist/css/onboarding.css';
    
    In This Article
    • Install Node Package from NPM
    • Copy the Files from the Networks Directory
    • Update the HTML File the Wrapper Belongs On
    • Import the library and css to your project.
    Back to top IDScan.net IDScan.net GitHub