JavaScript SDK – Quick Start Resources

The Chat SDK can be downloaded from here. This package not only contains the main Javascript SDK file (avaya-ccaas-chat-sdk.js) but also contains documentation and reference applications that will help you with quickly integrating your web application with Avaya Experience Platform™ Digital Chat.

A description of few important files are provided below:

avaya-ccaas-chat-sdk.js

This is the main JavaScript SDK file that you will need to integrate your web page with Avaya Experience Platform™ Digital Chat.

doc

This folder contains the JavaScript documentation of all the methods, objects and events that are provided by the Chat SDK. Open the index.html file present in this folder to open the documentation.

reference-applications\backend-web-app-server

This folder contains the source code of a sample backend web application server that fetches the JWT from the Avaya Experience Platform™ Digital for a user. Review the readme.txt file present in this folder for more details.

reference-applications\client\chat-widget

This folder contains source code of a sample chat widget that can be embedded on a web page. The chat widget uses the Chat SDK to showcase chat capabilities. Review the readme.txt file present in this folder for more details.

reference-applications\client\website

This folder contains source code of a sample web page to host the chat widget. This page Review the readme.txt file present in this folder for more details.

🚧

Warning

The reference applications are provided as a sample for the purpose of reference only and shouldn't be used in production. Existing production provisioning may impact to Sample Code’s expected working.