---
title: Deploy Bugsink with AI on Blossom
url: "/deploy/bugsink/"
canonical_url: https://blossom88.com/deploy/bugsink/
markdown_url: https://blossom88.com/deploy/bugsink.md
summary: Track and resolve application errors with Bugsink and Blossom Managed PostgreSQL.
categories:
- deployment
- monitoring
- developer-tools
stack:
- Python
- Django
- PostgreSQL
---

# Deploy Bugsink with AI on Blossom

[Bugsink](https://www.bugsink.com/) collects application exceptions from
Sentry-compatible SDKs. Open an issue to see its stack trace, then mark
it resolved when the fix is ready.

![A resolved sample checkout exception in Bugsink.](/deploy/assets/images/bugsink/resolved-checkout.webp)

This recipe uses the official self-hosted Bugsink image for your own
error tracking. Its [PolyForm Shield license](https://github.com/bugsink/bugsink/blob/2.6.3/LICENSE)
restricts using Bugsink to offer a competing product.

## Ask Your Agent

> **Ask your AI agent:** Deploy Bugsink on Blossom and help me send and resolve my first test error.
>
> Follow this guide: https://blossom88.com/deploy/bugsink/

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

## Send and Resolve a Test Error

Create a project and use its DSN in your SDK. Send a synthetic exception
from your app. Open the issue, confirm the stack trace, and resolve it.

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

Run the [official Bugsink image](https://www.bugsink.com/docs/docker-install/)
on App Capacity with a Blossom Managed PostgreSQL link as
`DATABASE_URL`. Use port 8000 and check readiness at `/health/ready`.
Keep the application secret stable and use your HTTPS origin as
`BASE_URL` so the SDK gets a valid DSN.

For a private demo with Blossom Account access, send a scoped Blossom
access token in your test SDK transport as well as the project DSN.

    blossom profile:show
    blossom app:create --data app.yml
    blossom environment:create --data environment.yml
    blossom database_instance:create --data postgres.yml
    blossom environment_link:create --data postgres-link.yml
    blossom service:create --data web.yml
    blossom env_var:push --environment environment-100 --file .env.runtime
    blossom environment:deploy --id environment-100 --follow

</details>

## What You Get

- An error-tracking workspace and project DSN for your app
- A test exception and resolution stored in managed PostgreSQL
