Set up for the multiomics workshop
Before you arrive: a GitHub account, a Discord account, and VS Code.
Before Tuesday morning: your own copy of the workshop repository, your API key added to GitHub, your codespace built once, and VS Code connected to it.
During the workshop, together: Pi.
Go to github.com/signup and create a free account, or sign in if you already have one.
Pick a username you’re happy for colleagues to see. You’ll sign in every day.
Go to discord.com/register. The desktop app, phone app or browser all work.
Then open the workshop Discord invite and accept it.
Once you’ve joined, go to the workshop channel.
Download it from code.visualstudio.com/download and install with the default settings.
No setup or extensions needed. We’ll do that together.
Do these in order: the key goes into GitHub before you launch the codespace.
Sign in to GitHub first, or the buttons won’t appear.
Open the workshop 2 participant repository and click “Use this template”.
In the dropdown, choose “Create a new repository”.
Give it a name (for example, multiomics-2026) and click “Create repository”.
Don’t launch a codespace yet. Get your key first.
/claimAsk a TA or instructor for the Participant role.
Then type /claim in any channel. The reply is visible only to you and contains your API key. Copy it.
Later: /key shows it again, /usage shows today’s spend.
Click this link: your Codespaces settings page. Scroll to “Codespace user secrets” and click “New secret”.
No link? Profile picture (top right) → Settings → Codespaces. Not the repository’s Settings tab.
OPENROUTER_API_KEY (exactly this)You already have an OPENROUTER_API_KEY secret. Don’t make a new one: GitHub won’t allow two with the same name.
On your Codespaces settings page, click “Update” next to OPENROUTER_API_KEY:
On your new repo: “Code” → “Codespaces” tab → “Create codespace on main”.
The first build takes 10 minutes or more. Let it finish.
R, press Enterlibrary(tidyverse), press EnterA list of packages and no Error means you’re set. Type q("no") to leave R.
From now on, open the codespace in the VS Code app instead of the browser.
Connect, never Create. “Create New Codespace” gives you a new, empty one.
Connected when the bottom-left corner shows Codespaces: and its name.
Use the browser instead. At github.com/codespaces: ⋯ → “Open in” → “Open in browser”.
Use Chrome, Edge or Firefox, and allow clipboard access when asked.
Open your codespace in VS Code, then Terminal → New Terminal and run pi.
Ask in plain language. Pi can read your notebook, explain code and help you edit.
The codespace was probably launched before the key was added. Check the secret’s name and repository access, then restart:
If you get stuck, ask an instructor or a teaching assistant.