SDK
The Digital Samba Embedded SDK is distributed as a publicly available npm module.
For quick prototyping you can load it with a <script>
tag from the unpkg public CDN:
<script>
tag from the unpkg public CDN:For production integrations it is recommended to use npm and a bundler like webpack.
Usage with NPM
Add our SDK to the dependency list using your preferred package manager:
npm install @digitalsamba/embedded-sdk
or
yarn install @digitalsamba/embedded-sdk
After installation, use it in your application code by doing the following:
For detailed documentation on the initialization process, read about the DigitalSambaEmbedded class and the initialization code examples.
The SDK is written in TypeScript, so type definitions are also available:
Last updated