-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (47 loc) · 1.82 KB
/
index.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Genesys Chat Bot Integration</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>Welcome to Our Website</h1>
<p>This website integrates a Genesys Cloud chat bot.</p>
<p>Unable to register a new phone number because Twilio 2FA free trial account associated with this setup has reached its free tier limit.</p>
<p>For Testing: Phone number: +918074794107, PIN: 1234</p>
<!-- Genesys Web Chat Widget Embed Code -->
<script>
(function() {
var chatWidget = document.createElement("script");
chatWidget.src = "https://apps.mypurecloud.com/widgets/genesys-webchat.js";
chatWidget.async = true;
chatWidget.onload = function() {
Genesys("webchat", {
"id": "YOUR_WIDGET_ID",
"dataURL": "YOUR_DATA_URL",
"jwt": "YOUR_JWT_TOKEN",
"appOrigin": "https://apps.mypurecloud.com"
});
};
document.head.appendChild(chatWidget);
})();
</script>
<!-- End of Genesys Web Chat Widget Embed Code -->
<script type="text/javascript" charset="utf-8">
(function (g, e, n, es, ys) {
g['_genesysJs'] = e;
g[e] = g[e] || function () {
(g[e].q = g[e].q || []).push(arguments)
};
g[e].t = 1 * new Date();
g[e].c = es;
ys = document.createElement('script'); ys.async = 1; ys.src = n; ys.charset = 'utf-8'; document.head.appendChild(ys);
})(window, 'Genesys', 'https://apps.mypurecloud.com/genesys-bootstrap/genesys.min.js', {
environment: 'prod',
deploymentId: '9d8c8693-46a6-4e4c-8c23-9c9b0cb9c409'
});
</script>
</body>
</html>