Login to your hosted chat management interface at https://<your_link>.hosted.chat
Click “Settings” on Menu in the top menu bar
Click on "Sites" right beside "Global settings"
Click the code icon 2nd Icon in the line
See image here:
https://www.screencast.com/t/gLusfQBG
Copy the Widget Code
See basic video here: https://www.screencast.com/t/XJTgniLaEoLS