---
title: Deploy OpnForm with AI on Blossom
url: "/deploy/opnform/"
canonical_url: https://blossom88.com/deploy/opnform/
markdown_url: https://blossom88.com/deploy/opnform.md
summary: Publish an OpnForm intake form and keep responses in your own database on
  Blossom.
categories:
- deployment
- productivity
- forms
stack:
- PHP
- Laravel
- Vue
- Nuxt
- PostgreSQL
- Redis
---

# Deploy OpnForm with AI on Blossom

[OpnForm](https://opnform.com/) is a form builder for collecting requests,
feedback, and survey responses. Publish a form and review its responses
in the owner dashboard.

![An OpnForm website request form.](/deploy/assets/images/opnform/website-request.webp)

![Two website requests in the owner dashboard.](/deploy/assets/images/opnform/owner-responses.webp)

## Ask Your Agent

> **Ask your AI agent:** Deploy OpnForm on Blossom and help me publish a simple request form.
>
> Follow this guide: https://blossom88.com/deploy/opnform/

[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 |
|---|---|---|
| Nginx | Route form pages and API requests | HTTPS with Blossom Account access |
| OpnForm | Form UI, Laravel API, queue worker and scheduler | Four private Services |
| PostgreSQL and Redis | Store forms, responses, queues and sessions | Managed by Blossom |

## Deploy OpnForm

Open the generated HTTPS address to create the first owner account.
Use Blossom Account access for a team-only form.

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

Use the official [OpnForm images](https://docs.opnform.com/deployment/docker)
for Nuxt and Laravel, with separate worker and scheduler Services.
A single Nginx endpoint serves the form and proxies the API. Create your
owner account before sharing the form link. Set the public OpnForm and
Nuxt URLs to that endpoint, and use the private Nginx Service URL for
Nuxt server-side API requests.

[Managed PostgreSQL and Redis](https://docs.blossom88.com/docs/data/) keep
the form records, jobs, and sessions. The text form needs no App Volume.
The [free self-hosted edition](https://docs.opnform.com/deployment/self-hosted-license)
supports up to two user accounts.

Keep the application, JWT and Passport keys stable. Use literal `\n`
separators in the Passport PEM values. Give OpnForm separate logical Redis
databases for its queue, cache, authentication and state. Configure the
scheduler and worker with the same data links as the API.

    blossom app:create --data app.yml
    blossom environment:create --data environment.yml
    blossom database_instance:create --data postgres.yml
    blossom cache_instance:create --data redis.yml
    blossom environment_link:create --data postgres-link.yml
    blossom environment_link:create --data redis-link.yml
    blossom service:create --data web.yml
    blossom environment:deploy --id environment-100 --follow

</details>

## Publish Your First Form

Make a form with a **Request title** field and publish it. Open the form
in a separate browser with access to the Blossom Environment.

> **Ask your AI agent:** Make a website request form and submit a sample request from a separate browser.

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



## Review the Responses

Open the owner dashboard and find the sample response. People who can
open the form can submit a request without an OpnForm account.

> **Ask your AI agent:** Find the request I just submitted and check that only the owner can see the results.

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



## Keep It Running

Keep the same data links and keys during updates. After replacing the
App Containers, open the existing form and submit another sample request.

> **Ask your AI agent:** After updating OpnForm, confirm the first response is still there and submit a second one.

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



## What You Get

- A shareable form for collecting requests
- An owner dashboard for reviewing responses
- An HTTPS address with Blossom Account access

Tested on Blossom: The same published form accepted a second request after all five App Containers changed. The owner could still see both responses.
