Build a dashboard and share it with login

4 min read

Build a dashboard with KPIs, a chart, a detail table and a filter, publish it and share it with a link that asks people to sign in.

Goal: the Daily operations dashboard on the Shipments table, for your team and for customers with their own login.

Requirements: a role that can create dashboards (Owner, Admin or Editor) and a table or query with data. The share link is on every plan (its users count as the plan's external users); embedding it in a website (iframe) needs Business.

Time: 15 minutes.

1. Create the dashboard

  1. Open Dashboard and click Create › Dashboard.
  2. Type the Name (for example Daily operations) and, if you like, a description.
  3. Under Who can see it, choose which workspace members will see it.
  4. Click Create dashboard. The editor opens.
New dashboardNew dashboard
New dashboard

Tip: With AI on, you can also type something like "Shipments by customer and status, with the total amount" in What do you want to build today? and review what it builds.

2. Get to know the editor

  • Left: Insert (blocks: KPI, charts, table, matrix, kanban, calendar, filter, text, image, form…), Layers and Pages.
  • Center: the canvas. Drag a block or click it to add it.
  • Right: the inspector of the selected block, with tabs (Data, Display, Style, Interaction, AI, Element).
  • Top: the status (Draft or Published), undo, Preview, Share, Save and the ⋯ menu.
The editor with KPIs, chart, table and filterThe editor with KPIs, chart, table and filter
The editor with KPIs, chart, table and filter

3. Add the KPIs

  1. In Insert, click KPI.
  2. In Data › Data Source, choose Table and the Shipments table (or Query and a saved query).
  3. Under Value, pick the column and the aggregation (count, sum, average…). Repeat for each KPI: number of shipments, total amount, average weight.

4. Add a chart

  1. Click Bar chart.
  2. In Data, check the Chart Type and Variant, pick the source and set Axis and values: the axis (for example cliente) and the value (sum of monto). KoData suggests an axis and a value to start with.
Chart inspector: Data tabChart inspector: Data tab
Chart inspector: Data tab
  1. In Display and Style you adjust axes, legend, labels and colors. In Interaction you can make a click on a bar filter the rest of the page.

5. Add the detail table

  1. Click Table, pick the same source and the columns to show.

6. Add a filter

  1. Click Filter.
  2. Under Filter source, choose whether it filters the whole project (Global project filter), just the page or specific elements.
  3. Under Column, pick the column (for example estado). The filter uses its unique values. With Add column you add more fields to the same filter.
Filter inspectorFilter inspector
Filter inspector
  1. Click Preview to try the dashboard as your team will see it.
  2. Click Save (or Ctrl+S).

7. Publish

  1. Open the ⋯ menu and choose Publish. While it's a Draft, the link and the embed code don't open.

8. Share with visitor login

  1. Click Share. On the Access tab, turn on Share by link. The link asks people to sign in: only project users get in.
Share › AccessShare › Access
Share › Access
  1. Under Sign-in, decide whether you allow Open sign-up, password recovery and which Allowed email domains you accept. Under User fields you can ask for extra data (company, region…).
  2. Open the Users tab and click Create user for each visitor (or turn on open sign-up).
Share › Project usersShare › Project users
Share › Project users
  1. Click Save in the panel and copy the link.

Result: whoever opens the link sees the dashboard's sign-in screen (with your branding). After signing in, they only see this dashboard. Their data is available as {{visitor.email}}, {{visitor.name}} and {{visitor.<field>}}: use them in a query so each customer only sees their own rows (for example WHERE cliente = {{visitor.empresa}}). KoData doesn't filter anything on its own.

On the Visitors tab you see who signed in and when. On Embed you get the code for an iframe (Business plan).

Next step

Collect data with a public form.

If something fails

Symptom What to do
The link doesn't open The dashboard is a Draft: publish it from ⋯ › Publish.
This query has an error, so its columns can't be loaded. Open the query (Ctrl+K), fix it and use Refresh query data.
A visitor sees other people's data Filter the query with {{visitor.*}}; login alone doesn't filter.