# Set Up Web Chat

### Web chat is in [Preview](https://cc.docs.landis.cloud/appendix/feature-states).

### Setup Web Chat

1. Choose where you want to host your chat widget.&#x20;
2. &#x20;Select the chat link created in [Set Up Chat Link](https://cc.docs.landis.cloud/setup/set-up-chat-channel/set-up-chat-link) | Edit
3. Use the code supplied in the Widget Information block to implement web chat on your website or see example customizations below.

```html
<div id="chat-container"></div>
<script>
    var landisChatConfig = {
        titleText: "Custom Chat Title",
        privacyPolicyUrl: "ADD_PRIVACY_POLICY_URL_HERE",
        privacyConsentText: "By using this chat, you agree to our {Privacy Policy}.",
        privacyConsentRequired: true,
        nameFieldRequired: true,
        emailFieldRequired: true,
        customStyles: {
            brandColor: "#b23a03",
            textColor: "#e8713a",
            backgroundColor: "#fff",
            buttonBottomPosition: "2rem",
            buttonRightPosition: "2rem",
            buttonSize: "4rem"
        }
    };
</script>
<script src="https://stlccpublicprodeastus.blob.core.windows.net/contactcenter/chat/landischatwidget-latest.js"
    widgetId="00000000-0000-0000-0000-000000000000" widgetPass="00000000-0000-0000-0000-000000000000"></script>
```
