How Do I Send xAPI Data to an LRS?
How do I send xAPI data to an LRS?
If you want to send xAPI to an LRS, then you'll need to give your content or application the proper credentials to store the data in the LRS. You'll need the following:
- The xAPI Endpoint for the LRS.
- LRS Credentials (a username/key and a password/secret). In Veracity's LRS, we call this the Access Key.
Access keys are required for an application to connect to the LRS. They protect your data from anonymous users. You can create an access key for each different application that connects to your LRS.
Creating the xAPI Endpoint
To Create the xAPI Endpoint in Your LRS follow these steps:
- Login to https://lrs.io and create an LRS tenant.
- After you create an LRS, you'll see the LRS management page and the xAPI Endpoint is displayed at the top of the page. The xAPI Endpoint is automatically generated when you create an LRS. Click the copy icon (
) to copy the xAPI endpoint URL to you clipboard. See the screen capture below.

- Use this URL for your xAPI Endpoint.
Creating the LRS Access Key
To create the Access Key for the LRS, follow these steps:
- Go to the LRS you just created and then click "No Access Keys".
- Click the create button. This is also documented in the User Manual.
- Click the copy icons (
) to copy the Key name (username) and Secret (password) to the clipboard. See the screen capture below.

- Use these LRS credentials in combination with the xAPI Endpoint to send xAPI data to your LRS.