> ## Documentation Index
> Fetch the complete documentation index at: https://docs.relyant.app/llms.txt
> Use this file to discover all available pages before exploring further.

# CRM settings

> Add the chat widget to your website and set up office hours, the pre-chat form, saved replies, pipeline stages, labels and connected apps

Click **Settings** in the CRM sidebar to set up CRM for your school. The settings menu replaces the sidebar; click **Back to CRM** to return. On a phone, pick a section from the menu at the top.

> [!NOTE]
>
> You need CRM **Settings** access to open settings, and permission to update them to make changes. The AI agent's settings are under [AI Agent](https://docs.relyant.app/crm/ai-agent.md#preferences) → **Preferences**.

## Widget

**Widget** controls how the chat looks on your website, and how to add it.

* **Chat on your website**: turn this off to hide the chat everywhere it's installed.
* **Appearance**: choose the **Colour**, the **Position** (**Bottom right** or **Bottom left**), the **Greeting**, and the **Launcher prompt**, the bubble next to the chat button. Leave the launcher prompt empty to hide it.
* **Install**: copy the code and paste it before `</body>` on every page of your website, or send it to whoever runs the site. Click **Copy** to copy it.

If you need to replace the code, click **Issue new code**. The chat stops working on every page that uses the old code until you paste the new one.

### Try the widget

**Try the widget** shows the real chat in a mock browser window, so you can try it without a website. It shows your appearance changes before you save them. Click **New test chat** to start over, and **Inbox** to see the chat from your team's side. Test chats are labelled **Test** in the inbox.

## Pre-chat form

The **Pre-chat form** holds questions people answer before their first message. The answers fill in their contact.

* Turn off **Ask before the chat starts** to let people start typing straight away.
* Click **Add question** to add a question. Give it a **Question**, a **Type** (**Short text**, **Email**, **Phone** or **Dropdown**), and turn on **Required** if people must answer it. For a dropdown, enter the **Choices, one per line**.
* Under **Saved as**, choose where the answer goes: **Contact name**, **Contact email**, **Contact phone**, or **Kept on the contact as an answer**.
* Use the arrows to reorder questions.

A new CRM's form asks for a name, email and phone. If CRM is [linked to Admissions](#connected-apps), the default also asks for the grade of interest.

## Office hours & SLA

**Office hours** sets when your team answers chats. Outside these hours, the widget tells people when you're back.

* Choose your **Time zone**, then set each day to **Open** with a **From** and **To** time, or **Closed**. **Right now** shows whether you're open.
* Under **Holidays and closures**, add dates when the office is closed. Chats on these days are answered the next open day.
* Edit the **Away message** people see when you're closed. `{next_open}` becomes when you're back, for example "tomorrow at 07:30".

**SLA** sets how quickly your team promises to answer once a chat reaches them. Only office hours count.

* Turn on **Track reply times**.
* Set **First reply within** and **Next reply within**, in minutes or office hours.
* Choose how many minutes before the deadline to warn the assignee. 0 turns the warning off.
* Turn on **Tell CRM admins when a reply is overdue** to alert admins when someone has waited too long.

## Saved replies

**Saved replies** are answers you send often. In a reply, type `/` and its shortcut to insert one.

1. Click **New saved reply**.
2. Enter a **Title**, a **Shortcut** (letters, numbers and dashes), and the **Message**. Click **Insert field** to add a placeholder such as the contact's first name, your first name, or the school name.
3. Under **Who can use it**, choose **Everyone in CRM** or **Only me**. Optionally pick a **Label**.
4. For a shared reply, turn on **Also teach the AI assistant** to add it to the knowledge base as an article.
5. Click **Save**.

Use **Shared** and **Mine** to switch between lists. Only people who can change CRM settings can create or edit shared replies.

## Pipeline stages

**Pipeline stages** are the steps a contact moves through, from first chat to joining.

* Under **In progress**, rename, recolour and reorder stages, or click **Add stage**. When you delete a stage that has contacts in it, choose a stage under **Move contacts to**.
* Under **Closed**, rename and recolour your won and lost stages. Every pipeline ends in Won or Lost, so you can't remove them.
* Under **Lost reasons**, edit the reasons staff pick when they move a contact to the lost stage. If CRM is linked to Admissions and you haven't saved your own, the list uses school reasons such as "Chose another school" and "Fees too high".
* Turn on **Move a contact to the second stage when staff first reply** to move contacts out of the first stage automatically. Contacts never move backwards.

## Labels

**Labels** sort chats and contacts by topic, such as Enquiry · Pricing or Source · Event. Under **Label groups**, add groups and the labels in them. A chat or contact can have any number of labels. Removing a label removes it from everything that has it.

## Connected apps

**Connected apps** chooses which other Relyant apps CRM links to. CRM works on its own without any of them.

Turn on **Education · Admissions** to send admission forms from a chat, let the AI agent help people apply, and see their applications on the contact. Admissions must be turned on in Education first. See [Admissions](https://docs.relyant.app/edu/admission/overview.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.