Kind of straight forward like a mountain road in Italy!
This is the URL for information:
https://help.mypurecloud.com/articles/create-a-widget-for-web-chat/First, you need to create the chat flow in Architect and Publish.
Then, you go into Admin->Widgets and create a new widget and set these parameters:
Choose version 2 or 1.1 depending on if AltoCloud is being used.