Prerequisites
- A Vizdom workspace with Editor or Admin permissions
- PostgreSQL database credentials (host, port, database name, username, password)
- Network access from Vizdom’s servers to your database (see the IP allowlisting warning below)
Connect a PostgreSQL database
Open Data Sources
In the left sidebar, click Settings, then select Data Sources. Click Add New in the top-right corner.
Choose a connector
Select PostgreSQL from the list of available connectors. Vizdom also supports MySQL, Redshift, BigQuery, Snowflake, and more — the connection flow is similar for each.
Enter connection details
Fill in the connection form with your database credentials:
Enable SSL if your database requires encrypted connections (recommended for production databases).
| Field | Example value |
|---|---|
| Host | db.example.com |
| Port | 5432 |
| Database | analytics_prod |
| Username | vizdom_readonly |
| Password | (your password) |
Test the connection
Click Test Connection. Vizdom attempts to connect to your database and returns one of:
- Connection successful — your credentials and network access are correct.
- Connection failed — check the error message. Common causes are listed in the troubleshooting tips below.
Save the data source
Give your connection a descriptive name (for example,
Production Analytics DB) and click Save. The data source now appears in your Data Sources list.Browse the schema
Click your new data source to open the schema browser. Vizdom introspects your database and displays:
- Tables and views in the left panel
- Columns, data types, and nullable flags when you expand a table
- A row count estimate for each table
Create a dataset
Click New Dataset in the schema browser toolbar. You can build a dataset in two ways:Table selector — select a table from the dropdown and optionally filter rows. Best for simple, full-table access.SQL query — write a custom query for joins, aggregations, or transformations. For example:Click Run to preview the results, then click Save Dataset and give it a name (for example,
Signups & Revenue – Last 90 Days).Troubleshooting common connection issues
Connection timed out Your database is not reachable from Vizdom’s servers. Verify that your firewall allowlist includes Vizdom’s egress IPs and that the host and port are correct. Authentication failed Double-check the username and password. Passwords are case-sensitive. If you recently rotated credentials, update them in Settings → Data Sources → Edit. SSL required / SSL not supported Toggle the SSL option to match your database’s requirement. If your database uses a self-signed certificate, upload the CA certificate in the Advanced section of the connection form. Schema not visible after connecting The database user may lackUSAGE on the schema or SELECT on the tables. Re-run the permission grants in the tip above, then click Refresh Schema in the schema browser.
Query times out
Vizdom enforces a 30-second query timeout on dataset previews. Add an index on columns used in WHERE and GROUP BY clauses, or narrow the date range in your query.