Bring Your Own Storage: Configurable, Pluggable Backends for CanvasXpress Dashboards
If you've built dashboards before, you know the familiar tension: the thing you actually care about — the layout, the panels, the data bindings — gets tangled up with where stuff happens to live. A dashboard built against a local file store doesn't move cleanly to S3. A spec saved in one environment references paths that don't exist in another. And every time you want to share a dashboard, you have to worry about whether it's quietly leaking a credential or a private file path along with it.
CanvasXpress Dashboards now solves this cleanly by separating what a dashboard contains from where it, and its data, are stored — and by giving you a simple picker in the UI to choose among the storage locations your administrator has configured.
The core idea: specs describe what, config decides where
A dashboard spec in CanvasXpress never hard-codes a file path, a bucket name, or a database connection string. Instead, when a panel needs data, the spec references it by a logical id — for example, "the sales-2026 dataset" — and it's the deployment's configuration that decides what physical backend that id actually resolves to, for the person currently viewing the dashboard.
This has two very practical payoffs:
- Portability. The exact same dashboard spec runs unchanged in development, staging, and production. Nothing in the spec needs to be rewritten when you promote a dashboard from your laptop to a shared server.
- Safety when sharing. Because a spec never embeds a path or a credential, exporting or sharing a dashboard can't accidentally expose private infrastructure details. What gets shared is pure content.
Storage is now pluggable
Behind the scenes, CanvasXpress Dashboards supports multiple interchangeable storage backends for both datasets (the data your panels visualize) and dashboards (the saved specs themselves):
- Local filesystem — zero-dependency, works out of the box, great for getting started or for self-hosted single-machine deployments.
- Cloud object storage (S3 and S3-compatible services such as MinIO, Cloudflare R2, or GCS interoperability mode) — ideal for teams already standardized on cloud storage, with support for signed URLs so panels can fetch data directly and securely.
- PostgreSQL — a natural upgrade path for teams running dashboards at scale who want dataset and dashboard records living in their existing relational infrastructure, with the same behavior and guarantees as the simpler SQLite option.
- Google Drive — lets individuals or teams store dashboards and datasets in per-user Drive folders, reusing the same Google authentication already supported for live connector data sources.
Every backend implements the same underlying behavior — store an object, fetch it, list what's there, delete it, and (where supported) hand back a shareable URL — so switching backends is a configuration change, not a rewrite of your dashboards. An administrator sets this up once via environment configuration, pointing a dataset store and a dashboard store at whichever backend fits the deployment, and every dashboard in that environment transparently uses it.
Choosing a store from the UI
Administrators can register one or more named storage locations — for example, "Team Shared Drive" or "Production S3" — tagged with what they're used for (datasets, dashboards, or both). End users never see or enter a raw path, bucket name, or connection string; they just see the friendly names an admin has made available.
This shows up in two places in the no-code dashboard builder:
- When adding data. The "+ Data" dialog gets an upload path alongside the existing inline/quick-data options: pick a configured dataset store, upload a CSV or JSON file, and the panel binds to the resulting dataset id. No need to know or care where that file physically ends up.
- When saving or publishing. The save/publish flow gets a store picker so you can choose which configured dashboard store a dashboard is saved to before confirming the share target. The dashboard itself stays identical regardless of which store you pick.
Because the list of choices always comes from the server's own configuration, there's no way for a user to point a dashboard at storage they shouldn't have access to — the browser only ever picks among what's been explicitly made available.
Security by default
A few guarantees hold across every backend:
- Owner isolation. Every store scopes data per owner — whether that's a subdirectory, an object-key prefix, a row filter, or a per-owner Drive folder — so one user's uploaded datasets and saved dashboards are never visible to another.
- Viewer-scoped resolution. When a dashboard is shared, the data it displays is resolved using the viewer's permissions at render time, not the author's. A shared dashboard doesn't become a backdoor into the author's private data.
- No credentials in the browser. S3 keys, database connection strings, and Drive tokens all stay server-side. The client only ever sends a store name, never a secret.
- Short-lived links. Where a backend can produce a direct URL for a dataset (signed S3 URLs, Drive view links), those links are scoped and short-lived rather than permanent public endpoints.
What this means for teams adopting CanvasXpress Dashboards
If you're starting out, the default local-filesystem store means you can build and share dashboards with zero setup. If you're running CanvasXpress Dashboards at team or organizational scale, you can point dataset and dashboard storage at your existing S3 buckets or Postgres database without touching a single dashboard spec — and layer Google Drive on top for individuals who want a lightweight personal storage option.
The result is a dashboarding experience where storage decisions are an infrastructure concern you set once, dashboards stay portable and shareable without leaking anything they shouldn't, and your builders get a simple, guided way to say "save this here" — without ever needing to know what "here" actually means under the hood.