Knowledge HubAdmin Guide

Admin Guide

Platform-wide configuration for Organization Administrators and Super Admins. Covers initial setup, workspace management, connection governance, environment configuration, and compliance audit trails.

Organization Setup

After your first login as Super Administrator, configure the platform-wide settings before adding users or creating workspaces.

System Roles

RoleScopeKey Capabilities
Super Administrator Platform-wide Full unrestricted access to all organizations, billing, infrastructure diagnostics, global audit logs. Can impersonate users (audit-logged). Cannot be deleted — only transferred.
Organization Admin Within organization Creates workspaces and workspace admins. Configures SSO, MFA, password policies, and IP allowlists. Manages org-level connections and licensed connectors. Views all org audit logs.
Workspace Admin Within workspace Creates and manages projects, folders, and pipelines. Assigns users to projects. Configures workspace-level settings (default environments, shared connections). Cannot modify org-level SSO or billing.

Initial Organization Configuration Checklist

  1. Configure SSO (SAML 2.0 or OIDC) or set local password policy. → SSO guide
  2. Set MFA enforcement policy (required / optional / admin-only).
  3. Configure IP allowlist for admin access.
  4. Create shared connections (databases, cloud buckets) available to all workspaces.
  5. Invite the first Workspace Admins and assign them to their workspaces.
  6. Set audit log retention policy (default: 90 days; configurable up to 365 days).

Projects & Workspaces

The resource hierarchy is: Organization → Workspace → Project → Folder → Pipeline → Job/Run. Permissions cascade downward unless explicitly overridden at a lower level.

Creating a Workspace

  1. Navigate to Admin → Workspaces → New Workspace.
  2. Set name, description, and assign a Workspace Administrator.
  3. Configure default compute environment (Spark endpoint or Databricks workspace).
  4. Optionally bind shared organization connections.

Creating a Project

  1. Inside the workspace, go to Projects → New Project.
  2. Set name, description, and assign a Project Owner.
  3. Configure project-level connections and environment bindings.
  4. Add initial team members with appropriate roles (Developer, Analyst, Operator, Approver).
Folders inside a project inherit the project's role assignments by default. You can override folder-level permissions to restrict or expand access for specific users on a subset of pipelines.

Connection Management

Connections are the credentials and configuration needed to reach a data source or target. They are centrally managed and referenced by pipelines.

Connection Scopes

Connectivity Methods

MethodUse Case
Direct ConnectionStandard cloud-to-cloud. Source and DataKnits are both reachable over the internet.
SSH TunnelingDatabase behind a firewall. DataKnits connects to an SSH bastion host first.
On-Prem AgentOutbound-only WebSocket connection from inside a private subnet. Agent initiates the tunnel — no inbound firewall rules required. See the Secure Agent guide.

Credential Storage

All credentials are encrypted at rest with AES-256 (PostgreSQL pgcrypto extension). Connection managers can create and rotate credentials but can never view plaintext values — all credential fields are write-only via vault after initial entry.

Environments

Environments bind a Spark compute endpoint to an execution context (Development, Staging, Production). Each project can have multiple environments.

Each environment stores its own set of runtime variables (e.g., S3 bucket names, database hostnames) which are injected into generated code at execution time — no code changes required to promote from staging to production.

Environment Variables (.env)

DataKnits follows the Twelve-Factor App pattern. Configuration values are read from .env files at startup — never hard-coded.

Backend Variables (Backend/.env)

VariableRequiredDescription
PORToptionalHTTP port for the API server. Default: 3000.
DB_HOSTrequiredPostgreSQL host.
DB_PORToptionalPostgreSQL port. Default: 5432.
DB_NAMErequiredDatabase name (e.g. etl_db).
DB_USERrequiredPostgreSQL username.
DB_PASSWORDrequiredPostgreSQL password.
JWT_SECRETrequiredSecret key for signing JWTs. Must be at least 32 characters. Generate with openssl rand -hex 32.
ENCRYPTION_KEYrequiredAES-256 key for connector credential encryption.
SERVE_FRONTENDoptionalSet to true to serve the built frontend from dist/public/. For production single-binary deploys.
NODE_ENVoptionaldevelopment or production. Controls error verbosity and logging.

Frontend Variables (Frontend/.env)

Only variables prefixed with VITE_ are injected into the browser bundle. Never put backend secrets in a VITE_ variable.
VariableRequiredDescription
VITE_API_URLrequiredBase URL of the DataKnits backend API (e.g. https://etl.dataknits.com/api).
VITE_WS_URLrequiredWebSocket URL for real-time execution monitoring.

Audit Logging & Compliance

Every significant state change is recorded in the audit log with who, what, when, and from where. Audit triggers are implemented as PostgreSQL triggers — they cannot be bypassed by the application layer.

Audited Events

Compliance Standards

DataKnits is architected for compliance with the following standards. See the Security & Trust page for attestation details.