Set Up Your Project
Setting up your project entails adding the code used to load and configure the BindID SDK, as described below.
STEP 1: Load the SDK
Load the BindID SDK using the following URL based on the environment:
Typically, this is done by adding the following script tags to your page, where the first script tag is used to support polyfilling for IE browsers and the second is used to load the SDK:
<sdk-url> is the URL provided above.
STEP 2: Configure the SDK
The BindID SDK can be initialized and configured in two ways—either using meta tags or programatically.
Using Meta Tags
To configure the SDK using tags:
Add the following set of meta tags before the script tag used to load the SDK:
|Client identifier issued to the client via the BindID Admin Portal. Equivalent to the |
|Optional. API compatibility level. Options are: |
|Optional. Whether or not the |
Using SDK Calls
To configure the SDK programatically:
initialize() SDK method (see the API reference).
Here's an example of invoking the
initialize() SDK method: