---
title: Deploy Tolgee with AI on Blossom
url: "/deploy/tolgee/"
canonical_url: https://blossom88.com/deploy/tolgee/
markdown_url: https://blossom88.com/deploy/tolgee.md
summary: Create a private translation project and export your first Spanish JSON file.
categories:
- deployment
- development
- localization
stack:
- Kotlin
- Spring Boot
- React
- PostgreSQL
---

# Deploy Tolgee with AI on Blossom

[Tolgee](https://tolgee.io/) lets your team edit translations and export
locale files for your app. Try the whole workflow with one label and two
languages.

## Ask Your Agent

> **Ask your AI agent:** Deploy Tolgee privately on Blossom and help me translate a checkout label and export it as JSON.
>
> Follow this guide: https://blossom88.com/deploy/tolgee/

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

## How It Runs

| Part | Role | Where |
|---|---|---|
| Tolgee | Serve the translation editor, API, and exports | App Capacity |
| PostgreSQL | Keep user accounts, projects, keys, and translations | Blossom Managed Data |

## Deploy Tolgee

Run Tolgee with managed PostgreSQL and native sign-in. Keep the setup
behind Account access and use a stable signing secret for its sessions.

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

Use the [external PostgreSQL setup](https://docs.tolgee.io/platform/self_hosting/running_with_docker).
Turn off bundled PostgreSQL on images that include it. Set the Spring
datasource JDBC URL and credentials from the linked private database.
Use the [Tolgee authentication settings](https://docs.tolgee.io/platform/self_hosting/configuration)
to enable sign-in and supply a generated first password and JWT secret.
Keep those values in private runtime configuration.

This text translation workflow uses regular App Capacity. Configure
Tolgee file storage separately if you need to retain uploaded screenshots
or other assets.

</details>

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

    blossom app_plan:preview --data tolgee-plan.yml
    blossom database_instance:create --data postgres.yml
    blossom environment_link:create --data postgres-link.yml
    blossom env_var:push --environment environment-100 --file runtime.env
    blossom service:create --data tolgee.yml
    blossom environment:deploy --id environment-100 --follow

</details>

## Translate a Label and Export JSON

Create a project with English and Spanish. Add the key
`checkout.continue` and translate it as **Continuar al pago**. Open
**Export**, choose Spanish and JSON, and check the downloaded locale file.

![See English and Spanish versions of the checkout label.](/deploy/assets/images/tolgee/tolgee-checkout-translation.webp)

> **Ask your AI agent:** Help me add an English and Spanish checkout label in Tolgee and export the Spanish JSON.

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



## Repeat the Export After an Update

Replace the Container and sign in again. Open the same project and
export Spanish JSON. Check that the checkout label still has the same text.

The export form below is from a local run of the same Tolgee release.

![Choose a language and format in the same Tolgee release, shown in a local test.](/deploy/assets/images/tolgee/tolgee-export.webp)


> **Ask your AI agent:** Replace the Tolgee Container, reopen the project, and check that the Spanish JSON export still matches.

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



## What You Get

- A private project with English and Spanish
- A checkout label with both translations
- A Spanish JSON file you can use in your app

Tested on Blossom: After replacing the Container, a fresh sign-in opened the same project and its Spanish JSON export matched.
