PostgreSQL Warehouse Integration
Connect your internal Postgres analytics database or production replicas to allow agents to query data directly.
Read-Only Security Guardrails
Zonrad strictly enforces zero-mutation access for standard data queries:
- Transaction Wrapping: All queries execute within read-only transactions:
SET TRANSACTION READ ONLY;SET statement_timeout = '30s';
- Blocked Statements: The SQL parser rejects
INSERT,UPDATE,DELETE,DROP,ALTER,TRUNCATE, and multi-statement queries. - Row Limits: Results are hard-capped at 10,000 rows to prevent worker out-of-memory errors.
Adding a Connection
Navigate to Settings → Integrations → PostgreSQL and provide your connection URI:
postgres://zonrad_reader:PASSWORD@db.company.com:5432/analytics?sslmode=require