---
title: Deploy BentoPDF with AI on Blossom
url: "/deploy/bentopdf/"
canonical_url: https://blossom88.com/deploy/bentopdf/
markdown_url: https://blossom88.com/deploy/bentopdf.md
summary: Merge two sample PDFs in a private browser toolbox and reopen the tool after
  an update.
categories:
- deployment
- developer-tools
stack:
- TypeScript
- Vite
- WebAssembly
---

# Deploy BentoPDF with AI on Blossom

[BentoPDF](https://github.com/alam00000/bentopdf) gives you a browser
toolbox for PDFs. Start by combining two short documents so you can
check their order in the merged download.

## Ask Your Agent

> **Ask your AI agent:** Deploy BentoPDF privately on Blossom and help me merge two sample PDFs.
>
> Follow this guide: https://blossom88.com/deploy/bentopdf/

[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 |
|---|---|---|
| BentoPDF | Serve the self-hosted toolbox | Web Service on App Capacity |
| PDF merge | Combine the selected pages | Your browser |

## Deploy BentoPDF

Use the upstream self-hosted image and restrict the workspace with
Blossom Account access. The merge tool runs in your browser.

<details class="optional-reading" markdown="1">
<summary>Notes for your agent</summary>

Use the `bentopdf-simple` image on port `8080` and check `/` for
health. Keep the image's startup command. The default merge tool
loads its versioned PDF processing library from jsDelivr. For a
deployment without internet access, configure the upstream
[WASM URLs](https://github.com/alam00000/bentopdf#wasm-configuration).

The self-hosted image uses the
[AGPL-3.0 license](https://github.com/alam00000/bentopdf/blob/main/LICENSE).

</details>

<details class="optional-reading" markdown="1">
<summary>Commands your agent runs</summary>

    blossom app_plan:preview --data bentopdf-plan.yml
    blossom service:create --data bentopdf-service.yml
    blossom environment:deploy --id environment-100 --follow

</details>

## Put Two PDFs Together

Open **Merge PDF**. Select a sample agenda and a sample checklist.
Place the agenda first, merge, and open the downloaded PDF.

![Select the agenda and checklist in order.](/deploy/assets/images/bentopdf/bentopdf-two-pages-to-merge.webp)

> **Ask your AI agent:** Help me merge a sample workshop agenda and checklist in order.

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



## Use the Same Tool After an Update

Replace the Container and open the Merge PDF page in a fresh
browser. Select both files again and check the order in the new
download.

![Complete the same merge after replacement.](/deploy/assets/images/bentopdf/bentopdf-merge-after-replacement.webp)


> **Ask your AI agent:** Replace my BentoPDF Container and check I can merge the same two sample pages.

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



## What You Get

- A private PDF toolbox
- One PDF with both sample pages in order
- The same merge workflow after an update

Tested on Blossom: The merge produced the same two pages in order in fresh browsers before and after Container replacement.
