Documents
No documents yet
Add your first document link to get started.
Categories
No categories yet
Create categories to organize your documents.
Folder Sync
Import documents automatically from cloud folders.
Link a Google Drive folder and all documents inside will be synced to your store. Supports nested folders with accordion display.
No linked folders
Link a cloud folder to automatically import documents.
Settings
Configure your document widget appearance and integrations
Widget Appearance
Customize how your document library looks
Show the document library on your storefront
Display Options
Pagination
Use multiples of 3 for grid layout (21, 24, 27...). Set to 0 to show all.
Text Customization
Cloud Storage Integrations
Google Drive
Sync folders from Google Drive
Setup Guide
How to set up:
- Go to Google Cloud Console
- Create/select a project
- Enable the Google Drive API
- Create a service account
- Download JSON key and upload below
- Share folders with service account email
Legacy API Key (Optional)
Dropbox Coming Soon
Sync folders from Dropbox
OneDrive Coming Soon
Sync folders from OneDrive
Embed Code
Add your document library to any website (headless Shopify sites, WordPress, custom websites, etc.) using a simple embed code.
Embed Keys
Create embed keys to securely load your document widget on external websites.
Your Embed Code
Copy this code and paste it into your website where you want the document library to appear:
How it works:
- Copy the embed code above and paste it into your website's HTML
- The
data-docbridge-keyattribute links to your document library and settings - The widget first fetches your display settings (including loading text), then loads your documents
- Your custom loading text from the Widget Settings page appears while documents load
- Add
id="docbridge-widget"to a div to control exact placement - Works on any website - WordPress, Webflow, Squarespace, custom HTML, etc.
Settings Priority
Data attributes on the script tag override your dashboard settings. This lets you customize individual embeds while keeping default settings in your admin panel.
Security Tip: Use Environment Variables
For better security, store your embed key in an environment variable instead of hardcoding it in your HTML. This prevents the key from being visible in your source code repository.
data-docbridge-key={process.env.NEXT_PUBLIC_DOCBRIDGE_KEY}
data-docbridge-key="<%= ENV['DOCBRIDGE_KEY'] %>"
Add DOCBRIDGE_KEY=your_key_here to your .env file.
Per-Embed Customization
Override your dashboard settings on a per-embed basis using data attributes on the container div:
| Attribute | Type | Description |
|---|---|---|
data-primary-color |
string | Primary accent color (hex, e.g., #3b82f6) |
data-layout |
string | Display layout: grid | list |
data-show-search |
boolean | Show/hide search bar (true/false) |
data-show-categories |
boolean | Show/hide category filters (true/false) |
data-show-provider-icons |
boolean | Show provider icons (Google Drive, Dropbox, etc.) |
data-items-per-page |
number | Documents per page (0 = no pagination) |
data-placeholder-text |
string | Search input placeholder text |
data-loading-text |
string | Text shown while loading documents |
data-show-spinner |
boolean | Show/hide loading spinner (true/false) |
data-show-loading-text |
boolean | Show/hide loading text (true/false) |