---
title: "Dashboards"
description: "Build, customize, and share interactive data dashboards directly from your organization."
updated: 2026-11-16
---

# Dashboards

Dashboards allow you to visualize your organization data, build custom interactive tools, and share them securely with your team or the public. By combining database files, SQL queries, and AI assistance, you can turn raw data into actionable insights in minutes.

## Building Your Dashboard

Your dashboard is built on a flexible, drag-and-drop grid system. You can add multiple widgets, drag them into position, and resize them from a compact single column to a full-width row.

To get started, toggle **Edit Mode** in the dashboard header. This reveals the widget controls, allowing you to add, move, and configure your layout.

## Available Widgets

Toolbelt provides several built-in widgets to handle different types of data and interactions:

:::cards 2

===card
title: Data Visualizations
icon: chart-simple

**Charts, Tables, and Metrics.** Connect these widgets to your organization databases. Write custom SQL queries to render bar charts, line graphs, pie charts, data tables, or single-value KPI metrics.

===card
title: Controls & Filters
icon: sliders

**Interactive Inputs.** Add dropdowns, checkboxes, and date pickers. Controls update URL parameters which can be referenced dynamically in your other widgets' SQL queries using `{{paramName}}`.

===card
title: Static Content
icon: file-lines

**Text & File Viewers.** Embed markdown or HTML directly, or read static content from a file in your organization storage. Use the File Viewer to navigate and display files directly on the dashboard.

===card
title: Custom & AI
icon: code

**Custom JS & Chat.** Write your own Custom Widget using HTML and JavaScript, complete with access to your organization's MCP tools. Add a Chat Widget to provide an ephemeral AI assistant directly on the page.

:::

## AI-Assisted Building

You don't need to be a SQL expert or a frontend developer to build complex dashboards. Toolbelt's AI is integrated directly into the widget configuration process:

- **AI Query Builder:** When configuring a Chart, Table, or Metric, select your database file and click the AI Query Builder. Describe what you want to see, and the AI will analyze your database schema and generate the correct SQL query for you.
- **Custom Code Generator:** When building a Custom Widget, describe the layout and functionality you want. The AI will generate the required HTML and JavaScript, automatically hooking into any enabled MCP tools in your organization.

## Publishing and Sharing

Once your dashboard is ready, you can share it outside of your organization using Public Access settings.

When you make a dashboard public, Toolbelt generates a secure, unique link. By default, public dashboards are rendered entirely server-side to prevent unauthorized access to your raw organization data.

### The Public Bridge

If your public dashboard includes interactive elements—like a Chat widget, or a Custom Widget that needs to run tools or execute SQL—you must configure the **Public Bridge**.

The Public Bridge acts as a strict security gateway between public viewers and your private organization. To keep your data secure, you must explicitly configure:

1. **Allowed Domains:** Restrict which websites are allowed to embed your dashboard.
2. **Capabilities:** Individually toggle whether public viewers can use Chat, execute SQL, or run MCP tools.
3. **Allowed Tools & Databases:** Explicitly allowlist *only* the specific MCP tools and database files the public dashboard is permitted to access.
4. **Read-Only SQL:** The bridge automatically intercepts and blocks any SQL queries that attempt to modify data (INSERT, UPDATE, DELETE).

> **Warning:** Public dashboards that use the bridge expose organization capabilities to unauthenticated users. Always follow the principle of least privilege: enable only the capabilities and tools the dashboard actually needs.

### Embedding full dashboards

To embed your dashboard seamlessly into an existing website or portal, append `/embed` to your public dashboard URL. This removes the Toolbelt navigation headers and watermarks, providing a clean, white-labeled appearance.

### Embedding the Standalone Chat Widget (`/widgets/chat`)

In addition to full dashboards, Toolbelt serves an isolated, standalone chat widget at `/widgets/chat`. You can embed this widget as an iframe inside any external web application, static site, Notion page, or internal portal to give users an interactive assistant chat:

```html
<iframe
  src="https://toolbelt.apexti.com/widgets/chat?workspaceId=<workspaceId>&title=Support%20Assistant&config=%7B%22showSaveButton%22%3Afalse%7D"
  width="100%"
  height="600"
  frameborder="0"
  style="border-radius: 8px; border: 1px solid #e2e8f0;"
></iframe>
```

| Parameter | Type | Description |
|---|---|---|
| `workspaceId` | string | Target assistant UUID to connect the conversation to. |
| `title` | string | Display title rendered in the widget header. |
| `config` | JSON string | Optional configuration object, e.g. `{"showSaveButton": false}` to hide the conversation save action. |

The standalone widget is styled with Shoelace components, responds gracefully to mobile viewports, and executes within an isolated Content Security Policy (CSP).

### JSON API

For programmatic access, append `/json` to your public dashboard URL. This returns the fully rendered dashboard data as JSON, which you can consume in your own applications or scripts.

### Link Expiration

You can optionally set an expiration date on your public dashboard link. Once the link expires, it will automatically return a `403 Dashboard Expired` error. This is useful for time-limited reports or temporary client-facing views.
