This is the sandbox course we'll use during the workshop. If you can see it when you log in, you're all set. Please only use this course URL for today's session.
Download the Codex App
1 minDownload the Codex desktop app for macOS:
- Open the
.dmgfile and drag Codex to Applications - Launch Codex and sign in with an OpenAI API key (see below)
Download the Codex desktop app for Windows:
- Install from the Microsoft Store
- Launch Codex and sign in with an OpenAI API key (see below)
sk-). This is not your Canvas API token — those are different keys used in a later step. Do not sign in with your ChatGPT Edu account.
Get Your Canvas API Token
2 min- Go to the Canvas API Token Request page
- Fill out the form linked on that page to request your token
- Watch your email for a secure key distribution message with your token
- Copy the token and save it somewhere safe — you'll need it in the next step
Install Node.js (if you don't have it)
2 minThe setup wizard requires Node.js. Most learning designers won't have this yet — that's totally fine.
- Go to nodejs.org
- Click the LTS (recommended) download button
- Open the downloaded
.pkgfile and follow the installer - Open Terminal: Press Cmd+Space to open Spotlight, type
Terminal, and press Enter. A black/white window will appear — this is where you'll type commands. - Type this and press Enter to confirm it worked:
$ node --versionYou should see something like
v22.x.x. If so, you're good!
- Go to nodejs.org
- Click the LTS (recommended) download button
- Run the downloaded
.msiinstaller (accept all defaults) - Open PowerShell: Press the Windows key, type
PowerShell, and click Windows PowerShell. A blue window will appear — this is where you'll type commands. - Type this and press Enter to confirm it worked:
> node --versionYou should see something like
v22.x.x. If so, you're good!
Run the Setup Wizard
30 secIn the same Terminal (Mac) or PowerShell (Windows) window from Step 3, run:
- Option A: Run this in PowerShell, type Y when prompted, then try again:
> Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
- Option B (university laptops): If that doesn't work, close PowerShell and use Command Prompt instead. Press the Windows key, type
cmd, and open it. Thenpxcommand works the same way there.
The wizard will ask you three things:
- Canvas API token — paste the token from Step 2
- Canvas URL — enter
https://canvas.illinois.edu - Which client — select Codex CLI (press Space, then Enter). This configures both the CLI and the desktop app.
To make it persist, also add this line to your ~/.zshrc file.
The export command does not work on Windows. Instead, set a permanent environment variable in PowerShell:
Note: "User" stays exactly as written — only replace your-token-here with your actual token. After running this, close all terminals and reopen before continuing.
Restart Codex and Test
30 sec- Quit the Codex app completely (Cmd+Q on Mac, close window on Windows) and close all terminal windows
- Reopen the Codex app
- Open a folder first: Click the folder icon or File → Open Folder and select any directory (e.g., Desktop or an empty folder). Codex needs this before it can run commands.
- Start a new session and type this prompt:
Workshop Day: AI Course Assembly
Together, we'll build a complete course in 30 minutes. Each person gets a role with specific prompts to run in Codex.
Before We Start
- Make sure you completed Steps 1–5 above and Codex can see your courses
- Open the workshop Canvas course
- Go to the “Start Here — Your Workshop Role” module
- Vishal will assign you a role — open your role page for prompts to copy into Codex
Content Creators
Role 1: Page Builder
Role 2: Assignment Designer
Role 3: Discussion Starter
Role 4: Resource Curator
Course Architects
Role 5: Rubric Builder
Role 6: Module Organizer
Role 7: Syllabus Author
Quality & Analytics
Role 8: Accessibility Auditor
Role 9: Announcer
Role 10: Course Reviewer
The Big Reveal
At the 20-minute mark, we'll screenshare the course and see what we built together!
Troubleshooting
npx command not found
You need Node.js installed. Download from nodejs.org (LTS version), then restart your terminal and try again.
Codex doesn't see Canvas tools after restart
The Codex desktop app needs the environment variable to be set globally. Add the export line to your shell profile so it persists:
Then quit Terminal completely and reopen it, then relaunch the Codex app. On Windows, set it via System Properties → Environment Variables.
Canvas API token doesn't work
Double-check that you copied the entire token from the secure email (they're long). Also verify the Canvas URL matches exactly what your instructor provided (no trailing slash). If you haven't received the email yet, check your spam folder or re-submit the request form.
I see "unauthorized" or "forbidden" errors
Your Canvas token may have expired or been revoked. Go back to Canvas Settings → Approved Integrations and generate a new token. Then re-run npx canvas-mcp setup.
"Set up Agent sandbox to continue" error
Codex needs a project folder open before it can run commands. Click the folder icon or use File → Open Folder and select any directory (even an empty one works).
macOS: The native sandbox works out of the box — no Docker needed.
Windows: Open PowerShell as Administrator and run: wsl --install, then restart your computer. After restarting, reopen Codex and open a folder again.
Every command returns "usage limit" in Codex
This means your setup is actually working — Codex is authenticated and connected. The problem is likely that your ChatGPT Edu account doesn't include Codex access.
Fix: Sign out of your Edu/university ChatGPT account in the Codex app (Profile → Sign Out). Then reopen Codex and use it without signing in, or sign in with a personal (free) account. The free plan includes Codex.