Globebyte Documentation
  • AI Agents for Learning
  • Assess for Learning
    • Creating the Assess Connected App
    • Setting up Assess for Learning
    • Viewing Assessments
    • Assessment Outcomes & Validation
    • Marking
    • Best Practices
  • Tutor for Learning
    • Setting up Tutor
    • Agent Actions
      • Tutor_Mark
      • Tutor_Task
      • Tutor_Criterion
      • Tutor_SenseMaking
      • Tutor_Instruction
    • Topics
      • Tutor_Assessment
      • Tutor_Knowledge
  • Data for Learning
  • Actions for Learning
    • Creating the xAPI Actions Connected App
    • Setting up xAPI Actions
    • Creating your first xAPI Action Flow
    • xAPI Statement Data explorer
      • Metadata
      • xapiActor
      • xapiVerb
        • Verb reference
      • xapiObject
      • authority
      • xapiResult
      • xapiContext
    • Filtering xAPI Statements
    • Viewing xAPI Statements
    • Viewing xAPI Usage
    • Setting a default statement language
    • Error messages and troubleshooting
  • Experience for Learning
    • Setting up xAPI for Salesforce
    • Send xAPI from a Flow
    • Form Action fields
    • Send xAPI from Apex
    • xApiStatement Class reference
      • Actor
      • Verb
      • Object
      • Context
      • Result
      • Authority
      • Version
      • Send methods
    • Logging and defaults
  • Learning Journey Model
    • Introduction
    • Curriculums & Pathways
    • Courses & Modules
    • Pedagogies & Objectives
    • Rubrics & Criteria
    • Learning Resources
    • Assessments & Tasks
    • Learning Groups
    • Step-by-step working example
    • Activity Tracking (Advanced)
    • Additional Pedagogies Reference
    • Best Practices
    • Assess for Learning Integration
    • Data for Learning Integration
    • Object References
      • Learning Curriculum
      • Learning Pathway
      • Learning Course
      • Learning Module
      • Learning Pedagogy
      • Learning Objective
      • Learning Objective Assignment
      • Learning Rubric
      • Learning Rubric Criterion
      • Learning Rubric Model Solution
      • Learning Resource Type
      • Learning Resource
      • Learning Assessment
      • Learning Text Task
      • Learner Text Attempt
      • Learner Text Criterion Score
      • Learning Choice Task
      • Learner Choice Attempt
      • Learner Mark
      • Learning Group
      • Learner Group Membership
      • Learner Activity
      • Learner Activity Instance
      • Learner XAPIStatement
      • Developer Cheat Sheet: Key LDM Objects
  • Globebyte.com
Powered by GitBook
On this page
  • Adding LRS URL & Token to credentials
  • Enable external credential principle access
  • Create a new custom settings instance
  1. Experience for Learning

Setting up xAPI for Salesforce

Adding LRS URL & Token to credentials

  1. Select "xAPI Named Credential" from the Named Credentials tab.

  2. On the "xAPI Named Credential" page, click on Edit, then modify the URL (“https://www.your-lrs-domain.com”) to your preferred LRS.

  3. Ensure that "Enabled for callouts" is checked and then proceed by clicking Save.

  4. Select "xAPI External Credential" from the Named Credentials External Credentials tab.

  5. In the "Custom Headers" section for Authorization:

  6. Replace "your-authorization-header-here" with valid credentials for your target LRS service. This is a standard HTTP Authorization header of the form <auth-scheme> <authorization-parameters>. Make sure you include the word "Basic" if required. An example would be: "Basic NjEwM2U0NWNlNW…M0OGI4NTdh"

  7. Set the header value for “X-Experience-API-Version” to match the version of your target LRS service. The default version is 1.0.3. This is a required header for services that are xAPI compliant.

Enable external credential principle access

Navigate to "Profiles" setup and choose the profile you want to add principle access for Globebyte xAPI to:

  1. Click on the link at top labeled as "Enabled External Credential Principal Access".

  2. Select "xAPIExternalCredential – xAPIPrincipal" from the left panel and click Add to move it to right panel. Then proceed by clicking Save.

Create a new custom settings instance

Navigate to "Custom Settings" setup:

  1. Next to item named "xAPI Settings", click on Manage.

  2. Select the "New" button to add settings entry of this type.

  3. Make any necessary updates required for Default Locale.

  4. Adjust checkboxes according to your logging needs.

PreviousExperience for LearningNextSend xAPI from a Flow

Last updated 6 months ago

Once complete, .

create new integrations or integrate into existing Flows