This is the example project for the tutorial How to add a 'Create new chat' button in TalkJS.
Follow these steps to run this project:
-
Clone or download this project.
-
Open
create-new-chat.js
and update the TalkJS App ID and the TalkJS REST API key:const appId = "<Add Your TalkJS APP ID Here>"
-
Start a web server in this directory and open the link in the browser. For example, you can use VS Code's Live Server extension, or use Python to create a quick web server:
python -m http.server