---
title: Deploy Inngest with AI on Blossom
url: "/deploy/inngest/"
canonical_url: https://blossom88.com/deploy/inngest/
markdown_url: https://blossom88.com/deploy/inngest.md
summary: Run event-driven background jobs with Inngest, a separate SDK Service, and
  Blossom Managed PostgreSQL and Redis.
categories:
- deployment
- workflows
- developer-tools
stack:
- Go
- Node.js
- PostgreSQL
- Redis
---

# Deploy Inngest with AI on Blossom

[Inngest](https://www.inngest.com/) runs background jobs when your app
sends an event. The dashboard shows each run, its steps, and what
happened when a step retried.

![The runs list in a private Inngest dashboard.](/deploy/assets/images/inngest/runs.webp)

![A completed Inngest run with its event and retry-step timeline.](/deploy/assets/images/inngest/retry-trace.webp)

## Ask Your Agent

> **Ask your AI agent:** Deploy Inngest privately on Blossom and help me run a background job that retries once.
>
> Follow this guide: https://blossom88.com/deploy/inngest/

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

## Have Ready

- **Git repository** (Required): A repository Blossom can build from. Start with the sample SDK Service below.

## How It Runs

| Part | Role | Where |
|---|---|---|
| Inngest | Event scheduling, retries, and the dashboard | HTTPS behind Blossom Account access |
| SDK Service | Executes the sample report function | Private App Capacity |
| PostgreSQL | Run records and results | Managed by Blossom |
| Redis | Queues and coordination | Managed by Blossom |

## Deploy Inngest

The self-hosted server image is covered by the
[Server Side Public License](https://github.com/inngest/inngest/blob/v1.53.0/LICENSE.md).
This guide runs it for your own workloads. Review Section 13 if you
intend to offer Inngest functionality as a service to others.

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

    blossom profile:show
    blossom app:create --data app.yml
    blossom environment:create --data environment.yml
    blossom git_repo:create --data git-repo.yml
    blossom environment:build_config:update --id environment-100 --data build.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 service:create --data sdk.yml
    blossom env_var:push --environment environment-100 --file .env.runtime
    blossom environment:deploy --id environment-100 --follow

</details>

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

- Build the [sample Node.js SDK Service](/deploy/recipes/inngest/README.md)
  as a Dockerfile project. The sample Dockerfile makes the entry script
  readable by the Node user. Override the dashboard Service with the official
  [Inngest server image](https://www.inngest.com/docs/self-hosting).
- Link PostgreSQL as `INNGEST_POSTGRES_URL` and Redis as
  `INNGEST_REDIS_URL`. In the server's startup command, export those
  values as `INNGEST_POSTGRES_URI` and `INNGEST_REDIS_URI`, respectively.
  Keep the event and signing keys private and stable.
- Keep SDK port `3000` internal. Start Inngest with `--sdk-url` set
  to the SDK's internal `/api/inngest` URL and enable polling so the
  function syncs after startup. Set `INNGEST_BASE_URL` to the private
  Inngest address on port `8288` and `INNGEST_DEV=0` on the SDK Service.
  Protect the dashboard on port `8288` with Blossom Account access.

</details>

## Find the Sample Function

Open the private Inngest dashboard. Once Inngest syncs with the SDK Service,
you can find the sample report under **Functions**.

## Run a Job That Retries

Send the sample order event and open its run under **Runs**. The report
step fails on its first attempt. The next attempt returns the workshop
order total.

> **Ask your AI agent:** Send the sample order event and show me where its retry completed.

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



## Keep It Running

Keep the PostgreSQL and Redis links and the same keys when updating. Reopen
the original run and send a new event to check that the worker still runs.

## What You Get

- A private dashboard for events, runs, and retry traces
- A sample event that runs a background job
- A report that finishes after a temporary failure
- Run history saved across deployments

Tested on Blossom: A job retried successfully. Its result survived replacing both App Containers.
