I first published this on solidvibes.dev. It's for people who built an app with Claude Code and now want to send someone a link.
Your app works. You open it on your computer and it does what you asked for. Now you want to send someone a link. This post shows the path most apps built with Claude Code take to get online, and what to ask Claude at each step. You won't need to type a single command yourself.
What "online" means
Right now your app runs on your own computer. Nobody else can reach it, and it stops when you close the laptop.
To put it online, you hand it to a host: a company whose computers keep your app running and show it to anyone who opens its address. Cloudflare Pages, Netlify and Vercel are three common hosts for web apps. Each gives your app a starting address, and you can add your own name later.
Step 1: ask Claude what you built
Not every app goes online the same way. A website that only shows pages is the easy case. An app with sign-in, a database or payments has more parts, and each part needs a home. So ask first:
Ask Claude:
I want to put this app online so others can use it. In plain words: what parts does it have, does it need a database or a server, and which host would you pick for it? Don't change anything yet.
Claude reads your project and answers. If it says "it's a static site" (only pages, no server of its own), the steps below cover everything.
Step 2: save it to GitHub
GitHub is a website that stores your project and its full history. Hosts read your app from there. It is also your backup: if your laptop breaks, the project is safe.
You need a free GitHub account. Then ask:
Ask Claude:
Set up Git for this project if it isn't already, make sure no passwords or keys get saved, and put it in a new private GitHub repository. Tell me each step before you do it.
Claude may ask you to sign in to GitHub in your browser once. That's normal.
Warning:
Check that files with secrets, like.env, are on the ignore list. A.gitignorefile tells Git which files to skip (GitHub docs). A key that reached GitHub once should be treated as leaked: replace it with a new one.
Step 3: connect a host
This part happens in your browser, on the host's website. Here is how it goes on Cloudflare Pages (Cloudflare docs):
- Create an account and open Workers & Pages.
- Choose Create application, then Pages, then Connect to Git.
- Sign in with GitHub and pick your project.
- Fill in the build settings. Ask Claude what to put there: "What build command and output folder should I give Cloudflare Pages?"
- Click Save and Deploy and wait for the build to finish.
You get an address ending in .pages.dev. Open it on your phone. That's your app, online.
Netlify works much the same way: Add new project, then Import a Git repository, and it often finds the right build settings by itself (Netlify docs).
Tip:
If the build fails, copy the error from the host's build log and paste it to Claude. It's usually a missing setting, not a broken app.
Step 4: keep secrets in the host's settings
Your app may use keys: for a database, for payments, for sending email. Those never go in the code. Each host has a settings page for them, called environment variables. Vercel describes them as values "configured outside your source code", and it notes that a change only applies to new deployments, so redeploy after you change one (Vercel docs).
Ask Claude:
List every key or setting this app needs to run online. For each one, tell me its name, where I get the value, and whether it is secret. Don't show me the values.
Then add each one on the host's settings page yourself.
Step 5: every change after this
Here is the part that makes it easy. Once the host is connected, every time you save to GitHub, the host builds and puts the new version live. Cloudflare calls these "automatic builds and deployments every time you push a change" (Cloudflare docs).
So your routine becomes:
- Ask Claude for a change.
- Check it on your computer.
- Ask Claude to save it and send it to GitHub.
- A few minutes later, it's live.
Work saved on other branches gets a preview address of its own instead of replacing the live site. Ask Claude to use a branch for bigger changes, so you can look first.
Your own address
The starting address works, but yourname.com looks better. Buy a domain from any registrar, then add it in the host's settings. On Cloudflare Pages it's Custom domains, then Set up a domain (Cloudflare docs). Claude can walk you through the records to add, one at a time.
Before you share the link
Online means anyone can open it, including people looking for weak spots. Before you send the link around:
- No passwords or keys in the code or on GitHub.
- Sign-in works, and one person can't see another person's data.
- The app works on a phone.
- You know how to go back if a change breaks it.
Our security checklist for AI-built apps goes through each point in plain words. And if a change ever breaks the live site, undoing it works the same way: go back to the last save that worked and send it to GitHub again.
