How to add chat on custom website

I have created a custom HTML page from scratch. I would like to integrate with the new chat widget. Any idea how to proceed?

I also want to do the same thing, are you able to add the chat option in your website.