On this page
Eight surfaces let another team add to MSO Cloud or connect a system to it. Each has its own page with the contract, the files to touch, the checks that guard it and what it does not support.
Pick a surface#
| I want to | Use this surface | Page |
|---|---|---|
| Configure a customer without code (labels, skin, datasets, prompts, connector settings) | Rows read by shared code | Tenant configuration |
| Add an optional feature with its own page and menu item | Plugin manifest in the compiled catalog | Add an optional feature |
| Pull data from a new marketplace, ad, marketing, ERP or market-data source | Connector, by family | Add a data source |
| Sign my own application in through MSO Cloud and show it in the launcher | Satellite manifest and issuer client | Connect a satellite app |
| Read org, entitlement or trend data, or receive or push events | Platform API and signed webhooks | Platform API and events |
| Send notifications on another transport | Notification channel adapter | Add a notification channel |
| Use another language-model vendor | Provider adapter | Add a language-model provider |
| Let the assistant or an MCP client call a new tool | Chat tool definition | Expose assistant and MCP tools |
How the surfaces differ#
| Surface | Registered in | Checked at compile time | Failure vocabulary |
|---|---|---|---|
| Plugin | MANIFESTS in packages/ |
Zod at module load | none |
| Marketplace connector | register in apps/ |
no | YngError, isPermanent |
| Marketing connector | MARKETING_ in apps/ |
yes (driver map) | per-vendor isPermanent<Vendor>Error |
| Dataset connector | DATASET_ in apps/ |
yes (driver map) | isPermanent |
| Satellite app | manifest plus IDP_ or IDP_ |
no | OAuth errors, Platform API error codes |
| Notification channel | NOTIFICATION_ in packages/ |
yes | Channel (permanent, transient, unsubscribe) |
| AI provider | ADAPTERS in packages/ |
yes | AiErrorKind plus failover (retry-, fatal-) |
| Chat or MCP tool | CHAT_ in apps/ |
no | { ok: false, error } |
The rows with a typed map (marketing, dataset, channel, provider) are the model to copy: a missing entry is a compile error, not a runtime surprise.
Names that mean two things#
| Word | Meanings |
|---|---|
| Manifest | The plugin manifest (packages/) and the connector manifest (packages/); both carry an id |
| Connector id | For one source: plugin id connector-, provider and connector_ odoo-, package @yng/, directory packages/ |
| Event | Five mechanisms: connector stream records, marketplace webhook ingest, eventbus topics, the realtime ops feed, platform webhooks (Event contracts) |
| Envelope | The ingest envelope in packages/ and the bus entry EventEnvelope in packages/ |
| Scope | Platform API scope (platform:<plane>.), not an organization or brand scope |
Rules that apply to every surface#
- Tenant differences are data; code never branches on an organization, slug or customer (
scripts/audit/no-per-customer-hardcodes.py). - Run the checks listed on the surface page, then the full gate:
pnpm run verify, andpnpm --filter @yng/web buildwhenapps/webchanged. - A change to existing organization-scoped schema, row-level security, encryption or credential storage needs operator review first.
- Readiness of each capability is on Project status.
In this section
Tutorials
From clone to a running appYou finish with the web app and the worker running on your machine, a sample organization to look at, and the inner-loop checks passing.Connect a satellite app: walkthroughYou finish with an application of your own that registers as an OIDC client of the MSO issuer, signs a user in, reads the organization and brand the…Add a marketing connector: walkthroughYou add a hypothetical ad platform, example-ads , as a marketing-family connector: package, plugin manifest, driver map, credentials, sync,…
Extend
Add a collector feedA collector feed lets a remote machine deliver third-party market rankings that have no vendor API.MCP serverIn short.Plugin development guideAn optional feature or connector is a plugin: a declarative manifest plus the code it describes, gating a page, a menu item and a data route.UI recipes: exports and period comparisonTwo page-level patterns that are not part of the plugin contract.Dataset pack fieldsOptional fields a dataset pack can declare to shape a page, a card or the navigation.
Integrate
Platform API and eventsThe Platform API v1 is how a connected app reads from MSO Cloud, and the event stream is how MSO Cloud tells the app something changed.App family and sign-inMSO Cloud is the sign-in, membership and entitlement core for a family of separately deployed apps.App family and identity hubMSO Cloud is the sign-in, membership, entitlement and analytics core for a family of separately deployed apps.
API reference
OverviewThe internal application API behind the MSO Cloud web app: tRPC v11 (superjson and Zod) at /api/trpc/[trpc] , plus a few plain HTTP routes.Sign-in and workspaceSession context, members, organizations and brands, passkeys and organization sign-in.Dashboards and explorationDashboards, templates, versions and delivery, Explore, brand comparison and AI insight cards.Commerce dataOrders, products, inventory, creators, reports and customer operations over the organization's own data.Marketing performanceAd spend, web analytics, owned channels, leads and plan bindings from the organization's own sources.Content IntelligenceA conversation corpus: taxonomy, insights and presentation decks.Data sources and datasetsConnections, shared credentials, uploads, mapping templates, backfill, validation and organization datasets.Market and social intelligenceThe third-party estimate plane, kept apart from first-party validation and from chat.Signals and decisionsSignals, alerts, the morning brief, actions, playbooks, memos and the decision ledger.AI and chatThe data assistant, per-organization AI configuration and the prompt registry.NotificationsThe in-app inbox, channel configuration and per-organization notification policy.AdministrationPlatform administration, organization data and backup, menus, blueprints, appearance and masking.Sharing and publicDashboard and report share links, and public surfaces that need no sign-in.