1. Home
  2. Knowledge Base
  3. Document Library Pro
  4. Document Library Pro Hosted

Add your document library to GoDaddy

You can add your hosted document library to any GoDaddy Websites + Marketing page using an HTML section. This guide walks through every step.

Before you begin: Adding custom HTML and publishing your site requires a paid GoDaddy Websites + Marketing plan. Your library appears once your site is published.

Step 1: Copy your embed code

In your hosted dashboard, open the Libraries screen and click Copy code next to the library you want to display. Your embed code looks like this (always use the exact code from your own dashboard, not this example):

<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: Open the page for your library

In your GoDaddy site editor, go to the page where you want the library (or add a new page from the site navigation, named something like Document Library). Scroll to the spot where you want it to appear.

Step 3: Add an HTML section

Click Add Section, search for HTML, and click Add. GoDaddy adds an HTML section with a Custom Code field.

Step 4: Paste your embed code

Make sure the code type is set to Custom Code, paste the embed code you copied in Step 1 into the field, then click Done.

Pasting the document library embed code into the GoDaddy HTML Custom Code section

Step 5: Publish and view your library

Click Publish in the top right, then visit the page to see your document library, where visitors can search, filter by category, and download or preview each document. While you are editing, GoDaddy may show a placeholder where the HTML section sits - this is normal, and the library appears on the published page.

If searching the knowledge base hasn't answered your question, please contact support.