> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usehenry.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Apps

> Internal web apps Henry builds on request, each with its own database and sign-in, on a preview address first and live when you approve.

An **App** is a small web application Henry builds for your workspace: a lead tracker, a renewals board, an approvals queue. Each one has its own database, its own sign-in, and its own address. Every build lands on a preview address first. Nothing reaches production until the App's manager or a workspace admin says so.

Rule of thumb: a Doc when people read it, an App when people type into it.

## Ask for one

Ask in chat, the way you would ask a teammate: "build me a lead tracker for the sales team". Say what it tracks, who uses it, and where the data comes from. Henry replies with a short "Here's what you'll get" list and when to expect it, then starts the build on its own machine. A build takes minutes.

A workspace runs two builds at a time. A third waits in a queue, and Henry's reply says where it sits.

To change an App, ask the same way: "add a notes field to the lead tracker". Edits are builds too. They land on preview first, never on production. Changing an App's code needs write access to it (see [Who can do what](#who-can-do-what)).

> [!TIP]
>
> If the App should work on phones, say so in the ask. Henry builds it phone-first and adds the install steps to its reply.

## What happens during a build

While the build runs, a progress row sits under Henry's reply and counts up. In Slack and Microsoft Teams the same row is a thread reply that Henry updates in place. Open the row to see the steps in plain words:

* **Getting the machine ready**
* **Setting up the backend**
* **Checking the code**
* **Writing the screens**
* **Running the tests**
* **Taking screenshots**
* **Publishing the preview**

Henry writes the database schema and server code first, then the screens, then runs the checks and tests until they pass. It takes screenshots, reads them, fixes what looks wrong, and looks again. A build is never published before its tests pass.

When the preview is ready, Henry's reply becomes one message: what the App does, who can open it and how they sign in, the preview link, and the screenshots inline (the home view on a desktop, on a phone, and the main action). It ends with "Say when to make it live." The screenshots and the preview use made-up data.

A build's status reads **Queued**, **Building**, **Testing**, **Publishing**, **Preview ready**, **Failed**, **Stopped** or **Paused for credits**. Each build has its own page with the milestones, the screenshots, what it cost in credits (split between the thinking and the machine), and **Show technical details** for the full log.

## Preview and production

Every App has two addresses on `usehenry.app`:

| Environment | Address | What runs there |
| - | - | - |
| **Preview** | `https://preview-<name>-<workspace>.usehenry.app` | The newest build. Every change lands here first. Its data is made up. |
| **Production** | `https://<name>-<workspace>.usehenry.app` | The build you deployed. Real data lives here. |

The two environments have separate databases. A build on preview never touches production's data.

## Deploy to production

Tell Henry "make it live" or "deploy the lead tracker", or open the App's page and press **Deploy to production** on the **Preview** card. Only the App's manager or a workspace admin can deploy.

