---
title: Grouping chat web parts
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

All chat web parts share a common property - **Group name**. This property allows you to have multiple instances of the same web part in one chat implementation, with each of the instances acting on its own.

For example, you can enable chat users to contribute to two chat rooms at the same time.

1. Place the **Chat send message** web part on a page. Set its **Chat room** property to an existing room. Set its **Group name** to _**Group1**_.
2. Place the **Chat messages** web part on the same page. Set its **Chat room** property to an existing room. Set its **Group name** to _**Group1**_.
3. Add the same pair of web parts once again, but set their **Room name** property to another existing room and their **Group name** to _**Group2**_.

When you view the page on the live site, each pair of web parts is tied to a different chat room and you can use them both at the same time.
