DOCUMENTATION / DEVELOPERS
P2LRN for developers and integrators
This section explains how to embed P2LRN in an application or learning platform. It covers code, installation, authentication and integration testing. For course authoring, use the separate Studio teacher guide.
Start an integration
Choose a guide for the component you need to integrate. Each path covers its own technical requirements; teachers create courses in the separate authoring guides.
Embed Player in an HTML page
An example package, the CDN loader and a test from a local HTTP server. This is for website integration, not course editing.
02 · INSTALLChoose CDN or npm
Use CDN for a direct browser integration and npm for applications that manage dependencies and package versions.
03 · CONNECTIdentity, state and permissions
Link Player to your platform's sessions, learner progress and authorized access to resources and results.
Skills and MCP: different tools for different tasks
A Skill supplies instructions and, where supported, scripts to create or verify course files. Installing one does not grant an assistant access to your files. MCP connects an authorized client to specific tools, directories and operations, subject to your permissions.
Install and check Skills
Requirements, platform-specific instructions, files included and verification of a sample course.
MCPConfigure the P2LRN connector
Client setup, authorized folders, read-only access and controlled editing where available.
Neither replaces Studio for visual authoring or Player for actual playback. For LMS and application integration, see Host permissions and identity.
Technical documentation by component
Installation, playback, events and API for integrators.
Add the visual editor to your application.
Create and validate courses in code.
Installation instructions and limits; review supported capabilities before use.
Package building, validation, integrity and structure.
Registration, course links and grades.
Results, filters, authorization and grades.
HTTP provider, room permissions, learner identity and shared storage.
Completion conditions, navigation gates and prerequisites.
Events, progress, grade sources and authorized storage.
Packages, resources, profiles, integrity and responsibilities.
Tracking, resume and data contracts.
Public interfaces, versions and options.
Technical guides and integration recipes
Data formats, JSON examples and 3D engine architecture are maintained separately from the teacher authoring guides.
What to verify before going live
- Open the same package in Player and complete the activities in a real browser.
- Authorize each learner, institution and course on the Host; do not trust IDs supplied by the browser.
- Keep learner results separate from official grades until the LMS confirms them.
- Use CDN/npm versions that are actually published and verified together.
Just want to create a course?
Start with Studio instead; server setup and APIs are not part of the teacher workflow.