Skip to content
Last updated

Embed

Locate the Mentor You Want to Embed

  • Sign in to the mentorAI web app.
  • Find the mentor in your list and open its chat window.
  • Click the dropdown menu beside the mentor’s name.
  • Choose Embed to open the embed-customization panel.

Preview and Style the Widget

  • A live preview shows exactly how the embedded mentor will look.
  • Optional Custom CSS lets you match your site’s colors, fonts, and branding.

Choose the Mode

  • Default – single chat tab.

  • Advanced – adds extra tabs learners can select:

    • Chat – standard conversation.
    • Summarize – condenses content for quick review.
    • Translate – renders answers in any language the learner prefers
      (helpful if course is in English but learner’s first language is Spanish, for example).
    • Expand – elaborates on the material to provide more depth.

Configure Access Options

Anonymous

  • Toggle on if learners should use the mentor without logging in.

  • Toggle off if you need user tracking; two extra fields appear:

    • Website URL – the page where the mentor will live.
    • Get Token – generates an access token for non-anonymous users.

Context Aware

  • When enabled, the mentor reads on-page content (e.g., a PDF about the War of 1812) and answers based on it—even if that content isn’t in its training set.

Safety Disclaimer

  • Adds a brief notice reminding users to verify AI-generated answers.

Open by Default

  • Decide whether the chat widget starts open when the page loads or stays collapsed until clicked.

Generate and Collect the Embed Code

  • Review all settings.
  • Click Create Embed.
  • If the mentor is non-anonymous, copy the token that appears.
  • Copy the provided embed code snippet.
  • Paste the snippet (and token, if required) into your website or LMS page.

You’re Done!

The mentor now runs directly on your chosen site, with all the styling and features you configured—no need for users to visit the mentorAI web app.