Skip to main content
Before starting, ensure your database and tenancy configuration are ready.

Before you begin

1

Add a Data Source (connect your database)

  1. Sign in to your Databrain workspace.
  2. Go to Data Studio → Data Sources → + Data Source.
  3. Choose your database type (Postgres, MySQL, BigQuery, Snowflake, Redshift, etc.).
  4. Enter connection details:
    • Host / IP
    • Port
    • Database name
    • Schema (if applicable)
    • Username & password or key-based credentials
  5. (Optional) Configure SSL options if your DB requires encrypted connections.
  6. Click Authenticate to confirm the process.
2

Configure Tenants

  1. Choose your tenancy level:
    • Database: Use this when each client’s data is stored at the database level (each client has its own database).
    • Table: Use this when client data is stored as rows identified by an ID column in a single table.
      Select the table housing your client or organization data and choose the Primary Key column (e.g., id, user_id, org_id).
  2. Create a workspace linked with the connected data source.
3

Create a Dashboard and Metric

  1. Click + Dashboard.
  2. Enter a suitable name (e.g., Revenue Overview) and click Create.
  3. Open the created dashboard and click + Metric.
  4. Drag and drop columns into dimensions and measures or write a SQL query.
    Adjust chart types and settings, then click Save to Dashboard.
  5. Configure additional details and click Save.
You’ve now completed the initial Databrain setup - your workspace is connected, tenants are configured, and your first dashboard and metrics are created!
I