Databases
Your data.
Ready for what you build.
Create a new database or connect your existing Supabase, PostgreSQL, or MySQL database to start building with your data.
Start buildingBuilt around your data
Create and manage databases in RetronAI
Every connection is validated and its schema is mapped, with read-only or read-write access based on your requirements. Migrations can also be created as your application evolves.
Ask the agent to read, insert, update, or delete supported records. Manage each capability in Project settings → Agent permissions, choose approval for each operation or automatic approval, and keep Preview and Production access separate. Review optional sample data before adding it, and see agent operations in your database activity log.
Ask your data
From a question to a useful answer
Count signups, total inventory, compare grouped results, or calculate an average. The agent uses your table fields and supported filters to prepare a scoped database operation, with results shown in chat.
Choose Disabled, Ask each time, or Automatically approve for each capability. Review requests in an approval card, then explore related questions using suggested follow-ups. Selecting a suggestion sends a new request through the same permission checks.
Available analyses depend on your schema. Time-based questions need a suitable timestamp. Unsupported joins or calculations require clarification. Database credentials must also permit the action.
Review analysis
Inventory · Preview
Total quantity across all products.
After approval · analysis completed
Total quantity
2,480 units
One project. More possibilities.
Connect your complete Supabase backend
Authorize RetronAI through Supabase, then select the project you want to build with. No database password or manual API key setup is needed.
Use its database, authentication, storage, and available real-time capabilities together when creating features for your application.
Supabase
Your complete backend
Database
Your application data
Authentication
Accounts and access
Storage
Files and uploads
Real-time
Live application updates
Room to experiment
Separate databases.
Space to test.
Connect separate databases to Preview and Production to test changes independently. If both environments use the same database, record changes affect both.
- Connect different databases and credentials to each environment
- Review and validate schema changes before applying them to your live application
Building & Preview
previewUsed while RetronAI builds, tests, and previews your project.
Database connection
App database — Preview
ConnectedSeparate database and credentials
Published app
productionUsed by your live application after publishing.
Database connection
App database — Production
ConnectedSeparate database and credentials
Rollback, built in
Roll back your app and database schema
When you roll back your project, you can also choose to restore an earlier database schema—bringing your application and its database structure back together.
Every build is tracked in Git and packaged as a versioned Docker image, so you can restore an earlier deployable version without rebuilding your application from scratch.
A little more clarity
Frequently asked questions
Get to know your database connections, access, and environments.
Can I ask questions about my database in chat?
Yes. Ask for counts, totals, averages, grouped breakdowns, and supported calculations using your actual table fields. The agent applies the requested filters and environment. Exact time-based answers need a suitable timestamp; unsupported queries require clarification rather than an answer inferred from a sample.
How do I control database actions by the agent?
In Agent permissions, choose Disabled, Ask each time, or Automatically approve separately for reads, inserts, updates, and deletions. Grants apply to the selected project, connection, and environment. Database credentials must also allow the operation. Approval cards show the request; record changes take effect immediately without publishing.
Do follow-up questions grant extra access?
No. Suggestions help you discover questions supported by your table fields. Selecting one sends a new chat request through the same permission and approval checks. You can always type your own question.
Does the activity log include every change to my database?
No. It shows activity recorded by RetronAI, including requesting users, approval information, outcomes, and counts, without record values. Changes made directly through other tools may not appear. It is not a complete database audit or a substitute for backups.
Can I connect an existing database to RetronAI?
Yes. RetronAI can connect to existing Supabase, PostgreSQL, and MySQL databases. Each connection is validated, and the database schema is mapped so your application can securely work with your existing data.
Can RetronAI create and manage a new database for my application?
Yes. RetronAI can create a new database for your application and help manage schema changes as it evolves. It can also create database migrations for new features and updates.
How does RetronAI connect to Supabase?
New Supabase connections use OAuth: authorize RetronAI and select your Supabase project. Existing manual connections remain supported. Once connected, RetronAI can use your Supabase database, authentication, storage, and supported real-time capabilities to build application features.
Does RetronAI support read-only database access?
Yes. Database connections can be configured with either read-only or read-write access based on your requirements. This helps you control how RetronAI interacts with your application data.
Can I use separate databases for preview and production?
Yes. Assign separate databases and credentials to Preview and Production, and manage agent permissions separately for each. If you connect both environments to the same underlying database, changes to shared records can affect both environments.
Can I roll back my application and its database schema?
Yes. When you roll back your project, you can also choose to roll back its database schema to an earlier structure. Every RetronAI build is tracked in Git and packaged as a versioned Docker image, so you can restore an earlier deployable application version without rebuilding from scratch.
Describe what you want to build. RetronAI helps you turn it into an app you can launch and keep improving.