The first production deploy of an App stages a confirmation card, **Deploy \<App> to production**, and nothing happens until you confirm it. Later deploys start at once. Henry says "I'll say when it's live" and posts a line in the same conversation when it is, with the production address and who can open it. See [Approvals](https://docs.usehenry.ai/user-guide/working-with-henry/approvals.md) for how cards work.

If a build's code calls one of your integrations for the first time, the deploy card also names exactly which integration tools it may use, and you approve those with the same click.

> [!NOTE]
>
> Preview only ever holds made-up data. If you want your own data in the live App (a sheet, a CSV, another system), say so when you deploy: "make it live and load the sheet". One card then covers the deploy and the load.

## Builds and rollback

Every build is numbered. The App's page shows the build on production and the build on preview, each with when it finished or was deployed.

To go back, say "roll back the lead tracker" or "go back to build 5", or press **Roll back to build N** on the **Production** card. The confirmation reads "Production's data is never touched", and that is the rule: a rollback changes the code production runs, not the rows in its database. Rolling back needs the same permission as deploying.

## The App's page

Open an App from the Library to reach its page. The header shows the title, a status chip (**Building**, **Preview ready**, **Live** or **Not built yet**) and who manages it. Four tabs:

| Tab | What is there |
| - | - |
| **Overview** | A picture of the App, the **Production** and **Preview** cards with an **Open** button each, the status, the manager and the credits spent to date. |
| **Database** | The App's tables and their rows. |
| **Access** | Who can open the App, the people on its list, roles, and **Sign everyone out**. |
| **Settings** | Name, description, address, link preview, favicon, search engines, custom domains, integrations, the manager, and deletion. |

## The database

Each App stores its data in tables of its own. On the **Database** tab, pick a table on the left to see its rows. Filter on a text field, page through with **Next**, and switch between **Preview** and **Production** data. The browser is read-only, and you see what your role in the App allows.

The App's manager and workspace admins see the full database dashboard on this tab on a desktop. Everyone else, and every phone, gets the table browser.

To change data, ask Henry: "add Northwind to the renewals tracker", "mark every lead from last week as contacted", "delete the test rows". See [Henry works in your Apps](#henry-works-in-your-apps).

## Who can open it

The **Access** tab has three cards. Choose one for **Production** and one for **Preview**; the two are set separately.

| Card | Who gets in |
| - | - |
| **Workspace members** | Every member of this workspace, signed in with Henry. |
| **Specific people** | Members and outsiders you name. Members sign in with Henry. Outsiders get a six-digit code by email, no Henry account needed. |
| **Public** | Anyone with the address, no sign-in. This workspace pays for its visitors. |

Under **Specific people**, add an email address and press **Add**. The list is shared by both environments. Removing someone ends their sign-in within a minute. A code works for ten minutes and allows three tries; one address can ask for five codes an hour.

Under **Public**, two daily limits protect your credits: **Anonymous sessions a day** (1,000 by default) and **Integration calls a day** (500 by default). Change them and press **Save limits**. Past the limit, visitors see "This App is over its daily limit" until the next day.

Access is enforced at the edge and in every server call. To end every session at once, press **Sign everyone out** under **Active sessions**. Every signed-in session ends within a minute, people sign in again on their next visit, and nobody's access changes.

From chat: "make it public", "only the team", "share the tracker with [jane@client.com](mailto:jane@client.com)", "take jane off the list", "allow 5,000 visitors a day".

## Who can do what

Three kinds of control, kept apart:

* **The access manager** owns the App's settings: who can open it, the list, roles, code access, the address, domains, deploys, rollbacks and deletion. The person who asked for the App manages it at first. Workspace owners and admins can do everything the manager can. Hand an App to someone else under **Settings**, **Access manager**, or ask Henry: "hand the lead tracker to Priya".
* **Code access**, on the **Access** tab. **write** may ask Henry for changes; **read** sees the code, the builds and the log. On a **Workspace members** App every member can read without being listed.
* **Data roles**, also on the **Access** tab. **viewer** sees data, **editor** adds and changes, **admin** also deletes and manages people. Roles are checked on the server for every action, and a change lands in the App at once. Ask Henry: "make Matt an editor", "make Priya an admin of the tracker".

## Henry works in your Apps

Once an App is live, Henry can read and change its data from a chat, from Slack or Teams, or from a [scheduled task](https://docs.usehenry.ai/user-guide/tasks/overview.md). "How many leads came in this week?", "add Northwind, renews Jan 28, \$57,600", "every Monday, mark renewals due in 30 days as At risk".

Henry acts as you, with your role in the App, so a viewer cannot make Henry add a row. Writes go through the same approval cards as every other write Henry makes. Henry can list and read rows, add, change and delete one row, and import, update or delete up to 200 rows in one call, which counts as one approval. Rows Henry writes go straight into the table and are stamped with who added them and when.

## The address and custom domains

The free address is `<name>-<workspace>.usehenry.app`. The name part is 3 to 24 lowercase letters, digits and hyphens. Change it under **Settings**, **App URL**, or ask Henry: "rename the lead tracker to leads". The old address redirects to the new one, and anyone signed in signs in again once, because sign-in is tied to the address.

To put your own domain in front of the production address:

**1. Add the domain**

Under **Settings**, **Custom domains**, type the domain (for example `portal.example.com`) and press **Add domain**. Or ask Henry: "put the lead tracker on portal.example.com". If you are not sure what to call it, ask "what domain should the tracker have?" and Henry proposes names from your company website.

**2. Set the DNS record**

Henry tells you the one record to add at your DNS provider: a CNAME for a subdomain, or an A record for a bare domain. The domain shows **Waiting for DNS** until the record is in place.

**3. Wait for Live**

It usually takes a few minutes once the record is in place. The domain shows **Live**, and Henry says so in the chat where you asked. The Henry address keeps working either way.

Press **Remove** next to a domain to take it off. The App keeps answering at its free address. You cannot add a domain under `usehenry.app` or another address Henry owns.

The rest of **Settings**:

* **Name and description.** The name is the page title. The description (up to 300 characters) is what search results and link previews show.
* **Link preview.** What Slack, Teams and social cards show for a pasted link. Made from the App's name and your brand colours unless you upload one (1200 by 630 works best, up to 2 MB).
* **Favicon.** The icon in the browser tab and on a phone's home screen. Made from the brand logo unless you upload one (up to 256 KB).
* **Search engines.** Lets search engines index the production address. It only takes effect once access is **Public**; preview is never indexed.
* **Integrations.** Which integration tools the App's own code may call, acting as the person who deployed it. Reads run; every write shows them a confirm card first. **Revoke integration access** stops the calls at once.
* **Danger zone.** **Delete this App** hides it at once for everyone and purges it, with its data, 30 days later. From chat: "delete the lead tracker".

## Install on a phone

An App works in any browser and installs on a phone like a native app.

* On an iPhone, open it in Safari, tap Share, then Add to Home Screen.
* On Android, open it in Chrome, tap the menu, then Add to Home screen.

It opens full screen with its own icon and picks up each new build the next time you open it.

## Where Apps appear

Apps live in your **Library** in the web app, beside Docs and slide decks. Filter by type **Apps**, or switch between **All**, **Yours** (Apps you manage or may change) and **Shared with you**. Each card shows the latest desktop screenshot, the title, the status, the manager and when you last opened it. File an App into a Library folder from the Library, or at creation: "build me a lead tracker and put it in the Sales folder". The list shows the 200 Apps you opened most recently. See [Library](https://docs.usehenry.ai/user-guide/library/overview.md).

An App built in a [project](https://docs.usehenry.ai/user-guide/projects/overview.md) chat belongs to that project and appears under **Apps** in the project's **Library** tab. It starts with the project's access: **Workspace members** for a project everyone in the workspace can see, **Specific people** otherwise. Add an App to a project later from its card menu with **Add to project…**.

## Other things to ask

* "What does the lead tracker cost?" Henry lists the credits for building, hosting and the App's own calls, over the last 30 days by default.
* "Send me the code." Henry puts a zip of the App's source in the chat, with a README on running it elsewhere. Web app only, and it needs write access to the App.

## Limits

| What | Limit |
| - | - |
| Builds running at once | 2 per workspace; more wait in a queue |
| App name | 80 characters |
| Address name | 3 to 24 characters |
| Description | 300 characters |
| Rows Henry changes in one call | 200 |
| Public App, by default | 1,000 anonymous sessions and 500 integration calls a day, each adjustable up to 1,000,000 |
| Email code | Valid ten minutes, three tries, five codes an hour per address |
| Sign-in to an App | Lasts seven days |
| Packaged build | 100 MB |
| Favicon and link preview uploads | 256 KB and 2 MB |
| Apps shown in the Library | The 200 you opened most recently |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.