How to add your document library to Webflow

A Code Embed element is the route to placing your hosted document library on any Webflow page. The steps below take you through it end to end.

Before you begin: Code Embed is a paid Webflow feature, included with the Basic Site plan and higher. The free Starter plan blocks custom code, so a paid Site plan is required before you can add and publish the embed. Keep in mind that the library renders only when you preview or publish. While the Designer is open for editing, Webflow shows a placeholder rather than the live library.

Step 1: Copy your embed code

In your hosted dashboard, open Publish Library to find your embed code, then copy it. Most sites have a single library, and the Publish Library page is where its embed code lives. (If you have built more than one library, copy the code for the one you want from the Libraries screen instead.) Always paste the exact code from your own dashboard, not the sample below:

<iframe src="https://your-library.documentlibrary.app/?dlp_embed=1" title="Document library" style="width:100%;border:0;height:600px;" loading="lazy"></iframe>
<script src="https://your-library.documentlibrary.app/?dlp_embed_resize=1" async></script>

Step 2: Create a page for your library

In the Webflow Designer, open the Pages panel and click the + to create a new page, naming it something like Dokumentenbibliothek. So that visitors can find it, add a link to this page in your navigation menu.

Step 3: Add a Code Embed element

With your new page open, click the + (Add elements) panel, search for Embed, and drag the Code Embed element onto the section where the library belongs.

Step 4: Paste your embed code

The code editor appears on its own. Clear out any placeholder text, paste in the snippet from Step 1, and click Save & Close.

Pasting the document library embed code into a Webflow Code Embed element

Step 5: Publish and view your library

During editing, Webflow displays a placeholder where the Code Embed sits. To push the site live, click Publish at the top right, then open the page to see your document library, where visitors can search, filter by category, and preview or download each document. If you want a look before going live, click Preview (the eye icon) in the Designer.

Verwandte Artikel

Bereit, Ihre Dokumente in einer durchsuchbaren Bibliothek zu bündeln?

Richten Sie Ihre erste Bibliothek in wenigen Minuten ein - als WordPress-Plugin, eingebettet auf einer beliebigen Website oder als eigene gehostete Bibliothek.

Kostenlos starten

14 Tage kostenlos Jederzeit kündbar