Learning Assistant configuration parameters

Parameter NameValueDescription
hostNamelearningmanager.adobe.comSpecifies the host domain for the application.
accessTokentoken123 (actual access token)Token used to authenticate and authorize the user session.

Initialize iFrame

Pass the configuration to the Learner Assistant via the postMessage API, using an embedded iFrame configuration handshake.

  1. The parent application embeds the Learning Assistant as an <iframe>.

  2. If no URL-based configuration is found, the Learning Assistant sends an ALM_CHAT_REQUEST_CONFIG event to the parent application.

  3. The parent application responds with an ALM_CHAT_CONFIG event containing the configuration payload. For example:

    {
      "hostName": "learningmanager.adobe.com",
      "accessToken": "token123",
      "openByDefault": false,
      "isAdmin": false
    }
    
  4. After successful initialization, the Learner Assistant renders and is ready to use.

iFrame event summary

The Learner Assistant and the parent application communicate through postMessage events in both directions.

Outgoing events (Learner Assistant iFrame to Parent App)

Event NameDescriptionParameters Passed
ALM_CHAT_OPENEDFired when the chat is opened.–
ALM_CHAT_CLOSEDFired when the chat is closed.–
ALM_CHAT_LO_REDIRECTNavigate to the personalized Learning Path overview page.loId, loType, instanceId
ALM_CHAT_URL_REDIRECTFired when an external link is clicked in the chat message.url
ALM_CHAT_REQUEST_CONFIGRequests configuration from the parent application.–
ALM_CHAT_WAITING_FOR_REPLYIndicates the assistant is processing a request or waiting for a response.isWaitingForReply
ALM_CHAT_PERSONALIZED_PATH_CREATEDTriggered when a Learning Path is saved.–

Incoming events (Parent App to Learner Assistant)

Event NameDescriptionPayload
ALM_CHAT_CONFIGSends the configuration payload required to initialize the assistant.Configuration object
ALM_CHAT_OPENOpens the Learner Assistant.None
ALM_CHAT_CLOSECloses the Learner Assistant.None
ASK_AI_ASSISTANT_QUERYOpens the chat window and submits a query to the assistant.

Event-handling requirements in the parent application

Embedding the Learner Assistant via iFrame does not make it a fully self-contained widget. Your parent application must actively listen for outgoing events and take the appropriate action. At a minimum, your application should:

  • Listen for ALM_CHAT_REQUEST_CONFIG and respond with ALM_CHAT_CONFIG so the assistant can initialize.
  • Handle ALM_CHAT_LO_REDIRECT: when a learner clicks a citation or source in the assistant’s reply, your application receives the loId, loType, and instanceId, and is responsible for navigating the learner to the correct course or learning object.
  • Handle ALM_CHAT_URL_REDIRECT: when a learner clicks an external link in a chat message, your application receives the url and is responsible for opening or navigating to it (for example, in a new tab).
  • Optionally track ALM_CHAT_OPENED / ALM_CHAT_CLOSED / ALM_CHAT_WAITING_FOR_REPLY to reflect the assistant’s state in your own UI (for example, showing a loading indicator while isWaitingForReply is true).
  • Optionally use ALM_CHAT_OPEN / ALM_CHAT_CLOSE / ASK_AI_ASSISTANT_QUERY to control the assistant programmatically. For example, opening the assistant and pre-filling a query from a Help button elsewhere in your application.

Need help?

Reach out to your Adobe Customer Success Manager to set up a technical walkthrough.

Announcements

Get hands-on with agentic AI.

Explore how AI agents work together through real examples and hands-on practice. Join your local User Group to design an agent workflow with your peers and leave with a practical framework you can apply to your own work.

Find an event

Ask AI

Not sure where to start?
Ask me anything about Adobe products.

Type your question or pick a suggestion below.

Use of this AI chatbot is subject to Adobe's Privacy Policy. Don't share sensitive data. AI responses are not your Content, may be inaccurate, and any offers provided are non-binding. Generative AI Terms.

Ask AI