The SDK can be included as an NPM module or it can be embedded directly in a web page.
The following diagram represents the most common integration layout of the Web SDK:
- The access token used by the SDK is obtained on the server side. This implementation ensures that the apiKey is not shared publicly, and the access token is bound to the user session on the integrated website.
- Using the apiKey on the client side is strongly discouraged and should be absolutely avoided in production.
For more information about SDK APIs and relevant features, see SDK.
Updated 2 months ago