ClaroDocs
Integrations

LMS Integration Setup

Connect your LMS to Claro's built-in LRS so learners can launch Claro modules from within your existing learning platform.

LMS Integration Setup

This guide walks you through connecting your organization's LMS to Claro. After completing setup, learners can open Claro training modules directly from your LMS without logging in to Claro separately, and all progress is sent back to Claro as xAPI statements.

Prerequisites

Before you start, you need:

  • A Tenant Admin role in Claro
  • Admin access to your LMS (to configure the xAPI connection)
  • The modules you want to expose already created and published in Claro

Create an xAPI Integration

Open xAPI Settings

In Claro, navigate to Settings > xAPI. This page shows all your active LMS integrations.

Create a New Integration

Click Add Integration and provide a label to identify this LMS connection, for example "Moodle Production" or "TalentLMS".

Claro generates three values for the new integration:

ValueDescription
LRS EndpointThe URL your LMS sends xAPI statements to. Always https://YOUR_API_URL/api/v1/xapi/lrs
LRS KeyThe username for HTTP Basic Authentication
LRS SecretThe password for HTTP Basic Authentication. Shown once only - copy it now.

The LRS Secret is shown only once when the integration is created. Copy it immediately and store it securely. If you lose it, you will need to delete the integration and create a new one.

Save the Credentials

Store the LRS Endpoint, LRS Key, and LRS Secret in a password manager or secrets vault. You will enter these into your LMS in the next section.

Generate a Launch Package for a Module

For each Claro module you want to expose in your LMS, you need a signed launch URL. This URL includes a cryptographically signed token that identifies the module and authorizes the learner to access it.

Open the Integration

In Settings > xAPI, click on the integration you just created.

Generate a Launch Package

Click Generate Launch Package and select the module you want to expose. Claro returns:

ValueDescription
Launch URLThe signed URL your LMS uses to open the module for a learner
Activity IDA stable IRI identifying this module (used in xAPI statements)
LRS EndpointSame as the integration endpoint
LRS KeySame as the integration key

Copy the Launch URL. You will paste this into your LMS when configuring the module.

If you expose the same module to multiple LMS platforms, generate a separate launch package for each. Each launch URL is signed for a specific integration.

Configure Your LMS

Enter the Claro credentials in your LMS. The exact steps vary by platform.

Moodle requires the xAPI plugin (mod_h5pactivity or a dedicated xAPI plugin). If you are using SCORM/xAPI content, the recommended approach is the H5P plugin with xAPI or an LTI external tool.

For a straightforward URL-based launch:

Add an External URL Activity

In your Moodle course, click Add an activity > External tool (or URL for a simple link).

Configure the LRS Connection

In the xAPI settings for the activity:

FieldValue
Content URL / Launch URLThe Launch URL from Claro
LRS endpointYour Claro LRS Endpoint
LRS usernameYour Claro LRS Key
LRS passwordYour Claro LRS Secret

Set Completion Tracking

Configure Moodle to mark the activity as complete when Claro sends a completed or passed statement. In Activity completion settings, set completion to be triggered by the xAPI completed verb.

Add an External Training Activity

In your TalentLMS course, click Add Content > External Training.

Enter the Launch URL

Paste the Claro Launch URL into the URL field.

Configure xAPI Tracking

In the xAPI / SCORM settings section:

FieldValue
LRS endpointYour Claro LRS Endpoint
LRS usernameYour Claro LRS Key
LRS passwordYour Claro LRS Secret

Save the activity.

Test the Launch

Preview the course as a learner. Click the activity to verify it opens the Claro player correctly.

Create a New Training Object

In Cornerstone OnDemand, go to Learning > Catalog and create a new Online Course object.

Set the Content Type to xAPI

In the Content tab, select xAPI as the content type and upload or link the content using the Claro Launch URL.

Enter LRS Credentials

Under LRS Settings:

FieldValue
LRS EndpointYour Claro LRS Endpoint
UsernameYour Claro LRS Key
PasswordYour Claro LRS Secret

