---
title: "Build apps"
description: "An app in a team or personal space does whatever you need: a pipeline board, a dashboard, an intake form, a tracker, a calculator or a small website. Your agent builds it for you. It reads and changes the tables where it lives as people use it, and you can publish it to people who can't open the rest, so they see only what the app shows."
canonical: "https://comment.io/docs/apps"
last-updated: 2026-10-23
---

# Build apps

An app in a team or personal space does whatever you need: a pipeline board, a dashboard, an intake form, a tracker, a calculator or a small website. Your agent builds it for you. It reads and changes the tables where it lives as people use it, and you can publish it to people who can't open the rest, so they see only what the app shows.

## An app can be anything

An app is a web page, made of HTML, CSS and JavaScript, so it can look and work however you want. An app can:

- Show its team's or personal space's tables as a board, a chart, a map or a table of its own, and update by itself when anyone, person or agent, changes an item.
- Change items as you use it: tick off a task, move a deal to its next stage, or add an item from a form.
- Show the images and files your items name.
- Let people upload files into its team or personal space.
- Follow your Light or Dark setting.

To bring in a website you already have, select **Home**, choose a team or **My Space**, then select **New** beside **Docs**, then **Upload files**. Choose its .zip and select **Expand**. Its pages become apps.

## Create an app

1. Select **Home** at the top left, choose the team's tab, then select **New app** under **Apps**. On **All**, the app goes in My Space.
2. In **New app**, give it a name, such as Pipeline. Keep the drawn icon or select **Change icon** to choose another drawing or **Upload a picture**. You can add a short description of what it's for. Then select **Create app**.
3. An empty app opens. Tell your agent what you want it to do, and it builds the app there. If your workspace has Doc, Doc opens and asks what you need.

You can also just ask your agent, for example: "In Sales, build an app that shows every open deal by stage and lets me move a deal to its next stage."

**Apps**, on your home, shows the apps in every team you're in and in My Space, then the apps published for you. Choose a team's tab to see only its apps. To rename, move or delete an app, point at its card and open its menu , then select **Rename**, **Move** or **Delete**. A new name saves when you press Enter or click away; press Esc to keep the old name. You need to be able to edit a team or My Space to add, rename, move or delete its apps.

## Describe an app

On a team's tab of Home, an app's description shows under its name; on **All**, which shows its team there, rest the pointer on its card to read it, as you do when a long description is cut off. Give it one when you create the app, in **New app**, or later: point at its card and open its menu , then select **Edit description**, and type what the app is for. It saves when you press Enter or click away; press Esc to keep the old one. A description is one line of up to 200 characters; empty it to remove it. If someone else changed it while you were typing, you see theirs instead; edit it again to replace it. You need to be able to edit the app's team or My Space to describe it.

## Change an app's icon

Point at the app's card on Home, open its menu and select **Change icon**. Choose a drawing, **Default** (a drawing that matches the app's name, when a word in it has one), or **Upload a picture** to use your own; a picture is cropped to a square. Your choice saves at once. Drawings are **Multicolor** to start, each in its own color; to draw them all in one color, choose the color above the drawings first, then the drawing. You need to be able to edit the app's team or My Space to change its icon.

## Who can use an app

Everyone who can open a team or personal space can open its apps. An app works as the person using it: it shows each person only the items they can see, and changes items only for people who can edit there.

If an owner turned on **Ask before apps change items** in **Settings**, then **General**, under **Apps**, the first time an app tries to change items for you it asks **Allow NAME to create and change items as you?** Select **Allow**, then try again.

## Share an app

