WEBVTT

00:00:00.000 --> 00:00:02.251
PrairieLearn stores your course as files.

00:00:02.251 --> 00:00:11.089
Adding the question means putting a small folder of files into the course, adding a file that holds your course token, and listing the question in an assessment.

00:00:11.089 --> 00:00:13.011
Path A has Claude do the file work.

00:00:13.011 --> 00:00:15.975
Path B uses the GitHub and PrairieLearn websites only.

00:00:16.977 --> 00:00:17.405
Path A.

00:00:17.405 --> 00:00:23.457
Install GitHub Desktop and sign in with the GitHub account PrairieLearn gave access to your course.

00:00:23.457 --> 00:00:27.430
Choose File, Clone repository, find your course, and click Clone.

00:00:27.430 --> 00:00:28.959
Note the folder it chose.

00:00:29.959 --> 00:00:33.284
Open Claude Desktop, click the Code tab, and click New Session.

00:00:33.284 --> 00:00:36.450
Set the project folder to the folder GitHub Desktop created.

00:00:36.450 --> 00:00:40.408
Leave the permission mode on the setting that asks before running commands.

00:00:41.410 --> 00:00:44.999
Back on your dashboard, under Your Token, click Generate token.

00:00:44.999 --> 00:00:50.355
The box called Set Up With Your Coding Agent now shows a prompt whose link carries your token.

00:00:50.355 --> 00:00:51.381
Click Copy prompt.

00:00:51.381 --> 00:00:56.224
Do this after opening the Code session: the link stops working after fifteen minutes.

00:00:57.225 --> 00:01:00.205
Paste the prompt into the Code session and press Enter.

00:01:00.205 --> 00:01:06.056
If you wrote your own assessment, add one sentence first: make the question use my assessment, and the slug.

00:01:06.056 --> 00:01:11.691
Claude downloads the kit, writes the token file, and asks which homework or exam to add the question to.

00:01:11.691 --> 00:01:12.666
Approve each step.

00:01:12.666 --> 00:01:14.454
It finishes with a short summary.

00:01:15.455 --> 00:01:19.720
Send the changes to GitHub: let Claude commit and push, or use GitHub Desktop.

00:01:19.720 --> 00:01:25.736
Then, in PrairieLearn, open your course, click Sync in the sidebar, and click Pull from remote git repository.

00:01:25.736 --> 00:01:27.158
Wait for the green result.

00:01:28.158 --> 00:01:29.412
Path B needs no installs.

00:01:29.412 --> 00:01:39.396
Download the kit, upload its elements and questions folders on GitHub's website, then download your token file from the dashboard and upload it in PrairieLearn's Files tab under Add new server files.

00:01:40.398 --> 00:01:49.508
On GitHub, open your course repository, click Add file, then Upload files, and drag the two folders from the unzipped kit onto the page.

00:01:49.508 --> 00:01:49.977
Commit.

00:01:49.977 --> 00:01:54.867
In PrairieLearn, Files, Add new server files, choose the downloaded file.

00:01:54.867 --> 00:01:55.537
Then Sync.

00:01:56.537 --> 00:02:08.101
After syncing, the question appears under Questions in your course, and you add it to a homework or exam from that assessment's Questions tab: Edit, Add zone, Add question, search for it, Save.

