> For the complete documentation index, see [llms.txt](https://docs.rierino.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rierino.com/sdk-dv-ui/getting-started/in-rierino.md). Agents can also search and read this documentation through its [MCP server](https://docs.rierino.com/~gitbook/mcp).

# Dashboards in Rierino

Design dashboards in Rierino and show them on screens and in UI designs, with nothing to install.

The Rierino admin UI already includes the dashboard renderer. If you design and use your dashboards inside Rierino, you don't need to install anything: this page is all you need to get started. To show a dashboard in an app of your own, see [Installation](https://docs.rierino.com/sdk-dv-ui/getting-started/installation.md).

## Design a dashboard

Dashboards are managed on the **Data Visualizations** screen of the **Data Science** app. Each one has a layout, which you build in the visual designer, and the sources that feed it.

{% stepper %}
{% step %}

### Add the sources

Link the APIs that provide the data. Give each source a key: it is the table name the components use in their queries.
{% endstep %}

{% step %}

### Lay out the components

Add components to the layout and set these for each one:

| Setting         | What it is                                                                              |
| --------------- | --------------------------------------------------------------------------------------- |
| Component Type  | The component to show, such as Card, Icon Stat or E-Charts                              |
| Component Props | Settings of that component, such as the fields to show or the chart options             |
| Source Query    | An AlaSQL statement that picks the component's data from the source tables              |
| Sample Data     | Data to show while you design, before the component is connected to a source (optional) |

Layout components (Container, Row, Column, Grid, Section, Card, Loop) hold other components; the rest show data.
{% endstep %}

{% step %}

### Save and open it

Saved dashboards open from the brain menu on the screens of the admin UI.
{% endstep %}
{% endstepper %}

## Show components inside a UI design

To show charts and stats among the other widgets of a screen, add a **Data Visualization Display** widget (`DVDisplay`) to the UI design. It shows a field of the current record, typically an array, with a data visualization component:

| Property             | What it is                                                                |
| -------------------- | ------------------------------------------------------------------------- |
| Component Type       | The component to show, such as `RPlotly` or `RIconStat`                   |
| Component Properties | The same settings that component has in a dashboard                       |
| Items                | A list of `{ type, ...props }` components to show instead of a single one |

## Use the same dashboard elsewhere

A dashboard designed here can also be shown in your own React app, by its id. The definition and the sources stay in Rierino, so changes you make in the designer show up in both places. See [Quick start](https://docs.rierino.com/sdk-dv-ui/getting-started/quick-start.md).


---

# 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://docs.rierino.com/sdk-dv-ui/getting-started/in-rierino.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.
