Standalone Databases You Attach to Any App

Create a Postgres or Redis database that runs on its own, with your own name, username, and password. Attach it to any app; data survives redeploys.

Independent of any deployment

The database runs in its own container with its own storage, so redeploying, stopping, or deleting an app never touches it. That is the difference from a database bundled into a deployment, which lives and dies with that app.

Your database name, username, and password

Set the initial database name, the owner username, and the password at creation, or let the platform generate a strong password and reveal it once. Redis databases support an ACL user alongside the password.

Attach and detach whenever you need

Attaching injects DATABASE_URL, host, port, user, password, and database name into the app on its next deploy, under an env prefix you choose. Redis attaches as REDIS_URL by default. Detaching stops the injection without touching the data.

From the dashboard, CLI, or an AI agent

Create and attach databases in the dashboard, from the terminal with the NEXUS CLI, or through MCP tools so Claude, Cursor, and other agents can provision a database as part of a task, with scoped permissions and audit logging.

How it works

  1. Create a database and pick Postgres or Redis.
  2. Optionally set the database name, username, and password.
  3. Attach it to an app and redeploy so the connection env vars take effect.
  4. Snapshot it whenever you need a recovery point, and restore into a new database.

Frequently asked questions

What happens to the database when I delete the app?

Nothing. A standalone database is owned by your organization, not by a deployment, so deleting or redeploying an app leaves the database and its data untouched.

Can I choose my own database name, username, and password?

Yes. All three are optional at creation for databases running on NEXUS AI. Leave them blank and the platform uses safe defaults with a generated password that is shown to you once.

How does an app connect to it?

Attach the database to the deployment and redeploy. The app receives DATABASE_URL plus host, port, user, password, and database name as env vars. Redis uses REDIS_URL by default. You can change the env prefix when attaching.

Can I attach one database to more than one app?

Yes. A database can be attached to several deployments at once, which is useful for an API and a worker that share the same data.

Can AI agents create databases?

Yes. MCP tools let an agent create a database, read its connection details, attach it to a deployment, and snapshot it, subject to the scopes granted to its token.

Which plans include standalone databases?

They are available on paid plans. Free accounts can still use databases bundled into a deployment.

About NEXUS AI

NEXUS AI is an agentic AI app builder and full-stack deployment platform. Explore the AI App Builder, learn more on the About page, read the documentation, or contact the team through nexusai.run/contact.

Start for free · Read the documentation · About NEXUS AI · Contact