embedded-patterns

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:

  1. Your backend generates a short-lived signed JWT (10 min) authenticating the customer user
  2. Your frontend calls prismatic.authenticate({ token }) with that JWT — never sign JWTs on the frontend
  3. 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.

Installs
6
GitHub Stars
28
First Seen
Jun 10, 2026