Skip to main content
These examples accompany the JavaScript SDK reference. Use them to see a complete, working integration end to end — from loading the SDK and detecting connection, to sending commands in response to user actions.

SDK Playground Example

You can take a look at a running example at SDK Playground Example.
SDK Playground Example This example demonstrates how to cleanly initialize the integration, detects when sucessfully connected, execute specific commands; such as starting conversation, listing favorites, conversations or assistants, posting a new message, and more.

API Class Example

This example is provided AS IS to demonstrate how you can cleanly integrate a Digital Twin in your Web Application and sendvarious commands programatically in response to user actions on the page. It is extracted from the playground example code.