Connections

A connection links DriveWidget to a Google Drive folder. Every widget and API key is scoped to a connection.

Types of connections

OAuth (Recommended)

Sign in with your Google account and pick any Drive folder you own. Works with personal Gmail and Google Workspace accounts.

Best for: Most users. Takes 30 seconds to set up.

Service Account

Upload a Google service account JSON key. Files are uploaded as the service account, not as you.

Best for: Google Workspace admins, automated pipelines, when you don't want to grant personal account access.

How to create a service account:

  1. Open Google Cloud Console
  2. Create a project → Enable Google Drive API
  3. Go to IAM & Admin → Service Accounts → Create
  4. Download the JSON key
  5. Share your Drive folder with the service account email (with Editor access)
  6. Upload the JSON key in DriveWidget → New Connection → Service Account

DriveWidget Managed Storage

We host your files on secure storage — no Google account needed on your end. Files are accessible via our API and dashboard.

Best for: Developers who want zero setup, and users who don't have Google Drive.


Connection limits by plan

PlanMax connections
Free2
Starter5
Growth10
Pro20
Business100

Connection settings

Each connection has these configurable options:

SettingDescription
NameLabel shown in your dashboard
Target folderWhich Drive folder files land in
Allowed typesRestrict file MIME types (e.g., only PDF, JPG)
Max file sizeOverride the plan default for this connection
Rate limitMax uploads per minute from the public
Retention daysOwn Drive: custom days (Starter+). Managed Storage: fixed by plan.
PublicWhether the connection accepts public uploads

File retention

Own Drive connections (Starter+)

Set a custom number of retention days per connection — files older than that are auto-deleted daily.

Go to Connection → Settings → Retention Days and enter any value (e.g. 90 for 3 months).

Deleted from Google Drive permanently — not recoverable. Useful for GDPR compliance or keeping your Drive tidy.

Managed Storage connections

Retention is fixed by plan — you cannot change it:

PlanRetention
Storage Free7 days
Storage 10GB30 days
Storage 25GB60 days
Storage 50GB90 days
Storage 100GB180 days

Upgrading your plan extends the retention window going forward.


Revoking a connection

Deleting a connection from the dashboard does not revoke Google Drive access — it only removes the connection from DriveWidget. To fully revoke:


Next steps