---
title: Deploy Docling with AI on Blossom
url: "/deploy/docling/"
canonical_url: https://blossom88.com/deploy/docling/
markdown_url: https://blossom88.com/deploy/docling.md
summary: Deploy Docling Serve with AI on Blossom. Convert PDFs into structured Markdown
  on a private CPU-powered endpoint.
categories:
- deployment
- documents
stack:
- Python
- FastAPI
---

# Deploy Docling with AI on Blossom

[Docling Serve](https://github.com/docling-project/docling-serve)
turns PDFs and other document formats into structured text. You can
use the output in a search index, a data pipeline, or an AI app.

![The Docling conversion preserved a sample support report's heading and table.](/deploy/assets/images/docling/conversion.webp)

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

Use the [official CPU image](https://github.com/docling-project/docling-serve#container-images)
on regular App Capacity. Start with one local worker and size CPU and
memory for your documents. Route HTTPS to port `5001` and probe
`/ready`. Keep the endpoint behind Blossom Account access. Use an
Environment Access Token for an authorized client outside the Account.

    blossom profile:show
    blossom app:create --data app.yml
    blossom environment:create --data environment.yml
    blossom service:create --data service.yml
    blossom env_var:push --environment environment-100 --file .env.production
    blossom environment:deploy --id environment-100 --follow

</details>

## Ask Your Agent

> **Ask your AI agent:** Deploy Docling on Blossom and help me convert a sample PDF into Markdown.
>
> Follow this guide: https://blossom88.com/deploy/docling/

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

## Convert a PDF

Upload a small PDF to the [file conversion endpoint](https://github.com/docling-project/docling-serve/blob/main/docs/usage.md#file-endpoint)
and ask for Markdown. For a PDF with a text layer, try skipping OCR.
Save the returned file in your own storage so your next step can reuse it.

## What You Get

- A private HTTPS endpoint for uploading documents
- Structured Markdown with headings and tables
- A CPU setup for testing conversion without a GPU
