Loading blog posts...
Loading blog posts...
Loading...

Since July 9, 2026, paid ChatGPT users can build and host real web apps without leaving ChatGPT. You describe the app, ChatGPT writes the frontend and the backend, hosts both, and hands you a live URL. This guide focuses on what to build, how the backend works, and exactly how to talk to ChatGPT to get a usable tool - using nothing but the Sites feature and the ChatGPT desktop app.
Every Site has up to three layers, and you choose which ones your app needs:
You never configure any of this yourself. You ask for it in plain language, and ChatGPT generates the code for all layers. The one thing you must do is say clearly what needs to be stored - if you don't mention persistence, you may get a page that forgets everything on refresh.
The magic sentence that triggers backend code generation is some version of:
"Data must persist across refreshes and be shared between all visitors. Use a database."

Think "small internal tools that remove friction from your week":
Not possible, so don't start there: payments and e-commerce, connecting to external databases or private APIs, background jobs, anything with health or card data.
The biggest quality lever is not the build prompt - it's making ChatGPT interview you first. Open the desktop app, mention @Sites, and start with:
Prompt 1 - the interview: "I want to build a small web app: [one sentence - e.g. 'a place where my family submits dinner ideas and votes on them']. Before you build anything, interview me. Ask me one question at a time about: who will use it, what actions each person can take, what data must be stored, who may see the data, and what the main screen should show. When you have enough, show me the plan - pages, data fields, and permissions - and wait for my approval."
This turns vague ideas into a concrete spec, and the spec becomes the build order:
Prompt 2 - the build: "Build it as planned. Private backend: store all records in a database, shared across visitors, persistent across refreshes. Require Sign in with ChatGPT for submitting. Generate a reviewable version first - do not publish anything yet."
This is the pattern almost every useful Site reduces to - a public form in front, a private data view behind it.
Prompt: "Build a submission form for [feature requests]. Fields: name (auto-filled from ChatGPT sign-in), title, description, priority (low/normal/urgent). On submit, save the record to the database with a timestamp and show a thank-you message. Add a separate /admin page that lists all submissions in a table, newest first, with filters by priority - and make the admin page visible only to me, not to other visitors. Reviewable version first, don't publish."
Where does the submission data live, and where do you find it? It's stored in the Site's built-in database (D1). You read it in two ways, both inside the product:

Dashboard: "Build a personal dashboard. Sections: Projects (name, status, due date), Today (tasks due today), and Waiting On (things I'm waiting for from others, with the person's name and days elapsed). All data stored in the database, editable inline by me only. Overdue items in red. Access: private, just me."
Email triage: "Build an email triage board. I paste an email's sender, subject, and text into an intake box. Each email becomes a card I can drag between four columns: Reply Today, Delegate, Read Later, Done. Cards persist in the database. Show a counter per column and let me archive a whole column at once. Access: private."
Refine in plain numbered requests - "1) sort Reply Today by oldest first, 2) add a search box, 3) let me edit a card after saving" - and keep everything else untouched.
Publishing is a deliberate two-step, and it matters because there is no staging - every deployed URL is production:
Your app is instantly live at yourname.openai.chatgpt.site, with a custom domain available where supported. Built-in analytics show unique visitors and page views. Visitors can use the site - submit, vote, browse - but never edit it; editing happens only in your chat.
Start with the narrowest audience, click through every flow yourself, then widen. Hosting is included with your paid plan (Free and Go excluded; EEA, Switzerland, and UK not yet supported) - usage counts against your plan's allowance the way Codex does.

One sentence to remember: interview first, build second, publish last. Let ChatGPT ask the questions, insist on a database whenever data must survive, put a private admin page behind every public form - and you'll go from idea to a live, useful tool in a single sitting.