Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Navigate to the Personal Assistant web page.

  2. Go to the Chatbots page.

  3. Click the three-dot menu on the right side of the chatbot one wishes to integrate.

  4. Select Code Snippet.

  5. Save the code snippet in a JavaScript file (.js) on the web server where ones web application is deployed. The file name is not important, but for the purpose of this guide, we will assume it is named chatbot_client.js. Note that when

Overview of Code Snippets

...

Public Chatbot

Create a script of type="module" that will handle communication with the chatbot as well as rendering of messages.

...

The attached ZIP archives contain minimal chatbot integrations following the guide above. Each of them requires supplying your own chatbot_client.js, after which they will be fully functional and can be used as reference for you to integrate the chatbots into your own apps.

View file
namePublic Chatbot.zip
View file
namePrivate Chatbot.zip