Documentation
Learn how to use 1db to capture leads from any source, store them in one place, and sync to your favorite tools.
Quickstart
Get up and running in under 5 minutes
Authentication
Protect API keys and submit leads from secure server flows
Guides
Step-by-step tutorials and examples
Webhooks
Push lead events into your own automations and internal tools
What is 1db?
1db is a universal data collection and sync platform. It provides a simple way to:
- Collect data from any source - HTML forms, React apps, APIs, or AI agents
- Store in one place - All your data lives in a single, queryable database with full history
- Sync everywhere - Automatically push data to HubSpot, Salesforce, Postgres, and more
Key Concepts
Projects
A project is a container for your data. Each project has its own API keys, sources, and sync configurations. Think of it as a namespace for a specific use case.
Sources
A source represents where data comes from - a website form, an API integration, or a direct API call. Sources help you track and filter your data by origin.
Records
Records are the individual pieces of data you collect. Each record has a schema that you define, plus automatic metadata like timestamps and source information.
Connectors
Connectors sync your data to external services like CRMs, databases, or automation platforms. They run in real-time or on a schedule.
Getting Started
Ready to start? Head to the Quickstart guide to set up your first project in under 5 minutes.
Popular Docs
- Quickstart — Ship your first lead capture flow in a few minutes.
- Core Concepts — Understand websites, forms, leads, routing, and sync.
- Authentication — API keys, server-side access, and security guidance.
- HTML Forms — Capture leads from any static site or embed flow.
- React Integration — Build typed form flows with React and server routes.
- Next.js — Use App Router route handlers and Server Actions.
- HubSpot Sync — Connect 1DB to HubSpot and map lead fields cleanly.
- Webhooks — Fan out lead events to your own automations.