Newer Version Available

This content describes an older version of this product. View Latest

Deployment API Code Sample

Test and preview how the Deployment API can help you customize your deployments.
The following code sample shows a chat window that uses the following Deployment API methods:
  • startChat
  • showWhenOnline
  • showWhenOffline
  • addCustomDetail
  • setName
  • map
  • setChatWindowWidth
  • setChatWindowHeight

The deployment code above results in a page that looks like this:

Live Agent Deployment