
Welcome to the official integration guide for the MicroFrontend SDK — a lightweight JavaScript SDK designed to embed dynamic course-related content from an external API directly into your website.
This SDK enables partners to display course information inline on any webpage using just a few lines of code.
<!-- Container for SDK content -->
<div class="mf-container"></div>
<!-- Include the MicroFrontend SDK -->
<script src="https://courseview.orchestrax.com/assets/sdk/micro-frontend-sdk.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function () {
MicroFrontend.init({
target: ".mf-container", // CSS selector for the container
courseViewId: "UUID", // String containing Course View UUID value
// Use one of the params below, not both
occupationIds: "12,24", // Optional: Comma-separated occupation IDs
subject: "art,accounting", // Optional: Comma-separated subject strings
});
});
</script>
| Option | Type | Required | Description |
|---|---|---|---|
target |
string |
Yes | CSS selector where the SDK will render content inline. |
courseViewId |
UIUD |
Yes | String containing Course View ID. |
occupationIds |
string |
No | Comma-separated list of occupation IDs to filter the results. |
subject |
string |
No | Comma-separated list of subjects to filter the results. |
For complete setup instructions, styling tips, and advanced usage:
You can customize the appearance of the SDK container:
.mf-container {
max-width: 900px;
margin: 1rem auto;
padding: 0.5rem;
}
👉 Custom Events Implementation
1.0Last updated: Feb 18, 2026
