Skip to content
Skip to main content
CONTACT SALESSTART BUILDING

Publish with Builder Cloud

Builder Code

Builder Cloud publishes your Builder Code Project to the web with one click. Your app gets a builder.cloud web address, and you can publish updates, control who can view the site, connect your own domain, or take the site offline at any time.

Prerequisites

Before you begin, confirm the following:

  • Your Space's plan includes Builder Cloud. All self-serve Builder Code plans include it.
  • A Space admin has Allow Hosting turned on in the Space's Account settings.
  • The Publish button appears in the top right of the Project editor.

Publish your Project

To publish a Project for the first time:

  1. Open your Project and click Publish in the top right of the editor.
  2. In the Publish Project popover, enter a Web Address, such as my-cool-app. Your site is served at my-cool-app.builder.cloud.
  3. If your app uses AI, choose how its AI usage is paid for. For details, visit AI usage for published apps.
  4. Click Publish now.

Builder merges your current branch into the Project's main branch, then builds and deploys it. A progress bar moves through Queued, Migrating, Building, Uploading, and Deploying. You can close the popover while you wait. It reopens when the deploy finishes.

When the site is live, Builder shows Yay! Your Project is live now. From there, copy the web address, click View Live App, or, on paid plans, click Add Custom Domain.

Web address rules

The web address is the subdomain in front of builder.cloud. It must:

  • Be between 3 and 63 characters long.
  • Contain only lowercase letters, numbers, and hyphens.
  • Not start or end with a hyphen.
  • Not contain two hyphens in a row.

Some names are reserved. If the address you pick is unavailable, Builder asks you to choose another one.

Pick the web address you want to keep. Builder reserves it for your Project the first time you publish, and you can't change it afterwards.

Publish updates

The label on the Publish button shows the state of your site:

Button labelWhat it means

Publish

The Project has never been published.

Publish update

You have changes that aren't live yet. This includes code changes and changes to hosting settings, such as build settings or environment variables. It also appears when the last publish didn't finish.

Republish

Your site is up to date. Republishing redeploys the current version as-is.

Publishing

A deploy is in progress. Click the button to view its progress.

You can't publish while the AI agent is working on your Project. Wait for it to finish, then click Publish update.

Control who can view your site

By default, a published site is public. Space admins can restrict access from the Site access option in the publish popover, which opens Configure Site Visibility.

OptionWho can view the site

Public

Anyone with the link.

Password protected

Visitors who enter the password you set.

Builder space members

Selected members of your Builder Space.

IP protected

Visitors from allowed IP addresses or CIDR ranges. Available on Enterprise plans.

You can combine restrictions and choose whether a visitor must meet any one of them or all of them.

Check your site's status

To check your site's status and web addresses, open Project settings and go to the Hosting tab. The status is one of the following:

  • Live: the site is published and serving.
  • Publishing: a deploy is in progress.
  • Paused: the site is suspended, for example because your Space ran out of credits.
  • Unpublished: the site is offline.

From this tab, you can also configure build settings and environment variables and connect a custom domain.

Unpublish a site

Unpublishing takes the site offline without affecting your code.

  1. Open Project settings and go to the Hosting tab.
  2. Click Unpublish.
  3. Click Confirm unpublish.

The web address stays reserved for your Project, so you can publish again later at the same URL.

Turn Builder Cloud on or off for a Space

Space admins can turn off Allow Hosting in the Space's Account settings. While it's off, no one in the Space can publish new sites or updates. Sites that are already live stay live until someone unpublishes them, and unpublishing still works.

Was this article helpful?