> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/cortex-xdr-3.x/cortex-xdr-3.x-documentation/investigate-and-respond-to-incidents/dashboards/custom-dashboards/create-a-text-widget.md).

# Create a text widget

You can use a widget to display formatted text in dashboards and reports.

Add a text-based widget to a dashboard

1. Go to **Dashboards & Reports** → **Dashboard Manager** and create a new dashboard or right-click to edit an existing custom dashboard.
2. If you are creating a new dashboard, enter a dashboard name.
3. If you are creating a new dashboard, choose a dashboard type or create a new dashboard from scratch.
4. From the **Widgets Library**, drag the **Free Text** widget to your dashboard.
5. Add your custom text to the **Free Text** widget.
6. (Optional) To enable Markdown, click the vertical menu for the widget and select **Use Markdown**.
7. Click **Next** .
8. Choose your dashboard options and **Generate** dashboard.

**Add a text-based widget to a report template**

{% hint style="info" %}

### Note

From the dashboard manager, you can right-click an existing dashboard and choose **Save as report template**. You can also add text-based widgets directly to new or existing report templates, as described below.
{% endhint %}

1. Go to **Dashboards & Reports** → **Report Templates** and create a new template or right-click to edit an existing custom template.
2. If you are creating a new report template, enter a report template name.
3. If you are creating a new report template, choose a report template type or create a new report template from scratch.
4. From the **Widgets Library**, drag the **Free Text** widget to your dashboard.
5. Add your custom text to the **Free Text** widget.
6. (Optional) To enable Markdown, click the vertical menu for the widget and select **Use Markdown**.
7. Click **Next** .
8. Choose your report builder options and **Save Template**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-xdr-3.x/cortex-xdr-3.x-documentation/investigate-and-respond-to-incidents/dashboards/custom-dashboards/create-a-text-widget.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
