Hands-On Lab

Deploy Your Moltworker AI Agent

Follow the steps below to deploy a fully functional AI personal assistant on Cloudflare.

Your Progress 0 / 7 steps completed

Before we begin, let's confirm you have access to the workshop Cloudflare account.

  1. Open the Cloudflare Dashboard and log in with the email you registered with.
  2. Check the invitation email from Cloudflare — accept the invite to join the workshop account.
  3. Once logged in, verify you can see the workshop account in the account selector (top-left).
  4. Navigate to Workers & Pages — you should see the Workers Paid plan is active.
Trouble? If you don't see the invitation, check your spam folder. Ask a workshop helper if you're stuck.

Troubleshooting

Container takes too long to start
The first start can take 1-2 minutes as the container image is pulled. Subsequent starts are faster. If it takes more than 3 minutes, try refreshing.
"Unauthorized" error on Control UI
Make sure you're using the correct gateway token in the URL. If you lost it, you can regenerate: echo $(openssl rand -hex 32) | npx wrangler secret put MOLTBOT_GATEWAY_TOKEN
AI model not responding
Check your AI Gateway configuration in the Cloudflare Dashboard. Ensure the gateway is active and Unified Billing has credits. Also verify CF_AI_GATEWAY_MODEL is set to workers-ai/@cf/moonshotai/kimi-k2.5.
wrangler login fails
Try running wrangler login --browser or clear existing credentials with wrangler logout first. On corporate networks, you may need to configure proxy settings.