If **Publish changes to apps immediately** is off and you can edit the app, use [Publish an app](#publish-an-app) instead. Apps in the team everyone is in still use **Share**.

1. Open the app and select **Share** at the top right.
2. If **Approve** appears, check **What can this app see?** and select **Approve**. Only an Editor of the app's team can approve it.
3. Enter a name or email address, keep **Can view** and select **Share**. Someone who isn't in the workspace yet is invited to it.
4. To let everyone in the workspace use it, set **General access** to **Can view**. **Restricted** keeps it to the people added.

Giving **Can comment** or **Can edit** adds the person to the app's team at that level. Apps in My Space can only be shared to view. To take someone's access away, open the menu beside their name and select **Stop sharing**.

## Publish an app

If your workspace doesn't share single files, or **Publish changes to apps immediately** is off, apps are published instead. Publish an app to let people use it without opening its team or personal space, such as an app in a restricted team or in My Space. They see the app, and nothing else where it lives. Apps in the team everyone is in, which has your workspace's name, are already open to everyone, so they have no **Publish** button.

1. Open the app and select **Publish** at the top right.
2. Keep **Everyone in** your workspace, or set it to **No access** and add people by name or email. Someone who isn't in the workspace yet is invited to it.
3. Select **Publish**.

The button then says **Published**. Select it to change who can use the app, to **Copy link** to it, or to **Unpublish** it.

If something in the app stops it from being published, the panel says what. If your workspace has Doc, select **Fix it for me**. Otherwise select **Copy prompt** and send it to your agent.

Only someone who can edit the app's team or personal space can publish it. In **Settings**, **Published apps** lists the published apps you can manage, with who can use each one.

## What a published app shares

An app asks the tables in its team or personal space fixed questions, called queries, written in the app. When you publish an app, you approve its queries. The people you publish it to can read, but not change:

- The app itself.
- Every item its queries can return, and the files attached to those items.
- Totals: a query that counts or adds up items gives them the total, not the items behind it.

They don't see comments, history or anything else in the team or personal space. A query can ask who is using the app, so it can show each person only their own items. If the app has a search box, people can read every item a search could find, not only the ones on screen. To check what an app shares before you approve it, select **What can this app see?** in **Share**, or **What data is being published?** at the bottom of the **Publish** panel.

An app reads the tables of only its own team or personal space and the team everyone is in. If your workspace has connectors, an app can read from them too: each person connects their own account and reads what that account can. Connect yours in **Settings**, under **My Connectors**. Workspace owners add connectors and choose the tools apps may use under **Connectors Settings**.

## When Doc or your agent suggests a connector

Doc or your own agent can suggest a connector by showing you a link or a **Review** button. Opening it shows the connector's website and what adding it means; nothing is added until someone chooses to.

- **If you're not an owner,** select **Ask an owner**. Your request waits in **My Connectors** until an owner answers; open its menu to withdraw it.
- **If you're an owner,** a number next to **Settings** in your account menu shows open requests. In **Connectors Settings**, open the **Asked by** menu next to one to review or dismiss it. Select **Add** to add the connector, then connect your account to see its tools. Tools that can only read are picked for you; tools that can change information can't be picked.

Doc can't use a suggested connector until an owner selects **Let Doc use** on its page. From then on, the connector sees what Doc asks it, and anything Doc writes into a shared document is seen by that document's readers.

## Keep a published app up to date

People always see the items an app shows as they are now. With **Publish changes to apps immediately** on, changes to the app itself reach them too, shortly after you make them. It's on unless an owner turns it off in **Settings**, then **General**, under **Apps**. With it off, people keep the app and queries as you last published them. When you've changed it, the button at the top right says **Publish changes**; select it, then **Publish**. Once people have the latest version it says **Published**.

Even with it on, a change to the app's queries waits for approval when it stops the app from being published, or when the person who published the app can no longer edit its team or personal space.

## Use an app published for you

Select **Home**, choose **All**, then select the app marked **Shared with me**, or open the link someone sent you. Select a link to an item in the app to read the item, and **Back to the app** to return.

## What your agents see

Agents work with your workspace as plain files, and with apps too:

- An app is an HTML file in its team's or personal space's `apps` folder, for example `sales/apps/pipeline.html`. Your agent reads and edits it like any other file. Comment.io may refuse an edit that copies what a connector returned into an app, because everyone who opens the app would see that copy. Ask your agent to read the data live instead, so each viewer sees their own. If you want a fixed copy, first make sure everyone who can open the app should see it, then tell your agent to keep the copy.
- Each table's Table Definition is a Markdown file in its team's or personal space's `definitions` folder, for example `sales/definitions/deal.md`.
- Each item is a Markdown file in its table's folder, for example `sales/things/deal/acme.md`, with its properties at the top. Your agent reads items with its usual tools, and asks questions across a table in SQL with `thing-query`, as an app does:

  ```sql
  SELECT name, stage, owner.name FROM Deal WHERE stage = 'lead' ORDER BY name
  ```

- An app's queries are written in its HTML file, each with a name, in a `<script type="application/commentio-queries">` block. The app runs them with `commentio.app.query`, or `commentio.app.watch` to keep the results up to date. These named queries are what you approve when you publish the app.

- An app published for you from a team or personal space you can't open appears to your agent as a read-only folder, `apps/APP`, laid out like the team or personal space. It holds only what the app shares with you: the app itself, the items it can return and their files. Your agent can search that folder and run the app's queries by name with `app-query`.
- If you can edit a team or personal space, your agent can list its published apps with `app-list`, and check what an app would share with `app-review` before you publish it. Publishing, choosing who can use an app and unpublishing it are yours to do in the browser.

Agents can see and do only what you can. Their own guide to these commands is [Run workspace commands](https://comment.io/llms/commands.md).
