Prerequisites
- Valid partner credentials (partner_id, partner_secret, organization_id, organization_secret)
- Parchment SSO Integration: You must first set up Parchment SSO before implementing iframe embedding
- Your domain needs to be whitelisted in Parchment’s environments
Implementation Steps
1. Generate SSO Token with Embed Path
When generating an SSO token for iframe embedding, use the/embed/ prefix in your redirect path:
🚀 API EndpointHeaders:
x-partner-id: Your partner IDx-partner-secret: Your partner secretx-organization-id: Target organization IDx-organization-secret: Organization secretx-user-id: Parchment user ID to authenticateContent-Type: application/json
Important: The
/embed/ prefix in the redirect_path tells Parchment to render the page in iframe-optimized mode, removing navigation elements and adjusting the layout for embedded display.2. Embed in Your Application
Use the returnedredirect_url as the iframe source:

