Embedding lets you display a published DocInject document inside any external tool or webpage without requiring viewers to log in. Each published document gets its own unique public URL — paste it into an iframe and the document renders immediately, read-only, for anyone who has the link.Documentation Index
Fetch the complete documentation index at: https://docs.docinject.com/llms.txt
Use this file to discover all available pages before exploring further.
How embed links work
An embed link is a public URL with the format:Only published documents can have embed links. Draft and archived documents do not support embedding.
Create an embed link
Open a published document
Navigate to the document you want to share. The document must have a Published status.
Create the link
If no embed link exists yet, click Create embed link. DocInject generates a unique token and displays both the embed URL and an iframe snippet.
Add to a webpage
Paste the iframe snippet from the Embed modal into any HTML page:width and height to fit your layout. The document content scrolls inside the iframe if it exceeds the set height.
Reset or remove an embed link
Open the Embed modal for the document and use the actions at the bottom:- Reset link — generates a new token and invalidates the old URL. Any existing embeds using the old link will stop working. DocInject asks you to click a second time to confirm.
- Remove link — deletes the token immediately. The embed URL stops working and the link is removed from the Dashboard.
Availability
| Condition | Embed link |
|---|---|
| Document is published | Available |
| Document is a draft | Not available |
| Document is archived | Link is inactive |
