> 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-xpanse/dashboards-and-reports/dashboards/create-a-dashboard.md).

# Create a dashboard

Create custom Cortex Xpanse dashboards to display information that is most relevant to your organization.

You can create custom dashboards that are tailored to your unique workflow and support your day-to-day operations. Cortex Xpanse provides dashboard templates that are based on the predefined dashboards, or you can build dashboards from scratch by selecting widgets and choosing their placement on the dashboard.

You can see all predefined and custom XQL widgets in the **Widgets Library**. Custom XQL widgets are built on Cortex Query Language (XQL) queries and provide the flexibility to query specific data, and select the graphical format you require (such as table, line graph, or pie chart).

After you've created and saved a custom dashboard, you can find it under **My Dashboards**.

How to create a custom dashboard

You can create custom dashboards based on predefined dashboard templates, or you can create a new dashboard from scratch.

1. Select Dashboards → Dashboards Manager → **+ New Dashboard**.
2. In the **Dashboard Builder**, enter a unique **Dashboard Name** and an optional **Description** of the dashboard.
3. Under **Dashboard Type**, choose a built-in dashboard template or a blank template, and click **Next**.
4. Customize your dashboard.

   Drag and drop widgets from the widgets library to the desired position in the dashboard.

   Click the options icon ![menu\_options\_button.png](https://2229240073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F02CCMTnqc4fWJkdEuCs8%2Fuploads%2Fgit-blob-331c8c3490835539d195f8e04f03b118319faf9c%2F14295c9ed3582f910adab35625272fabebd445feea2f94953c97bab3f3569464.png?alt=media) in the top right corner of a widget to customize the widget or remove the widget from the template.

   To get a feel for how the data will look, Cortex Xpanse provides mock data. To see how the dashboard would look with real data in your environment, you can use the toggle above the report to use **Real Data**.
5. Click **Next**.
6. To set the custom dashboard as your default dashboard, select **Define as default dashboard**.
7. To keep this dashboard visible only for you, select **Private**.

   Otherwise, the dashboard is public and visible to all Cortex Xpanse users with the appropriate roles to view dashboards.
8. Click **Generate** to complete your dashboard.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-xpanse/dashboards-and-reports/dashboards/create-a-dashboard.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
