# Publish your app's website

> Keep your app's websites in the Website tab, open and check them in AirBuild, point your Agents at what to change, and get the Support and Privacy pages App Review asks for.

Source: https://air.build/docs/services/publish-a-website/

A Project can have websites: a landing page, the Support and Privacy pages App Review asks for, a site that came with an imported app, or a docs page hosted anywhere. The Project's **Website** tab lists them all, and opens them in a browser inside AirBuild. Your Agents build and deploy the sites and add them to the list; you can add, edit and reorder them too.

## Open the Website tab

**iPhone**

Open the Project's chat and tap the tabs button (four squares) in the top-right corner. In the list under the tab cards, tap **Website**.

**Mac**

Open the Project's chat and choose **View › Go To › Website**. You can also open the inspector (**View › Show Inspector**, ⌥⌘I), click **New Tab** (**+**) and click **Website**.

You can have several Website tabs open at once, each on its own page, like browser tabs.

## Get a website built

If the Project has no sites yet, the tab says **No Websites Yet**: "Ask the agents in the project chat to find or build the project's website. Every site they record appears here."

Ask in the Project's chat, for example "Build a landing page for the app". If your Team has the **Web Developer** Agent, that's its job: it builds and deploys the product's websites, including the Support and Privacy pages. See [Add an Agent to your Team](https://air.build/docs/team/add-an-agent/).

Sites your Agents deploy with AirHost also show up as services in the **Hosting** tab. See [Host your app's backend, database and sign-in (AirHost)](https://air.build/docs/services/host-a-backend/).

## Get Support and Privacy pages for App Review

The App Store page needs a **Privacy Policy URL** for a new app, and has a **Support URL** field.

1. Ask your Agents in the Project's chat to make the app's Support and Privacy pages.
2. When they're done, the pages appear under **Websites** in the **Website** tab. Open each one to check it.
3. Put the addresses in **Support URL** and **Privacy Policy URL** on the store page. To copy an address, touch and hold the site's row (on the Mac, right-click it) and choose **Copy Address**. See [Prepare your App Store page](https://air.build/docs/app-store/prepare-your-store-page/).

## The website list

The tab's start page has up to two sections:

| Section | What's in it |
| --- | --- |
| **Websites** | The Project's sites, in order, each with its icon and address. |
| **Development Servers** | Servers your Agents are running while they work, one row per port. They come and go with the Agents' work. |

Tap a site to open it. AirBuild reads each site's icon and color from the page itself.

Touch and hold a site's row (on the Mac, right-click it) for:

| Command | What it does |
| --- | --- |
| **Open in Browser** | Opens the site in your usual browser. |
| **Copy Address** | Copies the address. |
| **Edit…** | Change the **Title** and **Address**. |
| **Move Up**, **Move Down** | Reorder the list. |
| **Delete Website** | Takes the site off the list. "The site stays online. It only leaves this list." |

Anyone in the Team can change the list. Your Agents keep the same list, so what they add appears here and what you change, they see.

### Add a site yourself

1. Tap **Add Website…** at the end of the list (or on the **No Websites Yet** page).
2. In **New Website**, type a **Title** and the **Address**.
3. Tap **Add**.

To edit a site later, choose **Edit…**. The **Edit Website** sheet also has **Delete Website**: the trash at the bottom left on iPhone and iPad, the button at the bottom left on the Mac. It asks first: "The site stays online. It only leaves this list."

## Browse a site

When a site is open, the tab works like a small browser. Tap the address to type another one (**Enter a URL**). Use **Back** to go back through the site's pages and then to the list.

**iPhone**

The row at the bottom has **Back**, the page's name and icon (tap it to type another address), **Reload** at its end (**Stop** while a page loads), and a round **Select Element** button next to the tabs button. The **More** menu (**⋯**) at the top right has **Websites** (back to the list), **Forward**, **Open in Browser**, **Copy Address**, **Share** and **Page Zoom** (**Zoom Out**, **Zoom In**).

On iPad, the bar under the page has a button back to the list, **Back**, the address, **Select Element**, **Reload** (**Stop** while a page loads) and a **More** menu (**⋯**) with **Forward**, **Page Zoom**, **Open in Browser**, **Share** and **Copy Address**. In a narrow pane, **Select Element** and **Reload** move into the menu too. In a narrow iPad window, the tab is laid out as on iPhone.

**Mac**

The row above the page has a button back to the list, **Back**, **Forward**, the address, **Reload** (**Stop** while a page loads), **Select Element**, **Share** and **Open in Browser**. Zoom with **View › Zoom In**, **Zoom Out** and **Reset to Actual Size** (⌘+, ⌘−, ⌘0) while you're in the page. While the zoom isn't 100%, it's shown beside the address; click it to reset.

## Show your Agents what to change

**Select Element** lets you point at a part of the page, such as a button, heading or image, and tell your Agents what to change. Choose **Select Element**, tap (on the Mac, click) the part, type what should change and send it. Your Agents get your words with a screenshot of that part. To stop selecting, choose **Select Element** again, or press Esc on the Mac.

For the details, see [Change your website by pointing at it](https://air.build/docs/services/edit-your-website/).

## Questions

**I deleted a site from the list. Is it gone?**

No. "The site stays online. It only leaves this list." To take a site offline, ask your Agents. For a site on AirHost, you can also remove its service in **Hosting**.

**Why is Add or Save dimmed?**

The sheet needs a title and an address it can open. When you edit, it also needs a change.

**A site shows no icon**

AirBuild reads the icon from the page. If the page doesn't offer one it can use, the row has none. Ask your Agents to add one to the site.

**How do my Agents keep the list?**

With the `website` command. See [website](https://air.build/docs/cli/website/).
