Skip to main content

Deploy the ACP Handler

StateSet Deploy builds the ACP handler from its repo and runs it on managed Kubernetes — TLS, health checks, and autoscaling included.

1 — Add a deploy button

2 — Add stateset.yaml

Optional but recommended — it makes the deployment reproducible instead of click-configured:

3 — Set environment variables

Set these in stateset.yaml or the deploy UI:
In-memory sessions do not survive a restart or a scale-out. A deployment with more than one replica, or any deployment you care about, needs REDIS_URL set — otherwise a checkout session created on one pod is invisible to the next request.

4 — Deploy

Click the button, authenticate with GitHub, and wait for the build. The app lands at:

5 — Verify

The handler serves Swagger UI at /docs — a quick way to confirm the surface is up before pointing ChatGPT at it.