Skip to Content
DashboardsGetting startedChoose your path

Choose your path

For: everyone.

By role

RoleDoesRead, in order
Product ownerDecides whether the product fitsOverview, Widget catalog
ImplementerBuilds dashboards in the UIBuild your first dashboard, Add saved queries, Add filters, Widget catalog
DeveloperEmbeds dashboards and runs the serverQuickstart, Embed a dashboard in a web page, Authenticate users, Configuration reference

By setup

A setup is the application that hosts the dashboards.

SetupChoose it whenSign-inData credentialsYou build
ModularIoT setupYour team uses the ModularIoT web appModularIoTModularIoT connectionsNothing
Standalone server + your appYou want dashboards inside your productYour identity provider (JWT or ticket)The server’s database, encryptedThe page that shows dashboards and, without React, the editing forms
Library in your Node.js backendYou already run a Node.js backend and want one processYour codeYour codeAdapters for identity, storage and data

ModularIoT setup

Dashboards is part of the web app. An administrator turns it on and people open Dashboards in the navigation. Data comes from the organization’s connections. BigQuery SQL queries are written in Settings › Connections › BigQuery.

Standalone server + your app

Run the server with npm, Docker or Helm. Your identity provider signs people in. The server validates the token or ticket and decides what each person can do. Your page draws dashboards with the UI library.

Your app usesHow it draws the dashboardEditing in the UI
ReactComponents from @microboxlabs/miot-dashboard-ui/reactThe library provides the settings panel, the saved-query editor, the filter editor and the permission editor. You write the settings fields of each widget.
HTML or any frameworkThe Web Component or mountDashboardYou build all the editing forms
Phoenix LiveViewmountDashboard from a JavaScript hook. See Embed in Phoenix LiveViewYou build the forms in LiveView

Library in your Node.js backend

Mount the server’s request handler in your backend, for example in a Next.js route. You implement a few interfaces: who is calling, which organizations and scopes they belong to, and where dashboards are stored. The access rules do not change.

What is the same in all of them

  • The dashboard document is the same. A dashboard exported from one setup imports into another.
  • Every request is checked in the same order: identity, organization, scope, then the action.
  • The browser never receives a credential, a data URL or SQL.

Map, container and file upload widgets exist only in the ModularIoT setup. In the other setups, a document that uses them shows “unavailable” in their place.

Last updated on