Skip to content
bits

Your first Worker

This is where the build-along starts. Over five lessons you'll build Klippy, a small assistant that runs on Cloudflare and answers with Claude. You'll start from an empty folder and finish with a live Worker on the internet, locked so that only you can spend your model budget. Every step is small, shown in full and explained, and every lesson has a git tag to catch up from.

  • Beginner
  • 5 lessons
  • 1 h 47 min
  • text + code
Start the course →

Lesson 1 · Your workbench · 12 min

On finishing

Your first Worker badgePlus 300 neurons and a certificate

Neurons are the points you earn for each lesson you finish.

Your progress stays in this browser. Sign in to keep it on every device.

What you'll learn

  1. Set up Node, pnpm and a terminal, and know what each one is for.
  2. Make a pnpm monorepo with a Cloudflare Worker in it, and read every file it made.
  3. Run a Worker on your laptop, and test it in the real Workers runtime.
  4. Call Claude through your own AI Gateway, with no key in your code.
  5. Lock a public Worker before you deploy it, then ship it and let bits check it.

How you'll learn

5
lessons, every one a chat with Claude
5
code exercises

Source

This course is 6 markdown files on GitHub. Spot a typo? Fix it in one pull request.

content/courses/your-first-worker/ ↗

Written by The bits team · updated

Code verified