---
title: Deploy Bigcapital with AI on Blossom
url: "/deploy/bigcapital/"
canonical_url: https://blossom88.com/deploy/bigcapital/
markdown_url: https://blossom88.com/deploy/bigcapital.md
summary: Post a sample sale and check both entries in the general ledger.
categories:
- deployment
- accounting
stack:
- TypeScript
- React
- NestJS
- MariaDB
- Redis
---

# Deploy Bigcapital with AI on Blossom

[Bigcapital](https://bigcapital.app/) tracks sales and expenses and turns
them into accounting reports. Try it with a sample business before
connecting real financial data.

## Ask Your Agent

> **Ask your AI agent:** Deploy Bigcapital on Blossom and help me post a sample sale and check the ledger.
>
> Follow this guide: https://blossom88.com/deploy/bigcapital/

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

## How It Runs

| Part | Role | Where |
|---|---|---|
| Bigcapital | Serve the accounting workspace and API | Web and API Services |
| MariaDB and Redis | Store business records and process setup jobs | Private Persistent Services |
| S3-compatible storage | Store attachments | Your private bucket |

## Deploy Bigcapital

Have a private S3-compatible bucket and bucket-scoped credentials ready.
Use the matching stable Bigcapital web and API release, and protect the
workspace with Blossom Account access.

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

    blossom service:create --data bigcapital-web.yml
    blossom service:create --data bigcapital-api.yml
    blossom environment:deploy --id environment-100 --follow

</details>

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

Run MariaDB and Redis as private
[Persistent Services](/docs/apps/persistent-services/). Bigcapital creates a
database for each business. Scope its MariaDB user to the system database
and the configured tenant database prefix. Keep the Redis queue inside the
Environment. Route `/api` to the private API Service and set its base URL
to the public HTTPS address.

Keep the signing secret stable. For temporary S3 credentials, use the AWS
SDK environment variables, including `AWS_SESSION_TOKEN`. Set the bucket,
endpoint, region and path-style option separately. Use a sandbox company
and leave external email confirmation off during the walkthrough.

</details>

## Post a Sample Sale

Create a sample company and a customer. Record a $125 service sale as a
closed receipt. Use Undeposited Funds and Sales of Service Income.

> **Ask your AI agent:** Post a $125 sale for Maple Studios, then show me its debit and credit in the general ledger.

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



![Find the posted sale for Maple Studios.](/deploy/assets/images/bigcapital/sale-receipt.webp)

## Read the General Ledger

Open **Reports → General Ledger** for the sale date. Find the $125 debit
in Undeposited Funds and the $125 credit in Sales of Service Income.

![Read the debit and credit tied to the same receipt.](/deploy/assets/images/bigcapital/general-ledger.webp)

## What You Get

A working accounting workspace, a posted sale, and a report that shows
both sides of the transaction.

## What You Get

- A private accounting workspace with its own chart of accounts
- One closed sale receipt for a sample customer
- Matching debit and credit entries in the general ledger

Tested on Blossom: The same receipt and its matching ledger entries reopened after replacing the API Container.
