# The Demo Webchat

**Cognigy Support**  
July 7, 2022

Since the Webchat endpoint is developed and maintained by Cognigy, it is natively integrated into the Cognigy.AI platform. Therefore, one can deploy (host) a Webchat endpoint directly from the tool.

**Only for testing**  
The demo webchat, that will be presented in the following section is only for testing and **should not** be used for production deployments. If one would like to embed the Cognigy Webchat to a custom website, the [Embedding Documentation](https://github.com/Cognigy/WebchatWidget/blob/master/docs/embedding.md) can be used.

# How to

There are just a few steps required in order to deploy the virtual agent with the Cognigy Webchat endpoint:

1. Login to [Cognigy.AI](https://trial.cognigy.ai/)
2. Navigate to `Deploy -> Endpoints`
3. Click on **\+ New Endpoint**

****
4. Create a new **Webchat Endpoint**

****
5. Click on **Open Webchat**

****

# Using the Demo URL

After opening the Webchat, one will see something similar to:

This webchat can now be shared with external people so that they can view it and test it. In order to do so, one can copy the URL, while it will look such as:

- https://webchat-trial.cognigy.ai/v2/... for trial.cognigy.ai  
- https://webchat-app.cognigy.ai/v2/... for app.cognigy.ai

**Please be careful!**

Since the link is static and therefore remains the same, anyone who has it can chat with the virtual agent.

### Webchat

- [Customize your Webchat with the MutationObserver API](https://support.cognigy.com/hc/en-us/articles/20142438205468-Customize-your-Webchat-with-the-MutationObserver-API)
- [3 Ways to send Data from a Website to a Cognigy Flow from Cognigy Webchat V3](https://support.cognigy.com/hc/en-us/articles/16846703249692-3-Ways-to-send-Data-from-a-Website-to-a-Cognigy-Flow-from-Cognigy-Webchat-V3)
- [Webchat v2: Disable Quick Reply buttons after click](https://support.cognigy.com/hc/en-us/articles/5398841450396-Webchat-v2-Disable-Quick-Reply-buttons-after-click)
- [Webchat Overview](https://support.cognigy.com/hc/en-us/articles/360019867919-Webchat-Overview)
- [The Demo Webchat](https://support.cognigy.com/hc/en-us/articles/360019831920-The-Demo-Webchat)
- [Display teaser messages (Preview, Engagement)](https://support.cognigy.com/hc/en-us/articles/360020128379-Display-teaser-messages-Preview-Engagement)
- [Get the user's browser language](https://support.cognigy.com/hc/en-us/articles/360022044759-Get-the-user-s-browser-language)
- [Helpful (CSS) Style Examples](https://support.cognigy.com/hc/en-us/articles/360022110539-Helpful-CSS-Style-Examples)
- [Display a welcome message above the Start Button](https://support.cognigy.com/hc/en-us/articles/4408792943378-Display-a-welcome-message-above-the-Start-Button)
- [Expire sessions after n hours in Webchats with persistent history](https://support.cognigy.com/hc/en-us/articles/4421763771804-Expire-sessions-after-n-hours-in-Webchats-with-persistent-history)
