---
title: Deploy Firefly III with AI on Blossom
url: "/deploy/firefly-iii/"
canonical_url: https://blossom88.com/deploy/firefly-iii/
markdown_url: https://blossom88.com/deploy/firefly-iii.md
summary: Import sample expenses from a CSV and review the total in your budget.
categories:
- deployment
- finance
stack:
- PHP
- Laravel
- MariaDB
---

# Deploy Firefly III with AI on Blossom

[Firefly III](https://www.firefly-iii.org/) tracks personal accounts,
expenses, and budgets. Its Data Importer can turn a bank export or a
sample CSV into transactions.

## Ask Your Agent

> **Ask your AI agent:** Deploy Firefly III on Blossom with its Data Importer. Help me import some sample expenses and see them in a budget.
>
> Follow this guide: https://blossom88.com/deploy/firefly-iii/

[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 |
|---|---|---|
| Firefly III | Manage accounts, expenses, and budgets | Persistent Service behind Blossom Account access |
| MariaDB | Store financial records and reports | Blossom Managed Data |
| Data Importer | Turn CSV rows into Firefly III transactions | App Capacity behind Blossom Account access |

## Deploy Firefly III and the Data Importer

Use the project's [official Container images](https://github.com/firefly-iii/docker).
Link managed MariaDB and keep both dashboards behind Blossom Account
access. Create a personal access token in Firefly III for the Data
Importer.

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

    blossom database_instance:create --data mariadb.yml --follow
    blossom environment_link:create --data mariadb-link.yml
    blossom service:create --data firefly.yml
    blossom environment:deploy --id environment-100 --follow
    blossom service:create --data firefly-importer.yml
    blossom environment:deploy --id environment-100 --follow

</details>

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

Set `APP_URL` from each Service's HTTPS address. Configure trusted
proxies on both Services so browser links and form actions use HTTPS.
Keep Firefly III's app and Passport signing keys stable. Map the linked MariaDB URL to
the database settings for Laravel. Mount a
[Persistent Service Volume](/docs/apps/persistent-services/) at
`/var/www/html/storage/upload` for attachments.

Set `FIREFLY_III_URL` to Firefly III's private Service address and
`VANITY_URL` to its browser address. Put the token in
`FIREFLY_III_ACCESS_TOKEN`. The
[Data Importer configuration](https://github.com/firefly-iii/docs/blob/main/docs/docs/how-to/data-importer/how-to-configure.md)
explains these settings.

</details>

## Import Sample Expenses

Create a sample checking account. Upload a CSV with dates,
descriptions, and signed amounts. Map those columns in the Data
Importer, convert the file, and submit it.

> **Ask your AI agent:** Create a sample checking account. Import two expenses from a CSV and show me both transactions in Firefly III.

> Follow this guide: https://blossom88.com/deploy/firefly-iii/



![See the finished CSV import for Workshop Checking.](/deploy/assets/images/firefly-iii/import-complete.webp)

## Check a Budget Report

Group the two expenses in a sample budget and open its report. After
a Container replacement, sign in again and open the same report.

> **Ask your AI agent:** Group the sample expenses in a budget and show me the report after replacing the Firefly III Container.

> Follow this guide: https://blossom88.com/deploy/firefly-iii/



![Reopen the Workshop supplies budget after Container replacement.](/deploy/assets/images/firefly-iii/budget-report.webp)

## What You Get

A private Firefly III dashboard, a working CSV importer, and a sample
budget you can use to check the setup.

## What You Get

- A private finance dashboard and separate Data Importer
- Two sample CSV expenses in a checking account
- A budget report that shows both expenses

Tested on Blossom: The same two imported expenses and their budget remained available after Container replacement.
