Created
January 23, 2020 05:29
-
-
Save alfredfrancis/08cb5c86e0cc7b5f9ca711bbcaec1991 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inject = document.createElement('script'); | |
inject.src = "https://cogniwide.github.io/cogniassist-chat-widget/public/cogniassist-latest.js"; | |
document.getElementsByTagName('head')[0].appendChild(inject); | |
var div = document.createElement('div'); | |
document.body.appendChild(div); | |
div.id = 'cogniassist' | |
CogniAssistWidget.default.init({ | |
selector: "#cogniassist", | |
initialPayload:"/default/welcome", | |
botName: 'CogniAssist', | |
botURL:'https://demo.cogniwide.com/cogniassist-backend/webhooks/rest/webhook', | |
bannerURL:"https://cogniwide.com/assets/images/background4.jpg", | |
bannerText:"Cogniwide is a Digital Transformation company that specialises in AI, RPA, Cloud,IOT, Blockchain and Data Analytics." | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment