PostgreSQL Dashboard & Live Metrics
Run a SELECT against your Postgres database on a schedule and use the result as a live dataset. Read-only, capped at 20,000 rows and 30 seconds per run.
PostgreSQL connects to DataHub Pro with a read-only database URL and a SELECT query and gives you 1 live metrics (Rows Synced) and a dataset that refreshes in place, refreshed daily (hourly available). Setup is 4 steps and takes a few minutes.
Once connected, one click builds a live dashboard from it, the numbers land in My Metrics with history and alerts, and you can ask Claude or ChatGPT about them through the built-in MCP server. No CSV exports, no re-uploads.
What you get
Metrics it tracks
- Rows Synced — a saved metric with history, a sparkline, goals and alerts.
The dataset
A dataset in Files that is replaced in place on every sync. The file id never changes, so a dashboard pointed at it is a live dashboard, a metric defined on it is a live metric, and a scheduled report built on it sends fresh numbers.
How to connect PostgreSQL
- Ask whoever runs the database for a read-only user (CREATE USER … then GRANT SELECT …). Never paste an admin password.
- Build the URL as postgresql://user:password@host:5432/database. Supabase shows it under Project Settings → Database → Connection string; Neon under Dashboard → Connection Details; RDS under the instance's Connectivity & security tab.
- Make sure the host accepts connections from the internet (firewall / allowlist) — the sync runs from our servers, not your laptop.
- Paste the URL and a SELECT query. The first run happens now; each column of the result becomes a column of the dataset.
What the app asks for
| Connection URL | Use a read-only database user. Stored encrypted; never shown again. postgresql://user:password@host:5432/database |
|---|---|
| SQL query | SELECT only. It is wrapped in a LIMIT 20000 and runs inside a read-only transaction. SELECT order_date, region, total FROM orders WHERE order_date > now() - interval '90 days' |
What you can build on it
- A live dashboard in one click — every metric becomes a card with its value, change since last sync and a sparkline; a dataset gets the auto-built dashboard. Share it by link, embed it, or put it on a TV.
- Goals and alerts — set a target on any metric and get an email when it crosses a line or moves more than 10%.
- Scheduled reports — a branded weekly or monthly report that sends itself with the latest numbers.
- Ask your data — a grounded AI analyst in the app, and the same data available to Claude or ChatGPT through the MCP server.
See the 48 dashboard designs →
Questions
Does connecting PostgreSQL need OAuth or an app approval?
No. PostgreSQL connects with a read-only database URL and a SELECT query. There is no OAuth app to register, no review queue and nothing to install. Credentials are encrypted before they reach the database and are never displayed again.
How often does PostgreSQL data refresh?
By default daily. You can set every hour, every six hours, daily per connection, and there is a Sync now button for the moment you want it. Every sync replaces the dataset in place, so any dashboard, metric or scheduled report built on it simply shows the new numbers.
Is the PostgreSQL connector free?
Uploading files and building dashboards is free. Live connectors — sources that refresh themselves — are on the Pro plan at $19.99 per seat, which includes every connector on this page, unlimited dashboards, scheduled reports and white-label sharing. Databox charges $159 a month for the equivalent tier.
Other connectors
Your PostgreSQL numbers, live, for $19.99
Connect it in a few minutes. A dashboard that refreshes itself, metrics with history and alerts, and reports that send themselves.
Connect PostgreSQL →