Sample Codes

This gives sample codes that can used to understand how the CleanDesk Ai's web widgets can be enabled to provide both sales and customer support assistants in your web environment.


In a typical HTML environment, the following code could be used to learn how to enable conversational AI-based sales and customer support assistants.

<!DOCTYPE html>
<!-- Your existing code goes here -->

<!-- CleanDesk AI CDN Access -->
<script defer src=""></script>

<!-- Your web page content goes here -->

<!-- CleanDesk AI Chat Widget -->
<cleandesk-chat-widget app_id="YOUR_APP_ID" app_secret="YOUR_APP_SECRET" access_by_id="CUSTOMER_ID"></cleandesk-chat-widget>

<!-- Logout script -->
<script defer src=""></script>

Last updated