Set up your workshop environment
Claim an OpenRouter API key from our Discord bot, make your own copy of the workshop environment, add the key as a Codespaces secret, then launch a codespace.
You only need a web browser, a GitHub account, and a Discord account.
Open the workshop Discord invite and accept it.
Then ask a TA or instructor (in Discord or in person) to give you the Participant role. The bot only hands out keys to people who have it.
/claimIn any channel, type /claim and press Enter. The bot replies in the channel, but the message is visible only to you.
The reply contains your OpenRouter API key and your daily budget. Copy the key now — you’ll paste it into GitHub in step 9.
Useful later: /key shows your key again, /usage shows today’s spend.
Before you touch any buttons on GitHub, make sure you are signed in. Go to github.com/login and sign in, or create a free account if you don’t have one.
GitHub hides the “Use this template” and “Code” buttons from signed-out visitors — if you’re not logged in, the next steps won’t show them.
Open the participant environment repo and click the green “Use this template” button.
In the dropdown, choose “Create a new repository”.
Give it a name (for example, workshop-2026) and click the green “Create repository” button.
Go directly to your Codespaces settings page.
Scroll to “Codespace user secrets” and click “New secret”.
OPENROUTER_API_KEY (exact spelling)Go back to your new repo. Click “Code” → “Codespaces” tab → “Create codespace on main”.
First build takes ~10 minutes or more (installing R, Quarto, packages, Pi).
Once the codespace finishes building:
.qmd notebookOpen the integrated terminal (Terminal → New Terminal), then run pi.
Ask in plain language — Pi can read your notebook, explain code, and help you edit. (We will introduce Claude Code later in the workshop.)
Head into the workshop materials.
If you get stuck, ask an instructor or a teaching assistant.