Back to Data Sources
🐘
PostgreSQL
Full support including schemas, views, and advanced data types
Connection Settings
| Field | Description | Example |
|---|---|---|
| Host | Database server hostname or IP | db.example.com |
| Port | PostgreSQL port (default: 5432) | 5432 |
| Database | Database name to connect to | analytics |
| Username | Database user | dbcraft_user |
| Password | User password (encrypted at rest) | •••••••• |
| SSL mode | disable, prefer, or require | prefer |
Features
Multiple Schemas
Access all schemas in your database with full navigation
SSL Connections
Encrypt traffic with the prefer or require SSL modes
Read Replicas
Connect to read replicas for analytics queries
Connection Pooling
Built-in pooling (5 connections by default) for efficient resource usage
SSL Modes
| Mode | Description |
|---|---|
| disable | No SSL. Only for databases on a trusted private network |
| prefer | Use SSL when the server offers it (default in the connection form) |
| require | Always use SSL and refuse unencrypted connections (recommended for remote databases) |
Recommended Permissions
For read-only analytics, create a dedicated role:
CREATE ROLE dbcraft_reader WITH LOGIN PASSWORD 'secure_password'; GRANT CONNECT ON DATABASE mydb TO dbcraft_reader; GRANT USAGE ON SCHEMA public TO dbcraft_reader; GRANT SELECT ON ALL TABLES IN SCHEMA public TO dbcraft_reader; ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO dbcraft_reader;
