# Hermoso: Add Sign-Ups and a Database to an AI-Built App

> Machine-readable twin of https://hermoso.ai/blog/add-sign-ups-and-a-database-to-an-ai-built-app/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Blog](https://hermoso.ai/blog/)

# How to add sign-ups, a database and payments to an app ChatGPT or Claude built

AI writes front ends, then stalls at logins, data and payments. What to ask for, how to keep keys safe, and how to put the whole app live from the chat.

By the Hermoso team · Published December 4, 2026 · 5 min read

ChatGPT and Claude are great at building the part of an app you can see. They get stuck at the part you can't: letting people sign up, remembering what they did, and taking their money. Those need a server and a database, which a chat window doesn't have. Hermoso gives your AI a backend to build against, so you can ask for logins, a database and a checkout in plain words and put the whole app live from the same chat.

Quick disclosure: we make Hermoso. The advice on what to ask for and how to keep keys safe applies to any backend.

## Do you actually need a backend?

- **Just collecting emails?** No backend needed. Ask your AI to mark the form for your Hermoso lead list and every sign-up is saved, by page and by version.

- **People need accounts, or the app must remember things?** Yes: sign-ups and a database.

- **Taking payments?** Yes: checkout through Hermoso Payments or your own Stripe, plus somewhere to record the order.

- **Live chat, live scores, multiplayer?** Yes: realtime.

## What the backend includes

Piece What it does Ask for it like this

Sign-ups and login Accounts for your users "Let customers create an account and log in."

Database Saves bookings, orders, scores, anything "Save every booking with the customer, date and status."

File uploads Photos, documents "Let users upload a profile photo."

Checkout Card payments through Hermoso Payments (no Stripe setup) or your own Stripe "Add a $40 checkout through my Stripe."

Realtime Live updates between visitors "Show new chat messages instantly to everyone in the room."

Scheduled jobs Things that run on their own "Email each customer a reminder the day before."

Email sending Confirmations and receipts from your app "Send a confirmation email after each booking."

Your AI writes the server code for these as part of the site, and Hermoso runs it alongside the pages.

## Step by step: a booking app

### 1. Start from what you have

If the page is already live on Hermoso, build on it. If not, describe the whole thing:

"Build a booking app for my hair salon, Fringe: customers pick a stylist and a time, create an account with their email, pay a $20 deposit through my Stripe and get a confirmation. Save bookings in the database. Give me a private page that shows today's bookings. Put it live on Hermoso as fringe, as a preview first."

### 2. Give it your Stripe keys the safe way

Your AI will ask for your Stripe keys. There are two:

- The **publishable key** (starts `pk_`) goes in the page. It's meant to be public.

- The **secret key** (starts `sk_`, or a restricted `rk_` key) must never go in the page. Ask your AI to save it as a secret: "Save my Stripe secret key as STRIPE_SECRET_KEY." It's stored on the server, the app reads it there, and it's never shown again. Do this from Claude, Codex, Cursor or the Hermoso app: the ChatGPT app can't save secret keys.

Every file on a website is public, so Hermoso refuses a secret key in a page file. That one rule prevents the most common way AI-built apps leak money.

### 3. Test with a fake booking

Open the preview, book a slot using Stripe's test mode, and check the private bookings page shows it. Then ask your AI to switch to live keys.

### 4. Make it live

"Make the fringe preview live." If something breaks after a change, "roll back" puts the previous version back. One thing to know: rolling back restores the pages and the server code, not the data. Bookings, uploads and saved secrets stay as they are, which is almost always what you want.

## Two more examples

"Add a members' area to my yoga site: people sign up, pay $15 a month through my Stripe, and get access to the video library page. Lock that page for everyone else."

"Make a four-player drawing-and-guessing game with rooms, live scores and a timer. Put it live on a hermoso.page address."

## Mistakes to avoid

- **Building the whole platform first.** Launch with the one flow that makes money, then add.

- **Keys in the chat history you share.** If you paste a secret key into a chat you later share, rotate it in Stripe.

- **No test run.** Make one booking yourself before you send traffic.

- **Not knowing where the backups are.** Hermoso snapshots the database every day and keeps the last seven; ask your AI to export it as SQL, or to restore yesterday's copy, before you need to in a hurry.

## Then bring people in

Once it takes bookings, it needs customers. Every Hermoso page carries your tag, so ads and posts pointing at it are tracked from the first visit. Start with the [launch-to-first-ads checklist](https://hermoso.ai/blog/launch-to-first-ads-checklist/), or read the whole path in [how to launch a business from ChatGPT or Claude](https://hermoso.ai/blog/launch-a-business-from-chatgpt-or-claude/). Already sell through Stripe? The [Stripe connector](https://hermoso.ai/blog/stripe-and-hubspot-connectors/) lets your AI read your revenue too.

## Questions people ask

### Can ChatGPT add a login to my website?

ChatGPT can write the login code, but it needs a backend to run on. With Hermoso connected, ask for sign-ups and login and ChatGPT builds them against Hermoso's backend, then deploys the app.

### Where does the data from my AI-built app get stored?

In the project's database, which comes with Hermoso's backend. Your app's server code reads and writes it; it's separate from the public page files.

### How do I add Stripe payments to an AI-built app safely?

Put only the publishable key (pk_) in the page. Save the secret key as a site secret so it lives on the server (from Claude, Codex, Cursor or the Hermoso app; the ChatGPT app can't save one); Hermoso refuses a secret key placed in a public page file. The money goes straight to your own Stripe account.

### Do I need a backend just to collect email sign-ups?

No. Ask your AI to mark the form for your Hermoso lead list, and every sign-up is saved by page and by version without any server code.

### What happens to my data if I roll back a version?

Rolling back restores page files and server code. Database rows, uploads and secrets stay as they are.

### Can I build a multiplayer game this way?

Yes. The backend includes realtime, so live scores, rooms and chat update instantly for every player.
