Deployment Guide
One-Click Deploy
Click the Deploy button in the project README to open Vercel's import flow. This creates your own deployment with minimal manual setup.
Minimal Environment Variables
| Variable | Required | Purpose |
|---|---|---|
NEXT_PUBLIC_SUPABASE_URL | Yes | Supabase project URL |
NEXT_PUBLIC_SUPABASE_ANON_KEY | Yes | Browser/server session client |
SUPABASE_SERVICE_ROLE_KEY | Yes | Required before /setup can continue |
ENCRYPTION_KEY | Yes | AES-256-GCM key for encrypting stored secrets |
NEXT_PUBLIC_APP_URL | Yes | Public base URL for webhooks, previews, cron, and voice |
CRON_SECRET | Yes | Protects worker and agent invocation endpoints |
Generate secrets with:
openssl rand -base64 32
Setup Flow
The /setup wizard does four things:
- Connect Supabase with a PAT and project ref
- Create the first admin account
- Save model provider keys — at least one model provider API Key and optional embedding credentials
- Create the first agent and optionally attach an IM platform
If setup shows a security login URL at the end in production, save it immediately.
Local Development
git clone https://github.com/seajelly-dev/seajelly.git
cd seajelly
pnpm install
cp .env.example .env.local
pnpm dev
Open http://localhost:3000, then visit /setup.
Important Notes
NEXT_PUBLIC_APP_URLmust be publicly reachable from Supabase if you usepg_cron, webhook callbacks, previews, or voice temp links.- For local webhook or scheduled-task testing, use a tunnel such as ngrok or Cloudflare Tunnel instead of
localhost. - If your users are mainly in mainland China, bind a custom domain instead of relying on
*.vercel.app. - The setup flow supports refresh-safe resume in the same browser via a temporary HttpOnly cookie.
Supported Channels
- Telegram
- Feishu
- WeCom
- Slack
- QQ Bot
WeCom Integration Note
If you use a WeCom custom app on serverless (Vercel), you will likely also need an Edge Gateway with a fixed public IP to satisfy WeCom IP allowlists.
Supported Model Providers
- Anthropic
- OpenAI
- DeepSeek
- OpenAI-compatible providers: Groq, OpenRouter, Zhipu AI, Moonshot, MiniMax, DashScope, SiliconFlow, VolcEngine