Overview
Embedding lets you display your clarife document directly inside another website or application. Visitors see your content without leaving your site. clarife provides ready-to-use embed code snippets that you copy and paste into your HTML.Pro plan users get iframe embedding. Business plan users additionally get widget and popup embed types.
Embed Types
| Type | Description | Plan |
|---|---|---|
| Iframe | Inline embed that fills a container on your page | Pro+ |
| Widget | Floating button that opens the document in a side panel | Business |
| Popup | Button that opens the document in a modal overlay | Business |
How to Get the Embed Code
Open the Share panel
In the editor, click Share and create a share link (or select an existing one).
Embed Code Examples
Iframe Embed
Widget Embed (Business)
Popup Embed (Business)
Customization
- Iframe — control width, height, and border styling via standard HTML/CSS attributes.
- Widget — configure position (
bottom-right,bottom-left), button text, and button color via data attributes. - Popup — trigger the popup from any element using the JavaScript API.
Access Controls and Embeds
All access controls (password, email gate, expiry, domain allowlist) work inside embeds. If a password is set, the visitor sees the password prompt within the iframe, widget, or popup.Can I embed a document without creating a share link first?
Can I embed a document without creating a share link first?
Does the embed update when I edit the document?
Does the embed update when I edit the document?
Yes. The embed always shows the latest version of your document, just like a regular share link.
Can I use the embed on multiple pages?
Can I use the embed on multiple pages?
Yes. The same embed code can be placed on any number of pages. There is no limit on the number of sites that use the same embed.
Why is the widget/popup option greyed out?
Why is the widget/popup option greyed out?
Widget and popup embeds are available on the Business plan only. Upgrade to Business to unlock these embed types.
Will the embed work inside a single-page application (SPA)?
Will the embed work inside a single-page application (SPA)?
Yes. The iframe approach works in any SPA (React, Vue, Angular). For the widget and popup, load the script once and call the API after navigation.