Integrations
Supabase
How to connect your Supabase Postgres database to dba.ai for AI-powered monitoring, optimization, and issue resolution.
Overview
The Supabase integration allows dba.ai to securely connect to your Supabase Postgres database. Once connected, dba.ai can:
- Monitor database performance
- Identify potential issues
- Provide optimization recommendations
- Generate solutions for common PostgreSQL problems
Prerequisites
- A Supabase account with an active project
- Administrator access to your Supabase project
- Database connection details (available in your Supabase dashboard)
Setup Instructions
1. Get Your Supabase Connection Information
- Log in to your Supabase Dashboard
- Select your project
- Navigate to Project Settings > Database
- Under Connection Info, find your connection details:
- Host: The database host
- Port: Usually 5432 for PostgreSQL
- Database name: Your database name
- User: Database username
- Password: Database password
2. Connect to dba.ai
- Log in to your dba.ai account
- Navigate to Connections > Add Connection
- Select Supabase as the connection type
- Enter your connection details:
- Connection name (for your reference)
- Host
- Port
- Database name
- Username
- Password
- Click Test Connection to verify everything works
- Click Create Connection to save
3. Configure Access Permissions
For optimal functionality, dba.ai requires certain permissions. We recommend creating a dedicated read-only user for dba.ai:
Security Considerations
- dba.ai encrypts all connection information at rest
- All database traffic is encrypted using TLS
- You can limit dba.ai’s access by using a read-only user
- No sensitive data is extracted from your database without explicit permission
Troubleshooting
Connection Issues
- Verify your Supabase project is active
- Check if your IP is allowlisted in Supabase’s security settings
- Ensure the database user has sufficient permissions
Permission Errors
If you encounter permission errors, run the following to view current permissions:
Next Steps
After connecting your Supabase database:
- Set up issue monitoring to receive alerts
- Configure automatic pull requests for suggested fixes
- Explore the AI-powered database chat to query your database using natural language
For advanced configuration options, contact support@dba.ai.
Was this page helpful?