---
title: Deploy Flipt with AI on Blossom
url: "/deploy/flipt/"
canonical_url: https://blossom88.com/deploy/flipt/
markdown_url: https://blossom88.com/deploy/flipt.md
summary: Turn on a feature for a preview group and confirm which users receive it.
categories:
- deployment
- feature-flags
stack:
- Go
- React
- Git
---

# Deploy Flipt with AI on Blossom

[Flipt](https://www.flipt.io/) lets you turn features on by group without
shipping a new version of your app. Try a checkout change with a preview
group before showing it to everyone.

## Ask Your Agent

> **Ask your AI agent:** Deploy Flipt on Blossom. Help me turn on a checkout feature for preview users first.
>
> Follow this guide: https://blossom88.com/deploy/flipt/

[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 |
|---|---|---|
| Flipt | Manage and evaluate feature flags | Blossom Persistent Service |
| Local Git repository | Keep flag settings and segmentation rules | Blossom Volume |

## Deploy Flipt with a Volume

Use a single [Persistent Service](/docs/apps/persistent-services/) with
Blossom Account access for the dashboard and evaluation API. This recipe
uses the free, source-available Flipt v2 server. See its
[license and competing-use restriction](https://github.com/flipt-io/flipt/blob/v2.14.2/LICENSE).

<details class="optional-reading" markdown="1">
<summary>Storage settings and commands</summary>

Use the official Flipt v2 image on port 8080. Mount the Volume at
`/var/opt/flipt` and set `FLIPT_STORAGE_DEFAULT_BACKEND_TYPE=local` and
`FLIPT_STORAGE_DEFAULT_BACKEND_PATH=/var/opt/flipt` to keep the flag
repository on disk. See [Flipt storage settings](https://docs.flipt.io/v2/configuration/storage).

    blossom app_plan:preview --data flipt-plan.yml
    blossom service:create --data flipt-web.yml
    blossom env_var:push --environment environment-100 --file flipt.env
    blossom environment:deploy --id environment-100 --follow

</details>

## Give Preview Users the New Checkout

Make a Boolean flag called **Workshop checkout**, off by default. Create a
**Preview testers** segment matching `cohort=preview` and add a rollout
that enables the flag for that segment. Evaluate it with two sample users
through the same gated Environment. The preview user should receive the
new checkout and the other user should get the default.

![View the checkout flag and its preview rollout.](/deploy/assets/images/flipt/flipt-checkout-rollout.webp)

> **Ask your AI agent:** Create a checkout flag and turn it on for preview users. Check that preview users get it and everyone else keeps the current checkout.

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



## Keep the Rollout After Replacement

Replace the Container with the same Volume and run both evaluations again.

![Review the original preview segment after replacement.](/deploy/assets/images/flipt/flipt-preview-segment.webp)


> **Ask your AI agent:** Replace the Flipt Container and confirm the same preview and public users still get different results.

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



## What You Get

- A Flipt dashboard behind Blossom Account access
- A checkout flag enabled for your preview group
- The same targeting rules after Container replacement

Tested on Blossom: The preview user received the checkout feature and another user kept the default before and after Container replacement.
