Deployment
Publishing is a three-part job: allow the website hostname, copy the script into the site, then test a real conversation on the published page.
Guides
If you use the supplied widget, you do not need to call the API directly. The Developer API is for teams building a custom client.