Made by Chris Downs · chris@datadowns.com
Two new things, both free:
Think of GitHub as Google Drive for code. It stores your project online so it's safe and accessible from anywhere. It's also how Cloudflare will know what to put on the internet.
Cloudflare is what actually puts your app on the internet. It takes your code from GitHub, builds it, and gives you a URL that anyone in the world can visit.
You need to get your code off your laptop and onto GitHub. This uses a tool called git — it's like version history in Google Docs, but for code. It's already on your Mac from Workshop 1.
First, create a repository on GitHub:
my-first-agent)Now open Terminal and go to your project folder:
git init
git add .
git commit -m "first version"
git remote add origin https://github.com/YOUR-USERNAME/YOUR-PROJECT.git
git push -u origin main
Don't type YOUR-USERNAME and YOUR-PROJECT literally. On the GitHub page you just created, there's a URL that looks like https://github.com/janedoe/my-first-agent.git — copy that and use it instead.
Your code is now saved online at GitHub. If your laptop breaks tomorrow, your code is safe. Go to github.com and click on your repository to see it.
Some setups use "master" instead of "main" as the default name. If you see an error about this, run:
git branch -M main
Then try git push -u origin main again.
Now tell Cloudflare to take your code from GitHub and turn it into a live website.
I'm putting this project on Cloudflare Pages. What framework preset, build command, and output directory should I use?
Enter whatever Claude Code tells you, then click Save and Deploy.
Copy the error message from Cloudflare, paste it into Claude Code, and say "I got this error when deploying to Cloudflare Pages. Can you help?" It will know what to fix.
Your agent needs your Anthropic API key to talk to Claude. But you should never put API keys directly in your code — especially code on GitHub where anyone could see it.
Instead, you store it as a secret in Cloudflare. Think of it like a safe deposit box — your agent can access it, but nobody else can see it.
ANTHROPIC_API_KEY — ask Claude Code if you're not sure)If Claude Code put your API key directly in the code, ask it: "Can you move my API key to an environment variable so it's not in the code?" It will know what to do.
Once Cloudflare finishes building, it gives you a URL like:
your-project.pages.dev
That's a real URL on the internet. Anyone with that link can use your agent. Send it to someone — right now.
git add .
git commit -m "what changed"
git push
Change → add → commit → push → live.
That's it. It becomes muscle memory fast.
Undo mistakes. Every snapshot you save is permanent. If you break something, you can go back to any previous version. It's like having infinite undo.
Work with other people. Git lets multiple people work on the same code without overwriting each other's work.
Try things safely. You can create a "branch" — like a parallel universe for your code — to experiment without risk.
You don't need to understand all of this right now. Add, commit, push is all you need.
If something doesn't work — a build fails, git gives you a confusing error, or you just don't know what to do next — get in touch. I'll respond.
chris@datadowns.com