---
title: Deploy Gotify with AI on Blossom
url: "/deploy/gotify/"
canonical_url: https://blossom88.com/deploy/gotify/
markdown_url: https://blossom88.com/deploy/gotify.md
summary: Give a job its own token and see test notifications arrive in your private
  inbox.
categories:
- deployment
- development
stack:
- Go
- React
- SQLite
---

# Deploy Gotify with AI on Blossom

[Gotify](https://gotify.net/) lets your scripts send notifications to a
shared inbox. Give a job its own app token and see a test message arrive in
your browser.

## Ask Your Agent

> **Ask your AI agent:** Deploy Gotify on Blossom and help me send a test notification from a sample job.
>
> Follow this guide: https://blossom88.com/deploy/gotify/

[Install the Blossom CLI and skill](https://docs.blossom88.com/learn/getting-started/install/) on your agent's machine and choose a Blossom Cloud Location when you log in. You can also use [Blossom BYOC (bring your own cloud)](https://docs.blossom88.com/learn/getting-started/choose-your-cloud/#blossom-byoc).

## How It Runs

| Part | Role | Where |
|---|---|---|
| Gotify | Accept messages and stream them to the browser | Persistent Service with Blossom Account access |
| SQLite and app data | Keep messages and application settings | Service Volume |

## Deploy Gotify

Keep the inbox private and start with a unique administrator password.
Give Gotify a Volume for its message history and app settings.

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

Use the [official Gotify image](https://gotify.net/docs/install) on one
Persistent Service. Mount `/app/data`, route port `80`, and check `/health`.
Set `GOTIFY_DEFAULTUSER_PASS` from a private runtime secret before the first
boot and leave open registration disabled. Keep issuer credentials and app
tokens out of URLs, logs, and screenshots. Use a gated browser session for
the inbox or an authorized private route for machine clients.

</details>

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

    blossom app_plan:preview --data gotify-plan.yml
    blossom service:create --data gotify-service.yml
    blossom environment:deploy --id environment-100 --follow

</details>

## Send a Test Notification

Open the inbox. Create an application called **Workshop export** and
save its token securely when Gotify shows it. Send a test message with
the token in the `X-Gotify-Key` header. The browser should show
**Workshop report ready**.

![See the job notification arrive in Gotify.](/deploy/assets/images/gotify/first-gotify-notice.webp)

> **Ask your AI agent:** Send a sample workshop report notification and help me find it in the Gotify inbox.

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



## Check the Inbox After an Update

Replace the Gotify Container. Reopen the inbox, check that the first
message is there, and use the same app token to send another one.

![Reopen the inbox and check both messages.](/deploy/assets/images/gotify/gotify-inbox-after-replacement.webp)


> **Ask your AI agent:** Replace the Gotify Container and help me verify the message history and app token still work.

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



## What You Get

- A private inbox for job notifications
- An app token for sending messages
- A notification history you can reopen after an update

Tested on Blossom: Gotify kept the first message and accepted a follow-up with the same token after Container replacement.
