---
title: Deploy Unleash with AI on Blossom
url: "/deploy/unleash/"
canonical_url: https://blossom88.com/deploy/unleash/
markdown_url: https://blossom88.com/deploy/unleash.md
summary: Run Unleash Open Source with managed PostgreSQL and toggle a feature in your
  app.
categories:
- deployment
- feature-flags
- developer-tools
stack:
- TypeScript
- Node.js
- React
- PostgreSQL
---

# Deploy Unleash with AI on Blossom

[Unleash](https://www.getunleash.io/) is a feature management platform.
Use a flag to turn on a change for your app without shipping a new
release. This recipe uses [Unleash Open Source](https://github.com/Unleash/unleash/blob/v8.3.1/LICENSE)
under AGPL-3.0.

![The checkout banner flag in the Unleash dashboard.](/deploy/assets/images/unleash/checkout-banner.webp)

## Ask Your Agent

> **Ask your AI agent:** Deploy Unleash on Blossom and help me toggle my first feature flag.
>
> Follow this guide: https://blossom88.com/deploy/unleash/

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

## Toggle a Checkout Banner

Create a development flag for a sample checkout banner. Give a sample
client a token scoped to that environment and verify that it sees the
change when you turn the flag off and on.

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

Run the [Unleash Open Source image](https://docs.getunleash.io/deploy/getting-started)
on App Capacity with a managed PostgreSQL link as `DATABASE_URL`. Use
port 4242 and check readiness at `/health`. Configure the initial admin
username and password before the first deploy.

A demo can sit behind Blossom Account access. When connecting a real
application, choose how its client will reach the flag endpoint and
give it a token for just the project and environment it needs.

    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 Unleash dashboard for managing feature flags
- A sample client that sees a flag change without redeploying
