Skip to content

Latest commit

 

History

History
49 lines (41 loc) · 2.12 KB

chat.mdx

File metadata and controls

49 lines (41 loc) · 2.12 KB
title sidebarTitle
Chat
Overview

Chat is currently in Beta. This will not effect the reliability of this feature but we are heavily iterating and improving on the featureset.

Our Chat widget lets you embed a live chat interface on your website or app, allowing your customers to reach out to you without leaving your site. You can then respond to these messages directly from Plain.

You and the customer can communicate in real-time and provide high fidelity support including syntax highlighting and rich-text formatting.

Here’s how to get started:

*At the moment you can only create a single Chat app configuration per workspace. In future we will allow multiple configurations.* - In Plain, navigate to **`Settings`** > **`Chat`**. - Press **`Create Chat App`**. After creating your Chat app, you will be provided with a snippet of code that you can embed in your website or app. This will add the chat widget to your site. We recommend adding this to all pages of your site. You can customize some aspects of the Chat widget by providing additional information to the `Plain.init` function. These are the available options: You can add conditional auto-responses to chat by heading to the "auto-responses" section of your workplace settings. Set conditions based on tier or business hours, and let your customers know when they'll receive a response. Each new conversation in the Chat widget creates a new thread in Plain. You can view and respond to these threads in the Plain app.

Content Security Policy (CSP)

If you are using a Content Security Policy on your website, you will need to add the following to your CSP:

script-src https://chat.cdn-plain.com;
connect-src https://chat.uk.plain.com;
style-src https://fonts.googleapis.com;