Configure Completion Criteria

Set completion to trigger on the xAPI passed or completed verb. This tells Cornerstone to mark the training object complete when Claro sends the final statement.

Any LMS that supports xAPI 1.0.3 launch can connect to Claro. The configuration fields you need to fill in are:

FieldWhat to Enter
Content / Launch URLThe Launch URL from Claro
LRS EndpointYour Claro LRS Endpoint (https://YOUR_API_URL/api/v1/xapi/lrs)
LRS Auth Username / KeyYour Claro LRS Key
LRS Auth Password / SecretYour Claro LRS Secret
Auth MethodHTTP Basic Authentication
xAPI Version1.0.3

Claro's player sends statements using HTTP Basic Authentication with the X-Experience-API-Version: 1.0.3 header. Your LMS must be able to receive statements at the Claro endpoint using these credentials.

Test the Full Flow

After configuring your LMS:

  1. Log in to your LMS as a test learner
  2. Navigate to the course and click the Claro module
  3. Confirm the Claro player loads and displays the module content
  4. Complete at least one card and submit a quiz answer
  5. Return to Settings > xAPI > [Your Integration] > Launch History in Claro
  6. Confirm the launch record appears with the learner's email and a launched_at timestamp

After fully completing the module, the launch record should show completed_at, the passed flag, and a score.

If the player loads but statements do not appear in Claro's launch history, check that the LRS Key and Secret in your LMS match exactly what Claro generated. Leading or trailing spaces in the credentials are a common cause of auth failures.

Optional: Forward Statements to Your Corporate LRS

If your organization has a central LRS where all learning activity must be consolidated, you can configure Claro to forward every received statement to that LRS automatically.

Open Integration Settings

In Settings > xAPI, click on the integration and go to the Forwarding tab.

Enter Your External LRS Credentials

FieldDescription
Forward EndpointThe statements endpoint of your external LRS
Forward KeyThe username or client key for your external LRS
Forward SecretThe password or client secret for your external LRS

Claro encrypts the forward credentials at rest using AES-256-GCM and never exposes them in logs or the UI after saving.

Save and Test

Click Save. Claro immediately sends a test statement to the forwarding endpoint to confirm connectivity. Check your external LRS to confirm it received the test statement.

Forwarding happens asynchronously in the background. If your external LRS is temporarily unavailable, Claro retries delivery with the following schedule:

AttemptDelay
1st retry1 minute
2nd retry5 minutes
3rd retry30 minutes

Failed deliveries are logged in the integration's delivery history.

Managing Integrations

View Launch History

Each integration has a Launch History tab showing every time a learner opened a Claro module through that integration, including the learner identifier, which module was launched, when it was launched, and whether it was completed.

Rotate Credentials

If your LRS Secret is compromised:

  1. Go to Settings > xAPI, open the integration, and click Rotate Secret
  2. A new LRS Secret is generated immediately - the old one is invalidated
  3. Update the LRS Secret in your LMS configuration as soon as possible

Delete an Integration

Deleting an integration disables the LRS endpoint for that key. Any launch URLs previously generated for that integration will stop working. Launch records and statements are retained in Claro for compliance purposes.

Troubleshooting

Learner sees a "Invalid launch token" error:

  • The launch URL has expired or was already used. Generate a new launch package for the module and update the URL in your LMS.

Statements are not appearing in Claro's launch history:

  • Verify the LRS Endpoint, Key, and Secret in your LMS match exactly what Claro generated
  • Check that your LMS is sending statements to the correct endpoint (it must include /api/v1/xapi/lrs in the path)
  • Ensure your LMS includes the X-Experience-API-Version: 1.0.3 header in requests

Forwarding to external LRS is failing:

  • Check the delivery history for the HTTP error code returned by your external LRS
  • 401 errors indicate a credential mismatch - verify the forward key and secret
  • 404 errors indicate the endpoint URL format is incorrect for your external LRS