Many websites have chat widgets that populate on the site based on just a small code snippet which references a .js file hosted somewhere.
What are the steps to go about this? If I already have a JavaScript app I want to run on a page, but have it work only by installing a code snippet in .