---
title: Deploy Chroma with AI on Blossom
url: "/deploy/chroma/"
canonical_url: https://blossom88.com/deploy/chroma/
markdown_url: https://blossom88.com/deploy/chroma.md
summary: Deploy Chroma with AI on Blossom. Store document embeddings and verify filtered
  retrieval across Container replacements.
categories:
- deployment
- vector-search
stack:
- Rust
- Python
---

# Deploy Chroma with AI on Blossom

[Chroma](https://www.trychroma.com/) stores embeddings alongside documents
and metadata. A retrieval app can use it to find context for a search or
a model response.

![A verified Chroma query response showing two sample billing documents.](/deploy/assets/images/chroma/query.webp)

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

Run an official [Chroma image](https://docs.trychroma.com/docs/run-chroma/client-server)
on one Persistent Service. Mount its Volume at `/data`, use port `8000`,
and probe the release's heartbeat endpoint. Keep the Environment behind
Blossom Account access. Give authorized external clients a private
[Environment Access Token](/docs/apps/environment-access/#environment-access-tokens)
to send in the `X-Blossom-Access` header.

    blossom profile:show
    blossom app:create --data app.yml
    blossom environment:create --data environment.yml
    blossom service:create --data service.yml
    blossom environment:deploy --id environment-100 --follow
    blossom environment:access:token:create --environment environment-100 --name reporting-client --expires 30

</details>

## Ask Your Agent

> **Ask your AI agent:** Deploy Chroma on Blossom and help me query a sample document collection.
>
> Follow this guide: https://blossom88.com/deploy/chroma/

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

## Try a Document Query

Create a collection and add documents with embeddings of the same
dimension. Query with an embedding and a metadata filter. This
single-node recipe runs one Container with its own Volume.

## What You Get

- A private HTTPS endpoint for Chroma clients
- Documents and vectors stored on a Persistent Volume
- Metadata filtering for results from the relevant collection
