Publish and domains
Put a project online on a host you connect, and give it your own domain.
When a project is ready, publish it from the project's header. You can download it as a zip, or send it to GitHub, Vercel, Netlify, or Cloudflare with an account you connected. Once a site is live on a host that takes domains, you can give it your own domain from the same window. A chat's sandbox work can be published the same way, from the chat's preview pane.
Before you publish
Connect the host first, in Connections. Publishing sends the project as that account, so the site lives in your own account at the host. See Connected accounts.
The Publish window
| Tab | What it holds |
|---|---|
| Publish | Where to send the project and as which account, and the Publish button. |
| Site & domains | The site's addresses, your own domains, and the content manager's sign-in. |
| History | Every publish by day, each target's current version marked, failed ones listed apart. |
Where it can go
| Target | What happens |
|---|---|
| Zip | You download the project's files. |
| GitHub | A private repository is made the first time, then updated. |
| Vercel | A deployment the host builds. |
| Netlify | A site made the first time, then deployed. |
| Cloudflare | A site on your account's workers.dev address. |
The next publish goes where the last one went, so updating a site is one press. Publishing asks for your approval, in Studio as anywhere.
While a publish goes, its target and button show the time it has taken. When it ends, the window says how it went. If the coding agent is still working, the publish waits for it and then goes.
The assistant can publish too
Ask in the project or chat: "Publish this to Vercel." It uses the same targets and asks first.
Your own domain
Your plan sets how many domains you may connect: none on Free, 1 on Plus, 5 on Pro, and 20 on Max. Domains work today for sites on Vercel.
- Open Site & domains.
- Under Use your own domain, type the domain, such as
www.example.com. - Follow the setup: host, DNS, certificate.
If your domain's DNS is at Cloudflare and you connected your Cloudflare account, the records are written for you. Otherwise the window lists the records to copy into your DNS provider.
If the name already points somewhere, setup waits and asks. Choose Replace them for me to remove the old records first.
Use Check now to look again at once. Setup goes on by itself and tells you if DNS has not arrived after a while. When it is live, the domain shows on the site.
Remove a domain
Choose Stop and remove. The domain is taken off the host, and only the DNS records the app wrote are deleted.
Content manager sign-in
A project with a Git-based content manager lets its editors sign in with GitHub through Laziness, so the site holds no secret. Site & domains shows each address's sign-in page and what the site still needs, such as being published to GitHub first.
Failed publishes
A failed publish shows its reason. If the host built the site and failed, its own words are shown for its logs. You can remove failed publishes from History.