packages/examples/setup-guide.html
Use this page for examples that need accounts, desktop apps, cloud CLIs, game servers, API keys, or hardware before the local test clients can run end to end.
Run local verification from the repository root with bun install, then each example's bun run typecheck, bun run test, and bun run build scripts where present. Live integrations should start in dry-run or test projects.
The Roblox example is in packages/examples/roblox. It runs an HTTP bridge for Roblox Studio scripts and uses Roblox Open Cloud for outbound MessagingService publishes.
packages/examples/roblox/roblox-studio to ServerScriptService. It forwards player messages to the bridge and subscribes to the configured MessagingService topic.cd packages/examples/roblox
export ROBLOX_API_KEY="..."
export ROBLOX_UNIVERSE_ID="..."
export ROBLOX_MESSAGING_TOPIC="eliza-agent"
export ELIZA_ROBLOX_SHARED_SECRET="dev-secret"
export ROBLOX_DRY_RUN=true
bun run start
For local Studio testing, expose the bridge with a tunnel such as ngrok or Cloudflare Tunnel and put the public URL plus shared secret into the Studio script.
Minecraft automation currently lives in plugins/plugin-minecraft and uses a local Mineflayer bridge server. There is no separate packages/examples/minecraft app in this worktree.
cd plugins/plugin-minecraft/mineflayer-server
bun install
export MC_SERVER_PORT=3457
export MC_HOST=127.0.0.1
export MC_PORT=25565
export MC_AUTH=offline
export MC_USERNAME=ElizaBot
bun run build
bun run start
| Example | Setup links | Local command |
|---|---|---|
| AWS | AWS CLI, AWS SAM CLI | cd packages/examples/aws && bun run test |
| GCP | Google Cloud CLI, Cloud Run Node.js | cd packages/examples/gcp && bun run build |
| Cloudflare | Wrangler, Worker secrets | cd packages/examples/cloudflare && bun run dev |
| Convex | Convex quickstart, Convex env vars | cd packages/examples/convex && convex dev |
| Supabase | Supabase CLI, Edge Function secrets | cd packages/examples/supabase && supabase start |
| Vercel | Vercel CLI, Vercel env vars | cd packages/examples/vercel && bun run dev |
| Social bots | Discord apps, Telegram bots, Bluesky API, Neynar/Farcaster | Use each package README and dry-run flags first. |
| Smartglasses | Even Hub setup, Noble BLE | cd packages/examples/smartglasses && bun run test |
| Wallet/trading | Solana CLI, Birdeye API, LI.FI | Use paper trading and isolated test wallets first. |
Most server examples need one model provider key. Common options are OpenAI, Anthropic, Google GenAI, Groq, xAI, and OpenRouter.