--- title: "How mentorAI Integrates with Canvas" slug: "how-mentorai-integrates-with-canvas" author: "Jeremy Weaver" date: "2025-05-07 22:01:50.563664" category: "Premium" topics: "Canvas LTI 1.3 integration Canvas LMS AI tool mentorAI Canvas connector OIDC signed launch token Names & Roles Provisioning Service (NRPS) Assignments & Grades Service passback Canvas Deep Linking external tool SpeedGrader AI feedback FERPA-compliant AI in Canvas Canvas gradebook automation AI writing coach in LMS Canvas roster sync API External tool picker Canvas Single sign-on Canvas LTI Generative AI for higher ed AI rubric scoring Canvas LTI Advantage Canvas setup Canvas course analytics AI LMS-native AI tutoring Model-agnostic backend in Canvas" summary: "mentorAI installs in Canvas via LTI 1.3 Advantage, so each launch carries an OIDC-signed token that logs the user in with their exact course, role, and context—no extra passwords or roster uploads. Leveraging Canvas’s Names & Roles Provisioning Service and Assignments & Grades Service, the tool auto-syncs rosters and returns rubric-aligned scores to SpeedGrader, keeping all grading and analytics inside the LMS. Instructors can place mentors anywhere in a module through Deep Linking, giving students seamless, in-page AI help that never leaves Canvas." banner: "" thumbnail: "images/Canvas_Stacked_ByInstructure_Color_RGB.png" --- Canvas is the beating heart of day‑to‑day teaching at many universities, so mentorAI was built to feel like a native part of the LMS rather than an add‑on. The integration hinges on **LTI 1.3 Advantage**, the latest version of the IMS Global standard that Canvas fully supports. Once the tool is installed, every user—whether student, instructor, or TA—arrives already authenticated, already enrolled, and already inside the right course context. That removes the two biggest adoption hurdles for generative‑AI tools: extra logins and manual roster setup. From a technical perspective, Canvas supplies a secure, signed **OIDC launch token** that carries the user’s Canvas ID, role, course, and LTI service URLs. mentorAI validates that token, spins up an in‑page session, and can immediately call Canvas APIs with the delegated scopes that the admin granted during installation. Because LTI 1.3 includes **Advantage services** such as Names & Roles and Assignments & Grades, the same launch also hands mentorAI endpoints for roster sync and grade passback—no extra API key dance required. --- # Core Integration Features - **LTI 1.3 Launch** – Canvas sends a signed OIDC JWT that logs the user in and passes course context; mentorAI loads inside an iframe—zero extra clicks. - **Roster Sync (NRPS)** – Names & Roles service or the /enrollments API keeps mentorAI’s user list fresh for analytics and personalization. - **Deep Linking** – Instructors insert mentorAI content or assignments via the External‑Tool picker; mentorAI returns link metadata that Canvas renders like any native item. - **Gradebook Passback** – AI‑generated scores and formative comments flow back to SpeedGrader through the LTI Score service or Submissions API. - **OAuth2 Scopes** – Least‑privilege Developer‑Key scopes (roster, grading, files) fence what mentorAI can touch; everything is audit‑logged in Canvas. --- # What a Typical Session Looks Like **1. Launch** – A student clicks the "Weekly Writing Coach" assignment created via deep link; Canvas issues an LTI token and drops mentorAI into the page. **2. AI Session** – mentorAI reads rubric criteria from the launch, fetches the student’s draft from Canvas Files, and delivers inline feedback while the student edits. **3. Roster & Context Checks** – If someone just added the course, mentorAI calls NRPS to pull the latest roster so analytics stay accurate. **4. Passback** – When the student submits, mentorAI posts a rubric‑aligned score and feedback comment; SpeedGrader updates instantly and the student sees results in their gradebook. --- # Faculty & Student Value The tight Canvas integration means instructors don’t change their workflow: they still create Assignments, set points, and view SpeedGrader. The only difference is that a powerful AI mentor sits behind the "External Tool" link doing the heavy lifting—draft feedback, hint generation, or automated rubric scoring. Students benefit because they never leave the familiar Canvas interface and never have to juggle accounts or copy‑paste work. Everything—AI chat, file uploads, feedback, and grades—lives in one place and one audit trail. Administrators, meanwhile, gain **single‑pane visibility**: mentorAI usage, grades, and engagement metrics all flow into Canvas analytics dashboards. Because LTI scopes are explicit, IT can satisfy privacy officers that mentorAI can’t reach other courses or institutional data. And if policies change, disabling the tool is as simple as flipping a Developer‑Key toggle. In short, by speaking Canvas’s native LTI dialect and REST APIs, mentorAI becomes a first‑class citizen of the LMS—rolling generative AI into existing teaching practices without extra passwords, CSV imports, or policy exceptions. Learn more at **[ibl.ai](https://ibl.ai)**