---
title: Deploy Hoppscotch with AI on Blossom
url: "/deploy/hoppscotch/"
canonical_url: https://blossom88.com/deploy/hoppscotch/
markdown_url: https://blossom88.com/deploy/hoppscotch.md
summary: Share API requests with your team and keep collections on Blossom Managed
  PostgreSQL.
categories:
- deployment
- api
- developer-tools
stack:
- TypeScript
- Vue
- NestJS
- PostgreSQL
---

# Deploy Hoppscotch with AI on Blossom

[Hoppscotch](https://hoppscotch.io/) is an API client for sending requests
and organizing them into collections. A team workspace lets teammates run
the same requests while they work on an API.

![The saved checkout request and its response in Hoppscotch.](/deploy/assets/images/hoppscotch/team-request.webp)

## Ask Your Agent

> **Ask your AI agent:** Deploy Hoppscotch on Blossom and help me save and run my first API request.
>
> Follow this guide: https://blossom88.com/deploy/hoppscotch/

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

## Save Your First Request

Create a team workspace and a collection. Save a GET request to an endpoint
you control, then send it from the collection. The managed database keeps
the workspace and request across app updates.

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

Use the [Hoppscotch Community Edition image](https://docs.hoppscotch.io/documentation/self-host/community-edition/install-and-build)
with subpath access so the client, admin dashboard, and backend share an
HTTPS origin. Link Blossom Managed PostgreSQL as `DATABASE_URL`. Keep the
32-character `DATA_ENCRYPTION_KEY` stable and run `pnpm exec prisma migrate deploy`
in the Release Phase.

Use `BLOSSOM_SERVICE_URL` for the public frontend and derive `/admin`,
`/backend/graphql`, and `/backend/v1` URLs from it. Set the Caddy Service port
with `HOPP_ALTERNATE_PORT` and keep the backend on its internal port. Allow the
All-in-One process to restart during first-time configuration. Keep Blossom
Account access enabled and set up email or a supported OAuth provider in the
[admin dashboard](https://docs.hoppscotch.io/documentation/self-host/community-edition/admin-dashboard).

    blossom profile:show
    blossom app:create --data app.yml
    blossom environment:create --data environment.yml
    blossom database_instance:create --data postgres.yml
    blossom environment_link:create --data database-link.yml
    blossom environment:deploy_hooks:update --id environment-100 --data migrations.yml
    blossom service:create --data web.yml
    blossom environment:deploy --id environment-100 --follow

</details>

## What You Get

- A private API client with team collections
- Saved requests stored in managed PostgreSQL
