ADAM WIDGET INSTALLATION

To embed Adam chat widget:

1. include style sheet

2. include JS library

3. Create a container element with an ID

4. Initialize chat widget by calling AdamChat.init('adam-chat', { clientId: 'c64360e7868f46b29b46f2afce984acf'});,

1. pass in container element ID as the first arguments

2. pass in options object, with clientId, as a second argument

`{ clientId: 'c64360e7868f46b29b46f2afce984acf'}`

5. Adam chat button will be inserted into DOM with fixed position


<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="utf-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title> Adam Widget</title>

    <link href="https://adam-chat.travtus.com/assets/chat-embed.css" rel="stylesheet" type="text/css">
    <script src="https://adam-chat.travtus.com/index.js?clientId=c64360e7868f46b29b46f2afce984acf"></script>

</head>

<body>

    <div id="adam-chat"></div>

    <script>

         (function () {

            window.onload = function () {

                AdamChat.init('adam-chat');        
            }

        })()

    </script>

</body>

</html>