Minimal working example
You can download our example code here.
The example contains the following parts:
- A node.js REST API that will call Identity API in EU region to get a valid token and then return it to the client.
- A simple HTML page
- the SDK is initialized on page load
- the page has an input field where you can enter a collection name and a button to start the duplication check
- the SDK will call the REST API to get a valid token
Important
In server.js you have to replace YOUR_API_KEY with your API key from the Developers portal