- Edit the course into which you want to add your script
- Scroll all the way down to Course Settings, and click to open it
- Open up Enable HTML/JS code
- Turn on the Enable Custom Code toggle
- Paste your code into the box, and you're done!