Databases and apps
A project can connect to databases and apps you already use. The AI can look at them and prepare changes, but it never sees a password, key or connection string, and it never writes anything by itself.
Connecting #
Ask in the project's chat — "connect my old database", "use my Google Sheet" — or the AI asks when it needs one. A card appears in the chat:
- A database (PostgreSQL, MySQL or MariaDB): paste its connection string into the form, e.g.
postgres://user:password@host:5432/database. It goes straight to the server, is stored encrypted and is never shown again. The database must be reachable from the internet. A database user with read-only rights is the safest choice. - An app (Google Sheets, Microsoft 365 Excel, Airtable, Notion, Facebook Pages, Instagram, Threads, X, LinkedIn, TikTok): press Sign in to … and approve on the app's own page. Nothing to copy or paste. The project can then read and import your sheets, posts or videos — it never posts or changes anything there.
- Zapier: press Get my address and paste the private address into a Zap (action Webhooks by Zapier → POST, JSON). Rows your Zap sends wait in an inbox until you approve importing them.
Each connection belongs to one project and gets an id like conn_…, which is all the AI ever works with. Connections under the chat lists them, with Test and Remove.
What the AI can do #
- Look: tables, columns, keys, relationships, sizes, what the database user may do, and first rows. For apps: the sheets, tables or databases you shared, and their fields.
- Query: one read-only statement at a time, inside a read-only transaction with a time limit, at most 250 rows a page.
- Import from an app into your project's data: you get the usual preview and Approve and save.
- Prepare changes to a database: inserts, updates, deletes or schema changes, shown as a card with the rows affected, samples and warnings.
- Plan a transfer between a database and your project's data, or between two databases: column mapping, incompatible types, missing required columns, relationships, and what happens to rows that are already there (keep, overwrite, or stop).
What only you can do #
- Allow changes on a connection. Every connection starts read-only.
- Approve and run a prepared change. It runs in one transaction and every changed row is read back. If the tables or the affected rows changed since the preview, it is refused and nothing is written — ask for a fresh preview.
- Undo a data change for 30 days, on tables with a primary key. Schema changes can't be undone. On MySQL and MariaDB schema changes can't be rolled back at all (the engine commits them at once); on PostgreSQL they roll back with the rest of a failed change.
- Approve and run a transfer. Rows move server to server in batches, never through the AI. Each batch is saved before the next, so a transfer that stops (an error, Stop, a restart) can be resumed. At the end a sample is read back from the destination and compared.
Limits: a prepared update or delete touches at most 2,000 rows and an insert 5,000 — larger jobs are transfers. While an experiment is running, nothing is written to a connected database.
Posting from your own app #
Link Facebook, Instagram, Threads, X or LinkedIn the same way (one sign-in), then press Let my app post on the connection. Your site's admins can then publish through that account from your app — for example a "Share" button on a new blog post or product in your admin area. Ask the chat to add it ("add a button in the admin that posts new articles to our Facebook Page").
- Your site needs sign-in turned on, because only its admins may post.
- Your account's access stays on the server; it is never in your site's code or in visitors' browsers.
- Instagram posts need an image. At most 30 posts an hour per linked account.
- Stop my app posting switches it off at once.
Your published site #
A published site can't reach a connected database by itself — that would put its credentials in visitors' browsers. Move the data the site should show into the project's own data (a transfer with your model as the destination) and the site reads it from there.
For site owners #
App sign-ins need to be registered once per app in Admin → Setup → App integrations (a client ID and secret from each provider, with the redirect URL shown there). These are the site's own registrations: customers never see them and they are never part of the sites customers build. Several providers (Meta, TikTok, LinkedIn company pages) review an app before the public can use it. Databases and Zapier need no setup.