PostgreSQL is a powerful, open-source relational database known for reliability, extensibility, and standards compliance. With BonData, you can connect directly to your PostgreSQL database to read, enrich, and act on your data within Agent workflows.Documentation Index
Fetch the complete documentation index at: https://docs.bondata.ai/llms.txt
Use this file to discover all available pages before exploring further.
Database Connection
BonData connects directly to your PostgreSQL database using standard connection credentials.Step 1: Prepare Your Database
Ensure your PostgreSQL server is accessible from BonData’s IP addresses. You may need to:- Configure your firewall to allow connections on port 5432 (or your custom port)
- Update
pg_hba.confto allow remote connections - Set
listen_addressesinpostgresql.confif needed
Step 2: Create a Read-Only User (Recommended)
For security, create a dedicated read-only user for BonData:Step 3: Gather Connection Details
Collect the following information:- Host: Your database server hostname or IP address
- Port: Usually 5432
- Database: The name of the database to connect to
- User: The username created above
- Password: The password for the user
Step 4: Connect in BonData
Enter your connection details in BonData to establish the connection.Required Fields
| Field | Description |
|---|---|
| Host | Database server hostname or IP address |
| Port | Database server port (default: 5432) |
| Database | Name of the database to connect to |
| User | Database username |
| Password | Database password |
BonData supports SSL connections for enhanced security. Contact support if you need to configure SSL certificates.
Available Data
Once connected, BonData can sync:- Tables - All tables the user has SELECT access to
- Views - Database views accessible to the user
- Custom Queries - Run custom SQL queries to extract specific data
RDS in a private VPC?
Learn how to securely connect RDS databases that aren’t publicly accessible.