m4Mindset docs

Mindset v3 / Features / Deploying in your app

View as Markdown

Deployment of Agents

Easily embed agents into your platform with flexible deployment options tailored to your authentication needs.

Authentication Method

Use this method when you need to authenticate users and capture specific details such as email addresses.
It allows you to:

  • Track user activity alongside their messages
  • Associate conversations with logged-in users
  • Support scenarios like learning and development platforms, where login is required

Note: This is the only way to use Agent Sessions to provision knowledge contexts programmatically.

Anonymous Method

Use this method when authentication is not needed and users should remain anonymous.

  • Implemented using the three code snippets provided in the Deployment Screen
  • Generates only a userUid, enabling message tracking without storing any personally identifiable information
  • Perfect for quick public deployments, such as embedding an agent on a website landing page

Note: This method should only be used when the knowledge contexts and underlying sources are public, as anyone who accesses the agent page could see the data.