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

A standalone database runs in its own container with its own storage, owned by your organization rather than by an app. Redeploying, stopping, or deleting a deployment never touches it, unlike a database bundled into that deployment.

Your database name, username, and password

Set the initial database name, owner username, and password at creation, or let NEXUS AI generate a strong password and reveal it once. Redis supports 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 and leaves the data intact.

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 AI agents can provision one as part of a task, with scoped permissions and audit logging.

App plus database plus worker

A typical NEXUS AI deployment can run a web app, a PostgreSQL database, a Redis queue, and a background worker as one connected service group. The app and worker share the same deployment network, so application code can use internal hostnames such as postgresql and redis instead of hard-coded host ports or external database addresses.

Storage and recovery included

Production apps usually need more than compute. NEXUS AI supports persistent filesystem volumes for apps that write to paths such as /data, S3-compatible buckets for uploads and generated files, database backups, in-place restore, and restore into another compatible service in the same organization.

One workflow across interfaces

The same stack can be managed from the dashboard, CLI, REST API, or MCP tools. Developers can deploy from GitHub, add database services, attach storage, run workers, scale replicas, inspect logs, create backups, and recover data without switching between cloud consoles and hand-built scripts.

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