Overview
Data Connectors allow you to link your existing database directly to Cobi, enabling the Data Assistant to query and analyze your data in real-time.All database connections are read-only. Cobi will never modify your data.
Supported Databases
Cobi currently supports the following database types:- PostgreSQL (versions 12 and above)
- MySQL (version 8.0 and above)
- MongoDB (Atlas via SRV connection strings and self-hosted instances)
Connecting Your Database
1
Open Developer Settings
Navigate to the Developer section in the sidebar, then select Data Connectors.
2
Add New Connection
Click the Add Data Source button to open the connection form.
3
Enter Connection Details
Fill in your database credentials:
4
Test Connection
Click Test Connection to verify your credentials. Cobi will attempt to connect and confirm access.
5
Save Connection
Once the test succeeds, click Save Changes to store your connection.
Network Configuration
IP Allowlisting
If your database is behind a firewall, you’ll need to allowlist Cobi’s IP addresses:Contact [email protected] to get the IP addresses for your region.
Using SSH Tunnels
For databases that aren’t publicly accessible, we recommend setting up an SSH tunnel or using a bastion host. Contact our support team for guidance on secure connection options.Managing Connections
Edit a Connection
To update connection details:- Go to Developer > Data Connectors
- Click on the connection you want to edit
- Update the fields as needed
- Click Test Connection to verify, then Save Changes
Delete a Connection
To remove a data source:- Go to Developer > Data Connectors
- Click on the connection
- Click Delete Connection
Next Steps
Once your database is connected:- Add Custom Instructions to help Cobi understand your data
- Start a conversation with the Data Assistant to explore your data