JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://cdn.botpress.cloud/webchat/v1/inject.js"></script>
<script>
window.botpressWebChat.init({
"composerPlaceholder": "Chat with bot",
"botConversationDescription": "This chatbot was built surprisingly fast with Botpress",
"botId": "c3d72c4a-974c-49b9-a735-983acbfc4993",
"hostUrl": "https://cdn.botpress.cloud/webchat/v1",
"messagingUrl": "https://messaging.botpress.cloud",
"clientId": "c3d72c4a-974c-49b9-a735-983acbfc4993",
"webhookId": "d0df9831-1f74-4bd8-a9ee-f771f40183b7",
"lazySocket": true,
"themeName": "prism",
"frontendVersion": "v1",
"showPoweredBy": true,
"theme": "prism",
"themeColor": "#2563eb",
"userData": {
name: 'Jack Black',
},
});
</script>