---
title: Deploy Grist with AI on Blossom
url: "/deploy/grist/"
canonical_url: https://blossom88.com/deploy/grist/
markdown_url: https://blossom88.com/deploy/grist.md
summary: Import a spreadsheet into Grist and share it without exposing private columns.
categories:
- deployment
- productivity
- collaboration
stack:
- TypeScript
- Node.js
- Python
- SQLite
---

# Deploy Grist with AI on Blossom

[Grist](https://www.getgrist.com/) combines spreadsheets, relational data,
and access rules. Share one document with your team and control who can see
sensitive columns.

![A read-only Grist spreadsheet showing the columns shared with a viewer.](/deploy/assets/images/grist/shared-spreadsheet.webp)

![The same Grist spreadsheet with an internal notes column visible to its owner.](/deploy/assets/images/grist/owner-notes.webp)

## Ask Your Agent

> **Ask your AI agent:** Deploy Grist Community on Blossom. Help me import a spreadsheet and share it while keeping one column private.
>
> Follow this guide: https://blossom88.com/deploy/grist/

[Install the Blossom CLI and skill](https://docs.blossom88.com/learn/getting-started/install/) on your agent's machine and [choose a Location in your cloud account](https://docs.blossom88.com/learn/getting-started/choose-your-cloud/#connect-your-provider).

## How It Runs

| Part | Role | Where |
|---|---|---|
| Caddy | Authenticate users and forward their identity | HTTPS with Blossom Account access |
| Grist Community | Edit spreadsheets and calculate Python formulas | Private Persistent Service |
| Volume | Store SQLite documents and access rules | Attached to the Grist Service |

## Deploy Grist

Use the Community image, keep Grist private, and put a trusted
authenticating proxy in front of it.

<details class="optional-reading" markdown="1">
<summary>Commands your agent runs</summary>

    blossom app:create --data app.yml
    blossom environment:create --data environment.yml
    blossom service:create --data proxy.yml
    blossom environment:deploy --id environment-100 --follow
    blossom service:create --data grist.yml
    blossom env_var:push --environment environment-100 --file .env.runtime
    blossom environment:deploy --id environment-100 --follow

</details>

<details class="optional-reading" markdown="1">
<summary>Notes for your agent</summary>

Use the official [Grist Community image](https://github.com/gristlabs/grist-core)
and a [Persistent Service Volume](https://docs.blossom88.com/docs/apps/persistent-services/)
at `/persist`. Grist stores its SQLite documents there and uses the
gVisor sandbox to run Python formulas.

Keep Grist internal and use a trusted authenticating proxy in the same
Environment. This setup uses Caddy with separate owner and viewer
credentials behind Blossom Account access. Set
`GRIST_FORWARD_AUTH_HEADER=X-Grist-Verified-Email` and have Caddy replace
that header with the authenticated email on every request. Grist trusts the
[forwarded identity header](https://support.getgrist.com/install/forwarded-headers/)
from that proxy.

When Blossom generates the public address, deploy the protected proxy
first to get its HTTPS URL. Set Grist's `APP_HOME_URL` to that URL and
point the proxy at the private Grist Service.

</details>

## Import a Spreadsheet

Import a CSV with tasks, estimated units, and an internal notes column.
Add an **Estimate** formula that uses the units from each row.

> **Ask your AI agent:** Import my task spreadsheet into Grist and add a calculated estimate column.

> Follow this guide: https://blossom88.com/deploy/grist/



## Share the Document

Invite a viewer and use an access rule to limit the internal notes column
to the owner. Check both views in separate sessions.

> **Ask your AI agent:** Share this spreadsheet with a viewer and keep the internal notes visible only to me.

> Follow this guide: https://blossom88.com/deploy/grist/



## Keep It Running

The Persistent Service runs one Grist Container. Keep the `/persist`
Volume and the same authentication setup when replacing it. Open both
views again and check the rows, formula and access rule.

> **Ask your AI agent:** Check that the spreadsheet and its access rule still work after restarting Grist.

> Follow this guide: https://blossom88.com/deploy/grist/



## What You Get

- A shared spreadsheet with rules for who can see sensitive columns
- Calculated columns in the same document
- Read-only access to the same document for your viewer
- Persistent storage for documents and access rules

Tested on Blossom: After replacing the Grist Container, the same viewer could see the tasks and calculated estimates. The notes stayed visible only to the owner.
