← Blog

Where does my app's data live? Databases for AI-deployed apps

A PostgreSQL database, provisioned by your AI, hosted in the EU, wired in automatically. Here is what that actually means for where your data sits and who can see it.

"Add a database" is one sentence to your AI and one tool call under the hood, but it is worth knowing what actually happens, because this is where your users' real data ends up living.

PostgreSQL, through Neon, in the EU

When your AI provisions a database, it creates a real PostgreSQL instance with our database partner Neon, in an EU region. The database itself does not run inside your app's container or on the Ploydr server — it is a separately managed, separately backed-up service, which is also why it keeps working independently of anything happening to your app's container.

How the connection gets wired in

The database connection string is written directly into your app's environment variables, the same place any other secret configuration lives. Your AI never needs to show you the password in plain conversation to set this up, and your application code reads it the ordinary way any backend reads a `DATABASE_URL` — no custom integration code required.

Who can see it

Your AI, scoped to your account only, can create, inspect connection status, and delete the database through MCP tools. Deleting a database is marked as a destructive action — a careful client asks you to confirm before calling it, because unlike stopping an app, this one is not meant to be casually reversible.

What backups cover

Point-in-time recovery and backups are handled on the Neon side as part of the managed database service; separately, file storage and platform backups for everything else go through Cloudflare R2. If your app's whole purpose is the data inside that database, it is worth asking your AI directly what the current backup and retention window is before you depend on it in production.

Ready to try it? See how it works or read more on the blog.