---
title: Deploy EspoCRM with AI on Blossom
url: "/deploy/espocrm/"
canonical_url: https://blossom88.com/deploy/espocrm/
markdown_url: https://blossom88.com/deploy/espocrm.md
summary: Deploy EspoCRM with AI on Blossom. Track leads, contacts, and follow-up tasks
  in a private CRM.
categories:
- deployment
- business
stack:
- PHP
- JavaScript
- MySQL
---

# Deploy EspoCRM with AI on Blossom

[EspoCRM](https://www.espocrm.com/) is a CRM for tracking leads, contacts,
and what your team needs to do next.

![A sample lead follow-up in EspoCRM.](/deploy/assets/images/espocrm/follow-up.webp)

## Ask Your Agent

> **Ask your AI agent:** Deploy EspoCRM on Blossom and help me track a lead and its next follow-up.
>
> Follow this guide: https://blossom88.com/deploy/espocrm/

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

## Schedule the First Follow-Up

Add a sample lead and create a linked follow-up task. Upload a note in
Documents to keep a copy of what the customer asked for.

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

Use the [official EspoCRM image](https://docs.espocrm.com/administration/docker/installation/)
and link managed MySQL. Use a [Persistent Service](/docs/apps/persistent-services/)
for the writable `data`, `custom`, and `client/custom` folders. Keep the
program files in the image so they can update. Run EspoCRM's job daemon
alongside Apache in the same Container so both can reach the files.

    blossom profile:show
    blossom app:create --data app.yml
    blossom environment:create --data environment.yml
    blossom database_instance:create --data mysql.yml
    blossom environment_link:create --data mysql-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 CRM with contacts and follow-up tasks
- Records in managed MySQL and attachments on a Volume
