← Help center

All help topics

Data connectors

Connect PostgreSQL

Fields, a read-only user, and fixes for common problems.

FieldWhat to enter
Connection nameA name you'll recognise, like “Sales database”
Public host nameFor example db.example.com (not an IP address or URL). Cloud providers show it in the database settings.
PortUsually 5432
DatabaseThe database that holds the data, e.g. analytics
Username / PasswordA read-only user

The server must accept TLS connections with a valid certificate and allow connections from the internet (or use the HÍBALÓ Gateway for private networks).

CREATE ROLE hibalo_readonly LOGIN PASSWORD 'choose-a-strong-password';
GRANT CONNECT ON DATABASE analytics TO hibalo_readonly;
GRANT USAGE ON SCHEMA public TO hibalo_readonly;
GRANT SELECT ON ALL TABLES IN SCHEMA public TO hibalo_readonly;
Connection timed out

Check the host and port, that the database accepts external connections, and that a firewall isn't blocking it.

Authentication failed

Check the username, password and database name, and that the user may connect to that database.

HÍBALÓ can't find my tables

Grant SELECT on the tables and USAGE on their schema, and check you connected to the right database.

Need help?Can't find the answer? Contact support and we'll reply within one business day.