Install · Verified

# render.com (Web Service)

static shell

Connect the repo as a Web Service with Docker runtime. The Static Site plan won't work — agentsite needs a long-lived process.

**Start here first.** Every platform recipe below assumes the canonical Express + Docker install at [/install/express-docker](/install/express-docker). The snippets on this page are the platform-specific deltas on top of that baseline.

Connect the repo as a **Web Service** (Docker runtime). Render reads the canonical `Dockerfile` from the repo root.

render.com — Web Service settings

``` 
# render.com — Web Service settings (Dashboard → New → Web Service)
Runtime:        Docker
Dockerfile:     ./Dockerfile
Region:         (your choice)
Plan:           Starter or higher (Static Site plan won't work — see callout)
Health check:   GET /

# Environment tab — add:
AGENTSITE_TOKEN  = asit_xxxxxxxxxxxx        ← mark as Secret
AGENTSITE_SITE   = https://yoursite.com
DIST_DIR         = /dist
```

**The Static Site plan won't work.** AgentSite needs a long-lived process to handle each request. If you accidentally created a Static Site, change to _Web Service_ — they're separate products on Render.