---
title: Add a database and sign-in to an app your AI built
description: Ask your agent for stored data and email, Google, or GitHub sign-in on any plan.
---

Outer hosts the apps your AI agent builds, with a database, sign-in and email, at a link you can share. If your app already exists, ask your agent to add stored data and sign-in to it. New apps can start with both from the first prompt.

## Tell your agent what to store and who signs in

Paste this, then swap the example for your own data:

```text
In my Outer app, save every RSVP in the database: name, email, attending
yes or no, meal choice, and an optional note. Let visitors sign in with
email and Google before they RSVP, and show a members page listing who is
coming. Read the Outer D1 and auth guides first, then change the app and
show me the live link.
```

Be specific about the fields and the providers: "email and Google", "email only", or "email, Google, and GitHub". Small requests like this deploy in one round.

## What your agent does

1. Creates tables in your app's database for the new data, seeded if you need starter rows.
2. Adds sign-in pages and protects the pages you named. OAuth providers need credentials from each provider's developer console, with the callback URL pointed at your `<slug>.outer.now` host.
3. Stores the signing secret and provider keys outside the code, before the first sign-in deploy.

Email sign-in needs nothing from you. Google and GitHub need an app registration each; your agent tells you exactly where to click.

## Try it on the live link

Open the link, sign in the way a visitor would, and check the data shows up. Ask for fixes in plain words. Every change deploys a new version in seconds and rolls back in one step.

## Questions

**How much does it cost?**

Free covers two apps with a database, file storage, sign-in, email, and nightly backups. Pro is $8/month for up to 20 apps and a custom domain. Early users pay $4/month while the launch discount runs. Details in [Choose a plan](/account/plans).

**Does this need Pro?**

No. Your app's own database and sign-in work on Free: 100 MB of database and 250 MB of files, backed up nightly. Pro raises that to 5 GB and 25 GB with 30-day restores.

**Where does sign-in data live?**

In your app's own database, alongside the rest of its data. Sign-in keys are stored outside the code as secrets. See [Let people sign in](/backend/user-sign-in).

**Can the app email people?**

Yes. Your app can email its own circle with nothing to set up, and anyone else through an HTTP email service with your own key. See [Send email](/backend/sending-email).

**Can it use my own domain?**

On Pro, yes: one hostname per app. OAuth callbacks must then match the app's public host, so add sign-in after the domain is active. See [Use a custom domain](/deploy/custom-domains).
