Installing Chat

To start using Chat, you need to:

  1. Include the necessary JS and CSS scripts into an HTML file.
  2. Call the object constructor.

Included files

You need to include 4 files on a page:

<html>
 <head>
  <!-- Webix Library -->
  <script src="codebase/webix.js" type="text/javascript"></script>
  <link rel="stylesheet" href="codebase/webix.css" type="text/css">
 
  <!-- Chat -->
  <script type="text/javascript" src="codebase/chat.js"></script>
  <link rel="stylesheet" href="codebase/chat.css" type="text/css">
 </head>
 <body>
    <!-- Chat constructor -->
    <script>
        webix.ui({
            view:"chat", 
            url:"https://docs.webix.com/chat-backend/"
        });
</script> </body> </html>

See the next chapter to learn more ways of creating Chat on a page.

Starting a Backend Server

We provide Golang backend code for Chat. To start a server follow the instructions given in the repository README.

Back to top