> For the complete documentation index, see [llms.txt](https://docs.snapodds.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.snapodds.com/docs/web-sdk/javascript.md).

# JavaScript

The latest version of the SDK is published on <https://github.com/snapodds/sdk-js/releases> and contains a web-component for rendering the Snapscreen UI and the necessary initialization API.&#x20;

The JavaScript source code, for reference, is available at <https://github.com/snapodds/sdk-js>. To stay informed about the latest updates and improvements, we recommend to watch this repository <https://github.com/snapodds/sdk-js/releases> on GitHub .&#x20;

The SDK can be integrated in:

* Browsers that support [Custom Elements ](https://caniuse.com/custom-elementsv1)
* Browsers that support [CSS Variables](https://caniuse.com/css-variables)
* Browsers that support [Promises](https://caniuse.com/promises)

A sample integration of the SDK can be found at <https://github.com/snapodds/sdk-js-sample>.&#x20;

When integrating the SDK please make sure to follow our [Integration Guide](/docs/integration-guide/snapodds-as-button.md) for a great customer experience.&#x20;

{% hint style="info" %}
**Requirement:**&#x20;

A license key is required to use our API. You can obtain a license by contacting us at: [**hello@snapodds.com**](mailto://hello@snapodds.com)

The following license keys can be used for **trial purposes only**:

Client ID: `u9jYT9g1q6gTxY8i`

Client Secret: `RMkiJPYCipP5bbG4YbtqzpdYne1b0hPSDItvq3YV`
{% endhint %}
