-
Notifications
You must be signed in to change notification settings - Fork 5
/
example-widget.html
29 lines (20 loc) · 876 Bytes
/
example-widget.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Arvia Chat Web SDK Example - Chat Widget</title>
</head>
<body>
<h1 class="p-3">Arvia Chat Web SDK Example - Floating Chat Widget</h1>
<script type="text/javascript" src="https://arvia.chat/js/arvia.chat.js" ></script>
<script type="text/javascript" src="https://arvia.chat/js/arvia.chat.widget.js" ></script>
<div>Click the chat button on the bottom-right corner of the screen</div>
<script type="text/javascript">
// Instantiate arvia chat widget with your project id
var arviaChatWidget = new ArviaChatWidget('5b4f145ac4dbc95dcf926a52');
arviaChatWidget.setTestUser(true);
arviaChatWidget.init();
</script>
</body>
</html>