verbinden Supabase
Verbinden Sie die Supabase für Datenbank, Authentifizierung, Speicherung und Echtzeit-Funktionen.
Auf dieser Seite
Connect with SupabaseExisting manual connectionsWählen Sie Preview und ProduktionErstellen Sie eine ArbeitsfunktionÜberprüfen Sie die IntegrationProblemlösungVerwandte LeitfadenTranslation pending: This updated guide is shown in English until its translation is refreshed.
Connect with Supabase
New workspace connections use OAuth. A workspace owner or admin authorizes RetronAI, selects an accessible Supabase project, and names the connection. No database password or manually copied API keys are required.
- Open workspace Settings → Connectors → Supabase → Add connection.
- Choose Connect with Supabase and authorize access.
- Select an accessible Supabase project and name the connection.
- Save it, then assign it to the intended project environment.
RetronAI checks database authorization before allowing schema migrations. OAuth authorization does not automatically create your application's sign-in screens, storage policies, or realtime subscriptions; build and test those features explicitly.
Existing manual connections
Existing manual connections remain supported. Authorized administrators can inspect configuration, update credentials, validate, revoke, and delete them. Manual creation is unavailable for new workspace connections. Once deleted, use OAuth to create a replacement.
API keys provide application API access; SQL migrations require database authorization. Keep secret keys and database credentials in the protected connection form, never in chat or client code.
Choose Preview and Production
A workspace connection is reusable. Creating it does not automatically wire it into every app.
- Open the project and go to Settings → Connectors.
- Select the Preview environment and assign the Supabase connection intended for testing.
- Review the available access controls. For databases, choose whether the app may read data, write data, or manage structure.
- When preparing to publish, configure Production separately. Confirm the provider account and resource before selecting the live connection.
Shared resources: Using the same provider resource in both environments means tests can affect the same external data. Different environment selections do not create separate provider resources for you. See project connections for the full binding workflow.
Build a working feature
Once the connection is assigned, ask RetronAI to use it for a specific behavior. Include the resource, expected result, and failure behavior. For example:
Connect my task board to Supabase. Store tasks persistently, require sign-in, and ensure each user only sees their own tasks. Explain any database changes before applying them.
Review the resulting app in Preview. Connecting credentials is a setup step; it does not by itself add screens, server routes, permissions, or event handlers to your app.
Verify the integration
Create a task, reload, then sign in as a second test user. Confirm persistence and that the second user cannot read the first user’s tasks.
RetronAI supports a provider connection check for this connector. Passing that check confirms the checked credentials or connection are usable; it does not test every resource permission or the complete feature you built.
Before publishing, repeat the relevant checks with the intended Production configuration. Confirm error messages do not reveal credentials and that private data remains protected by the app’s authorization rules.
Troubleshooting
If database browsing is unavailable, check that the connection includes database access and that project permissions allow it. For API access errors, inspect the project URL, key type, and table access policies.
If the feature still uses the wrong resource, check the project environment and assigned connection first. Updating a workspace connection affects projects that use it; review those bindings before replacing credentials. If a credential was rotated at the provider, update the saved connection and retest the feature.