<script type="text/javascript" src="https://cdn.edify.cx/edifyChat/index.sandbox.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function() {
const div = WebChat({
environment: {
apiHost: "sandbox-api.edify.cx",
socketHost: "sandbox-socket.edify.cx",
},
keys: {
key1: "018s0102082ce56245d0c4c5c1",
key2: "OA7AwvO2Dl",
key3: "kt)lYEOT06A%uwBrS6Q$g(iCgty1BdQ@"
},
// any key/value pair in the variables object will be available on the resulting
// workflow session using mustaches i.e. {{email}}
variables: {
email: "example@email.com"
},
});
});
</script>