---
title: Deploy Memos with AI on Blossom
url: "/deploy/memos/"
canonical_url: https://blossom88.com/deploy/memos/
markdown_url: https://blossom88.com/deploy/memos.md
summary: Deploy Memos with AI on Blossom. Save private notes and attachments with
  managed PostgreSQL.
categories:
- deployment
- notes
stack:
- Go
- React
- PostgreSQL
---

# Deploy Memos with AI on Blossom

[Memos](https://www.usememos.com/) is a lightweight notebook for quick
Markdown notes. Use tags to find what you wrote and add files that give
a note more context.

![A private Memos note with its rollout checklist attached.](/deploy/assets/images/memos/note.webp)

## Ask Your Agent

> **Ask your AI agent:** Deploy Memos on Blossom and help me save a private note with an attachment.
>
> Follow this guide: https://blossom88.com/deploy/memos/

[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).

## Save a Private Note

Create the first administrator behind Blossom Account access. In Memos
settings, choose **Database** under **Storage** before uploading files.
Save a private note and open its attachment again after a deploy.

<details class="optional-reading" markdown="1">
<summary>Deployment setup and commands</summary>

The self-hosted Memos release uses the
[MIT license](https://github.com/usememos/memos/blob/main/LICENSE).

Use the [official Memos image](https://github.com/usememos/memos/releases)
on App Capacity. Link managed PostgreSQL as `DATABASE_URL`. Set
`MEMOS_DRIVER=postgres` and pass the linked URL to Memos as `MEMOS_DSN`
when the Service starts. For Blossom's private database link, set
`PGSSLMODE=disable`. Use database storage for attachments.

    blossom profile:show
    blossom app:create --data app.yml
    blossom environment:create --data environment.yml
    blossom database_instance:create --data postgres.yml
    blossom environment_link:create --data postgres-link.yml
    blossom service:create --data service.yml
    blossom env_var:push --environment environment-100 --file .env.production
    blossom environment:deploy --id environment-100 --follow

</details>

## What You Get

- A private HTTPS notebook
- Notes and database-stored attachments in managed PostgreSQL
- Data that stays with the notebook across Container updates
