---
title: Deploy SuiteCRM with AI on Blossom
url: "/deploy/suitecrm/"
canonical_url: https://blossom88.com/deploy/suitecrm/
markdown_url: https://blossom88.com/deploy/suitecrm.md
summary: Run a private SuiteCRM workspace and turn a sample lead into a contact and
  opportunity.
categories:
- deployment
- crm
stack:
- PHP
- Symfony
- Angular
- MySQL
---

# Deploy SuiteCRM with AI on Blossom

[SuiteCRM](https://suitecrm.com/) is a CRM for teams that need to track
leads and sales opportunities. Try the same workflow your team would use
when a prospect is ready for a sales conversation.

## Ask Your Agent

> **Ask your AI agent:** Deploy SuiteCRM on Blossom with managed MySQL. Help me turn a sample lead into an opportunity.
>
> Follow this guide: https://blossom88.com/deploy/suitecrm/

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

## Have Ready

- **Managed MySQL** (Required): Start with an empty MySQL 8.4 database for the first installation.

## How It Runs

| Part | Role | Where |
|---|---|---|
| SuiteCRM | Serve the CRM and keep its installation settings on a Volume | Blossom Persistent Service |
| MySQL | Store leads, contacts, and opportunities | Blossom Managed Data |

## Deploy SuiteCRM

Build the [SuiteCRM 8 package](https://github.com/SuiteCRM/SuiteCRM-Core/releases/tag/v8.10.2)
with PHP and Apache. Link managed MySQL and enable Blossom Account access
before opening the installer.

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

Use the installable ZIP from the release and build with the tested
[Dockerfile](/deploy/recipes/suitecrm/Dockerfile.launcher),
[Apache configuration](/deploy/recipes/suitecrm/suitecrm-apache.conf),
[installer](/deploy/recipes/suitecrm/setup-suitecrm.php),
[Volume state script](/deploy/recipes/suitecrm/suitecrm-state.sh), and
[entrypoint](/deploy/recipes/suitecrm/suitecrm-entrypoint.sh).
Link managed MySQL 8.4 as `SUITECRM_MYSQL_URL`. Set
`SUITECRM_ADMIN_USERNAME` and `SUITECRM_ADMIN_PASSWORD` as protected
Environment variables. Run the installer once against an empty database.

Run one web Container on port 80 with a 10 GiB Volume at
`/var/lib/suitecrm-state`. The installer uses the generated Service URL.
The state script saves the installer settings on the Volume and restores
them before Apache starts.

See the [SuiteCRM web server setup](https://docs.suitecrm.com/8.x/admin/installation-guide/webserver-setup-guide/)
and [AGPLv3 license](https://github.com/SuiteCRM/SuiteCRM-Core/blob/v8.10.2/LICENSE.txt).

</details>

<details class="optional-reading" markdown="1">
<summary>Get the pinned install package</summary>

Download the SuiteCRM 8.10.2 application ZIP next to the Dockerfile.
Verify its checksum before building the PHP and Apache image.

    curl --fail --location --output SuiteCRM-8.10.2.zip https://github.com/SuiteCRM/SuiteCRM-Core/releases/download/v8.10.2/SuiteCRM-8.10.2.zip
    sha256sum SuiteCRM-8.10.2.zip

The SHA-256 is
`ac4693d10ea2d6cd20b3256098781d134599d88878fb24e8dc127038d624f5a8`.
The Dockerfile checks it again before extracting the archive.

</details>

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

    blossom app_plan:preview --data suitecrm-plan.yml
    blossom database_instance:create --data suitecrm-mysql.yml
    blossom app:create --data suitecrm-app.yml
    blossom environment:create --data suitecrm-environment.yml
    blossom environment_link:create --data suitecrm-mysql-link.yml
    blossom env_var:push --environment environment-100 --file suitecrm.env
    blossom service:create --data suitecrm-web.yml
    blossom environment:deploy --id environment-100 --follow

In Blossom Shell on the web Service, run the installer with the linked
settings and save the generated configuration.

    su -p -s /bin/sh www-data -c "php /opt/suitecrm/bin/blossom-setup.php" &&
      /bin/sh /usr/local/bin/suitecrm-state capture

</details>

## Record a Sales Inquiry

Open Leads and add Avery Harbor at Harbor Workshop as a sample prospect
who asked for a demo.

> **Ask your AI agent:** Add a sample demo inquiry as a lead in SuiteCRM.

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



## Convert the Lead

Open the lead, choose **Convert Lead**, and create its contact and
opportunity. Reopen the converted lead and follow each link.

![Open the opportunity created from a sample lead.](/deploy/assets/images/suitecrm/suitecrm-convert-lead.webp)

> **Ask your AI agent:** Create a sample lead in SuiteCRM and convert it to a contact and opportunity. Show me both records.

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



## Keep It Running

Keep the same MySQL Link and Volume across updates. In a test Environment,
replace the web Container, sign in again, and reopen the lead and both records.

![Reopen the converted lead and its linked records.](/deploy/assets/images/suitecrm/suitecrm-converted-lead.webp)


> **Ask your AI agent:** Replace the SuiteCRM Container and reopen the same converted lead, contact, and opportunity.

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



## What You Get

- A SuiteCRM workspace protected by Blossom Account access
- A sample sales inquiry you can track as a lead
- A converted lead with links to its contact and opportunity
- CRM records and installation settings that survive a redeploy

Tested on Blossom: A fresh sign-in on a replacement Container reopened the same converted lead, contact, and opportunity.
