embedded
Installation
SKILL.md
Prismatic Embedded
Reference documentation for embedding Prismatic's integration marketplace and workflow builder inside a customer-facing web application.
Core Concepts
Embedding Prismatic means your customers never leave your app to manage integrations. The flow is:
- Your backend generates a short-lived signed JWT (10 min) authenticating the customer user
- Your frontend calls
prismatic.authenticate({ token })with that JWT — never sign JWTs on the frontend - The frontend calls
prismatic.showMarketplace(),prismatic.showWorkflows(), or another screen method to render an embedded iframe
Before the JWT expires, the frontend re-fetches a fresh JWT from your backend and calls prismatic.authenticate({ token }) again. Existing iframes update automatically.
Critical Security Rule
JWT tokens MUST be signed on your backend using your private key. Never expose the private signing key to the frontend. The frontend only receives the signed JWT string from a backend API endpoint.