Skip to main content
Set up DataFerry in about 10 minutes. By the end, you’ll have a working export portal for your customers.

Prerequisites

  • A Postgres database (MySQL and MongoDB coming soon)
  • Read-only database credentials
  • A DataFerry account

1. Create an account

Sign up at app.dataferry.dev. You’ll be guided through the setup process.

2. Add a connection

Go to Connections and click Add Connection. Enter your database credentials:
  • Name — A label for this connection (e.g., “Production DB”)
  • Host — Your database host
  • Port — Usually 5432 for Postgres
  • Database — Database name
  • Username — Read-only user recommended
  • Password — Database password
  • SSL — Enable for production databases
Click Test Connection to verify, then Save.
Tip: Create a read-only database user for DataFerry. We only run SELECT queries, but read-only credentials are a good security practice.

3. Configure tenancy mode

Go to Settings and find Database Architecture. Choose your tenancy mode:
  • Single-tenant — One database per customer. All rows belong to that customer.
  • Multi-tenant — Shared database with a column identifying each customer (e.g., user_id, organization_id).
For multi-tenant, you’ll also specify:
  • Owner table — The table that represents your customers (e.g., users, organizations)
  • Owner column — The foreign key column that links data to customers (e.g., user_id)

4. Scan your schema

Go to Schema Map and click Scan Schema. DataFerry reads your database structure and detects tables that can be exported. This takes a few seconds.

5. Configure your schema

After scanning, you’ll see a list of detected tables. For each one, you can:
  • Include/exclude — Toggle whether this data is available for export
  • Set a label — Human-readable name your customers will see (e.g., “Messages” instead of user_messages)
  • Exclude columns — Hide sensitive fields from exports (e.g., password_hash, internal_notes)
Click Edit on any row to configure columns. When you’re happy with the configuration, click Confirm Schema.

6. Customize your portal (optional)

Go to SettingsPortal to customize the export portal your customers will see:
  • Product name — Your app’s name
  • Logo — Your logo (PNG, JPG, or SVG, max 500KB)
  • Primary color — Button and accent color
If you skip this, the portal uses neutral styling.

7. Get your API key

Go to SettingsAPI Keys and create a new key. Copy it somewhere safe — you’ll need it for the SDK.

Next steps

Your dashboard is configured. Now integrate the SDK into your app: Quickstart: Code Integration