Connect GitHub (one-click repo)
The Build Studio’s Create GitHub repo option pushes your generated
starter (constitution, spec, agent prompt, recipe, package.json) straight to a
brand-new repository — no zip, no terminal.
For builders
Section titled “For builders”- Make a GitHub account (free): go to github.com/signup, enter an email, password, and username, and verify your email. That’s it.
- In the Build Studio, finish steps 1–2, then on Generate pick Create GitHub repo.
- Click Connect GitHub & create repo. GitHub asks you to authorize the app with permission to create a public repository — review and approve.
- You’re returned to the Studio; click Create. Your new repo opens with all the starter files in it. Clone it and point your agent at it.
For the maintainer (one-time setup)
Section titled “For the maintainer (one-time setup)”The one-click needs one GitHub OAuth app and two Worker secrets — registered
once, for the whole deployment. This is the app’s identity (the name builders
see on GitHub’s authorization screen), not a personal access token: it simply
lets any builder authorize with their own account. Until these are set, the
Studio shows a “not configured” message and offers the .zip instead.
- Register an OAuth app: GitHub → Settings → Developer settings →
OAuth Apps → New OAuth App.
- Homepage URL:
https://wecanjustbuildthings.dev - Authorization callback URL:
https://wecanjustbuildthings.dev/api/github/callback
- Homepage URL:
- Copy the Client ID and generate a Client secret.
- Add them as Worker secrets (Cloudflare dashboard → your Worker → Settings →
Variables and Secrets), or via CLI:
Terminal window npx wrangler secret put GITHUB_OAUTH_CLIENT_IDnpx wrangler secret put GITHUB_OAUTH_CLIENT_SECRET - Redeploy.
/api/github/statuswill reportconfigured: trueand the one-click activates.