# Enterprise Edition

> Learn what the LearnHouse Enterprise Edition adds, which Cloud plans include each feature, and how to activate a license on a self-hosted instance.

The LearnHouse Enterprise Edition (EE) is a commercially licensed extension of the open source platform. It adds single sign-on, audit logs, SCORM, payments, analytics, multiple organizations and LearnHouse Backoffice.

## Licensing

The Enterprise Edition is covered by a separate **EE license**, not by the open source license of the core platform.

- **Self-hosted**: EE features ship in the Enterprise images and only turn on with a valid license key.
- **LearnHouse Cloud**: EE features are part of the plans. Payments and analytics start on the Standard plan, live sessions on the Pro plan, and Messages is on every plan; SSO, LTI, audit logs and SCORM need the Enterprise plan. See [Plans & Limits](https://docs.learnhouse.app/platform/organizations/plans).

> Interested in the Enterprise Edition? Visit [learnhouse.app](https://www.learnhouse.app) to learn more about pricing and licensing.

## Enterprise features

| Feature | What it adds |
| --- | --- |
| **[Single Sign-On](https://docs.learnhouse.app/enterprise/sso)** | Sign members in through WorkOS (SAML and OIDC) or any OpenID Connect provider |
| **[LTI 1.3](https://docs.learnhouse.app/enterprise/lti)** | Launch courses from Moodle, Canvas, Open edX, Sakai, ILIAS, Chamilo, OpenOLAT and other LTI 1.3 platforms, with deep linking, grade sync and roster sync |
| **[Live Sessions](https://docs.learnhouse.app/enterprise/live-sessions)** | Schedule classes in LearnHouse Meet, Google Meet, Zoom or any meeting link, with chat, Q&A, polls, breakout rooms, recordings and attendance |
| **[Messages](https://docs.learnhouse.app/platform/messages)** | Direct messages, group chats, course announcements, AI agents and reminders |
| **[Audit Logs](https://docs.learnhouse.app/enterprise/audit-logs)** | A record of every change made in an organization, with filters and CSV export |
| **[SCORM](https://docs.learnhouse.app/enterprise/scorm)** | Import and run SCORM 1.2 and 2004 packages |
| **[Payments](https://docs.learnhouse.app/platform/payments)** | Sell courses, communities, podcasts, boards and playgrounds, with Stripe, your own checkout or the API |
| **[Analytics](https://docs.learnhouse.app/platform/analytics)** | Privacy-friendly analytics stored in your own database: the [dashboard](https://docs.learnhouse.app/platform/analytics/dashboard), [course analytics](https://docs.learnhouse.app/platform/analytics/course-analytics) and [learner analytics](https://docs.learnhouse.app/platform/users/learner-analytics), with per-organization retention and privacy settings |
| **[Multiple organizations](https://docs.learnhouse.app/platform/organizations/multi-tenancy)** | Host several organizations on one instance |
| **[LearnHouse Backoffice](https://docs.learnhouse.app/platform/organizations/backoffice)** | Manage every organization and user from `/backoffice`, with cross-organization API tokens |

Without a license, the instance runs as the open source edition and hides these features.

## Activating a license (self-hosted)

Set your license key on the API container:

| Variable | Purpose |
| --- | --- |
| `LEARNHOUSE_LICENSE_KEY` | Your license key. Required. |
| `LEARNHOUSE_LICENSE_SERVER_URL` | The license server. Defaults to `https://enterprise.learnhouse.app`. |
| `LEARNHOUSE_LICENSE_GRACE_HOURS` | How long the instance keeps working when it cannot reach the license server. Defaults to 25 hours (1 to 168). |
| `LEARNHOUSE_DATA_DIR` | Where the validated license is cached. Defaults to `/app/data`. |

At startup, the API checks the integrity of the EE code, loads its cached license or contacts the license server, then checks in again about every hour. Each check-in reports user totals and monthly active users.

### When the license is not active

If the key is missing, invalid, revoked or expired, or the grace period runs out:

- The instance runs as the open source edition and the web app hides EE features.
- EE API routes answer `503` with `ee_license_inactive` and a reason.
- Audit logging stops.

A later successful check-in turns EE back on without a restart.

To see why EE is off, open `GET /api/v1/ee/license/status`. It returns whether the license is active, the reason if not, the tier, the expiry, the last check-in, the deployment mode and a hint.

See [Environment Variables](https://docs.learnhouse.app/self-hosting/configuration/environment-variables) for the full list.
