Docs
Building

Add a database

Connect a data service and build persistent features

Connect a supported data service, then ask the agent to build the records and queries your app needs. Choose a service available in your environment; common options include Supabase, Neon and Airtable when configured.

Build against the intended data

  1. Connect the service through the relevant project or MCP control and check its status.
  2. Select the intended account/project and describe the records your app should store.
  3. Review the proposed schema and access rules, including any requested approval for data changes.
  4. Try adding, editing and reading a record in the app. Reload and confirm it persists.
text
Add contacts with a name, email and notes. Let signed-in users
create and edit their own contacts, and show a searchable list. Verify
that one user cannot edit another user's records.

Relational databases suit joins and structured queries. A table-oriented service may suit simpler content or an existing workflow. The operations available to the agent depend on the connected service's tools and permissions.

If a schema change fails, provide the actual error and inspect existing data before retrying. Connecting successfully does not grant every migration or administrative permission.

See authentication, integrations and environment variables.