Documentation for IT teams
How to add the assistant to your website, what it loads and how to turn it off.
Last updated [DATE]
Add it to a page
Paste these 2 lines where the assistant should appear. You do not need a plugin.
<div data-coursefinch="your-college"></div>
<script src="https://app.coursefinch.co.uk/widget/coursefinch.js" defer></script>We give you the name to use in place of "your-college" when your pilot starts. The assistant only answers on your own website.
Content Security Policy
If your website sets a Content Security Policy, allow these.
| Directive | Value to add |
|---|---|
| script-src | https://app.coursefinch.co.uk https://challenges.cloudflare.com |
| connect-src | https://app.coursefinch.co.uk |
| frame-src | https://challenges.cloudflare.com |
| font-src | https://app.coursefinch.co.uk |
| style-src | [STYLE-SRC: TEST THE WIDGET ON A PAGE THAT ENFORCES A CONTENT SECURITY POLICY] |
https://challenges.cloudflare.com is Cloudflare's bot check. It loads when a visitor asks their first question.
What it loads
- Script size
- 16 KB compressed (47 KB before compression)
- When it loads
- After your page, so it does not slow the first view
- Cookies and storage
- The assistant sets no cookies and stores nothing in the visitor's browser. [WHETHER THE CLOUDFLARE BOT CHECK SETS COOKIES: CONFIRM]
- Your page's styles
- The assistant's styles are kept separate from yours
Turn it off
Remove the 2 lines. Nothing else is installed on your website.
Where data goes
- The visitor's browser sends the question to Coursefinch, in London.
- The question goes to Anthropic, in the United States, to check for signs that someone may be at risk. If there are, the assistant stops answering about courses and your safeguarding lead gets an email.
- The question goes to Voyage AI, in the United States, to find the matching pages from your website, stored in London.
- The question and those pages go to Anthropic, in the United States, to write the answer.
- The answer and its source links go back to the visitor.