Embedding the Web Client (version 2 deprecated)

Note: Version 3 is now available. We recommend that you use version 3, and that you upgrade any existing implementations to this version as soon as possible.

The version 2 JavaScript snippet that's preconfigured for the bot is no longer available from the bot's configuration. However a full code example is available here: Web Client code example (version 2 deprecated).