Website installation
To install the Chat Plugin UI on your website add the following script tag to
the <head>
section:
You must replace CHANNEL_ID
with the channel ID obtained when
connecting the source and SCRIPT_HOST
with the host
of your Chat Plugin server. When using the local minikube environment
SCRIPT_HOST
must be set to localhost
.
note
localhost
is not publicly accessible. The setup will only work for local web pages.
To test the setup, replace the CHANNEL_ID
in the URL
http://localhost/chatplugin/ui/example?channel_id=CHANNEL_ID
and open it in your
browser.