I have used the code
<script src="https://github.com/Cognigy/WebchatWidget/releases/download/v2.48.0/webchat.legacy.js"></script>
<script>
initWebchat(
"https://endpoint-trial.cognigy.ai/289793cc47f157c79a3e1b933492b0b645db9f4edc2b56de10424279fbf1e2a0", {
settings: {
//colorScheme: '#FAB'
}
}).then(webchat => {
window.cognigyWebchat = webchat.open();
//webchat.open()
});
</script>
Which is good and opens a demo, but it opens in the bottom right of the screen with the little round button shown.
I want to just display the Webchat window in a location within the HTML, is this possible?
Comments
3 comments