---
title: "Entity comments"
slug: "entity-comments"
abstract: "How to add a discussion panel to a page so users can read, create, and respond to comments about the page."
---
# Entity comments

The **Entity comments** component adds a discussion panel that lets users read, create, and respond to comments about the page.

<details>
<summary>Example</summary>

In this example, the page displays asset details using the *M.Asset* definition. An **Entity comments** component, based on the *AssetToDiscussion* relation, has been combined with a [**Tabs** component](https://doc.sitecore.com/ch/en/users/content-hub/organize-components-on-a-page.html "Organize components on a page") to provide a **Comments** tab for people to discuss the displayed asset.

![Discussion panel](https://doc.sitecore.com/api/markdown-image/ch/en/users/content-hub/images/discussion_panel.png)

</details>

> [!note]
> **Before you begin**
> -   Establish the necessary relation in the [schema](https://doc.sitecore.com/ch/en/users/content-hub/data-model.html "Data model"), according to the entity definition for the page. For example, if the page uses *M.Asset*, configure the *AssetToDiscussion* relation.

## Configure the Entity comments component

1. On the menu bar, click **Manage** :mdiCogOutline:.
2. On the **Manage** page, click **Pages**.
3. On the **Pages** page, select the page you want to modify.
4. On the **Layout** tab, [add the page component](https://doc.sitecore.com/ch/en/users/content-hub/add,-modify,-or-delete-page-components.md "Add, modify, or delete page components").
5. Click the component to open its details page.
6. From the **Relation** list, select the entity type to which the discussion is linked. The available relations depend on the page’s entity definition.
7. Turn on the **Collapsible** switch to let users collapse the discussion panel.
8. Click **Save**.