---
title: Deploy Frappe CRM with AI on Blossom
url: "/deploy/frappe-crm/"
canonical_url: https://blossom88.com/deploy/frappe-crm/
markdown_url: https://blossom88.com/deploy/frappe-crm.md
summary: Capture a lead, turn it into a deal, and track it in your sales pipeline.
categories:
- deployment
- crm
stack:
- Python
- Frappe Framework
- Vue
- MariaDB
- Redis
---

# Deploy Frappe CRM with AI on Blossom

[Frappe CRM](https://frappe.io/crm) brings contacts, leads, and deals into
one sales workspace. Use it to see where each conversation stands and move
deals through your pipeline.

## Ask Your Agent

> **Ask your AI agent:** Deploy Frappe CRM on Blossom. Help me turn a sample lead into a deal and move it through the pipeline.
>
> Follow this guide: https://blossom88.com/deploy/frappe-crm/

[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 |
|---|---|---|
| Frappe CRM | Open the CRM and run its background tasks | Blossom Persistent Service |
| MariaDB | Store leads, deals, and site records | Blossom Managed Data |
| Redis | Handle queues, cache, and realtime messages | Blossom Managed Data |

## Deploy Frappe CRM

Deploy Frappe CRM with managed MariaDB and Redis. Keep Blossom Account
access enabled while you sign in as Administrator and set up the workspace.
You can skip email and data imports while trying the sample workflow.

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

Use the official Frappe CRM image with HTTP on port 8080. The tested build
used Frappe CRM 16.5.0. Mount a Volume at `/home/frappe/frappe-bench/sites`.
Use a private MariaDB instance with matching database and login names. The
[startup wrapper](/deploy/recipes/frappe-crm/launcher-start.sh) installs
`crm` on the empty schema with that database user and saves the site
configuration and encryption key on the Volume.

The single-container recipe starts the web processes, queue workers, and
scheduler together. Allow several minutes for the empty site's first
startup and probe `/login` for readiness. Keep one writer for the sites
Volume. Open `/crm` after setup. [Frappe CRM project](https://github.com/frappe/crm).

</details>

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

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

</details>

## Move a Deal Through the Pipeline

Create a sample lead and open it. Choose **Convert to Deal**, then move
the new deal to **Negotiation**. Open **Deals** to see its current stage.

![Open the converted deal at Negotiation.](/deploy/assets/images/frappe-crm/frappe-crm-deal.webp)

> **Ask your AI agent:** Create a sample lead, convert it to a deal, and move it to Negotiation.

> Follow this guide: https://blossom88.com/deploy/frappe-crm/



## Reopen the Deal on a New Container

Replace the Container while keeping the same database, Redis connection,
and sites Volume. Sign in again and confirm the deal still appears in Negotiation.

![Find the same deal in the pipeline after Container replacement.](/deploy/assets/images/frappe-crm/frappe-crm-pipeline.webp)


> **Ask your AI agent:** Replace the Frappe CRM Container and check that the same deal is still in Negotiation.

> Follow this guide: https://blossom88.com/deploy/frappe-crm/



## What You Get

- A CRM workspace for your team to track leads and deals
- A sample lead converted to a deal in your pipeline
- Site files and pipeline records that survive a Container replacement

Tested on Blossom: The lead converted to a deal and stayed in Negotiation after a new CRM Container opened the same site.
