Skip to content

Data Platforms ​

What's on this screen ​

A Data Platform is the system that holds a Domain's data. You choose it for each Domain, on the Data platform step of Add domain. Org settings has no separate Data Platforms page. The person adding the Domain (a Vibedata Owner or a Domain Owner) chooses a kind, picks the sign-in for it, and then picks the resources in Workspace.

Vibedata offers these kinds: DuckDB Local, MotherDuck, Microsoft Fabric Lakehouse, Microsoft Fabric Warehouse, Databricks, Google BigQuery, Snowflake and Amazon Redshift.

How to add a Data Platform to a Domain ​

  1. Open Domains and select Add domain.
  2. Complete Basics, then select Continue to data platform.
  3. Choose Data platform type. Changing the type clears the sign-in and resource fields.
  4. Choose User authentication. An OAuth/OIDC choice lists only the Identity Providers that you have already connected under User settings → Data platforms. See Data platform connections. Creation does not start the sign-in.
  5. Choose Service authentication and enter its values. The sections below name them for each kind.
  6. Select Continue to workspace and choose the resources in Workspace. A field stays disabled until the fields it depends on have values; for example, Lakehouse waits for Workspace.
  7. Complete Secret store, then select Create.

TIP

These sections apply when sign-in is turned on. When sign-in is off, Vibedata uses the identity of the machine it runs on. The sign-in and service fields then do not appear, except for MotherDuck, which still asks for its MotherDuck PAT. The machine needs its own login for the other kinds: Azure CLI for Fabric, AWS CLI for Redshift, the Databricks CLI for Databricks, gcloud Application Default Credentials for BigQuery, and the default connection in connections.toml for Snowflake.

Steps for each Data Platform ​

DuckDB Local ​

  1. Choose DuckDB Local. It has no sign-in and no service credential.
  2. In Workspace, choose an existing Database, select New file to create one, or select Upload file to upload a .duckdb file (up to 1 GB). Names use letters, numbers, underscores and hyphens, and end in .duckdb.
  3. Choose or create the Schema.

MotherDuck ​

  1. Choose MotherDuck.
  2. Under Service authentication, enter the MotherDuck PAT for the Domain's service identity. Vibedata stores it encrypted and never shows it again. Your own access uses the MotherDuck token you saved under User settings → Data platforms. Save that token first: the lists of databases and schemas you choose from use it. See Data platform connections.
  3. In Workspace, choose the Database and the Schema. The connected identities must own the database.

Microsoft Fabric Lakehouse ​

  1. Choose Microsoft Fabric Lakehouse.
  2. Under User authentication, choose a Microsoft Entra ID Identity Provider.
  3. Under Service authentication, choose Dedicated identity and enter Client ID and Client secret. Tenant ID shows the tenant of the Identity Provider and you cannot edit it. Choose Reuse user identity provider to skip these two values.
  4. In Workspace, choose the Workspace, then the Lakehouse, then the Schema. Ephemeral workspace capacity is filled from the production workspace's capacity when it has one. Choose another to run Intents elsewhere. It must have a value before you can create the Domain.
  5. Give the service principal the grants in Grant the CI service principal access in Fabric.

Microsoft Fabric Warehouse ​

  1. Follow the steps for Microsoft Fabric Lakehouse, with Microsoft Fabric Warehouse as the type.
  2. In Workspace, choose the Warehouse, the Schema and the Paired Lakehouse. The Lakehouse must be in the same workspace as the Warehouse. You cannot change it after you save.

Databricks ​

  1. Choose Databricks.
  2. Under User authentication, choose a Databricks Identity Provider.
  3. Under Service authentication, enter Service principal application ID and Service principal secret. Use a service principal from the Databricks account console, not the OAuth app that people use to sign in.
  4. In Workspace, enter Production workspace (a host such as adb-123.4.azuredatabricks.net is enough), then choose Production SQL warehouse, Production catalog and Primary Schema, then Ephemeral workspace, Ephemeral SQL warehouse and Ephemeral catalog. The Ephemeral values can match the production values.

Vibedata fills Account ID, Workspace ID and Ephemeral workspace ID for you.

Google BigQuery ​

  1. Choose Google BigQuery.
  2. Under User authentication, choose a Google Identity Provider.
  3. Under Service authentication, choose Workload identity federation and enter Service account email. Or choose Service account key (JSON) and enter Service account email and Service account key (JSON).
  4. In Workspace, choose Domain project, Ephemeral project and Primary Schema. The two projects must be different. The dataset must already exist. Vibedata fills Location from the dataset.

Snowflake ​

  1. Choose Snowflake.
  2. Under User authentication, choose a Snowflake Identity Provider.
  3. Under Service authentication, choose Key pair and enter Service user, Private key (PKCS#8 PEM) and, for an encrypted key, Private key passphrase.
  4. In Workspace, enter Account identifier first. Then choose Production database, Production warehouse, Ephemeral warehouse and Primary Schema. Account host is optional. Enter Creator role when the form asks for it.

See Domains for the Snowflake permissions.

Amazon Redshift ​

  1. Choose Amazon Redshift.
  2. Under User authentication, choose an AWS IAM Identity Center Identity Provider and enter User session role ARN.
  3. Under Service authentication, choose Cloud IAM and optionally enter AWS role ARN. Leave it empty to use the identity of the Vibedata deployment. When you enter a role, Vibedata generates an External ID and shows it after you save. Add it to the role's trust policy.
  4. In Workspace, enter Endpoint host, Port and Database. Enter Cluster identifier for a provisioned cluster, or Workgroup name for Serverless. A provisioned cluster also needs Database user. Enter Primary Schema.
  5. Enter Read group. For a Serverless workgroup, enter S3 Location. A provisioned cluster does not accept one.

The Orchestration subnets field is optional. The SageMaker Unified Studio fields appear only when an Owner turns on the SageMaker Unified Studio Redshift binding preview feature in Org settings → Preview features.

Fabric connections in a Domain ​

Fabric capacities and workspaces load with your own Microsoft Entra connection. If it is missing or expired, repair it as described in Fabric connection errors.

Grant the CI service principal access in Fabric ​

A Fabric Domain's CI runs as the Domain's CI service principal. Signing in does not give it any Fabric access; these three grants do. The sign-in itself is set up separately, see Set up GitHub OIDC trust for Fabric.

GrantPurposeWithout it
Tenant setting Service principals can use Fabric APIsFabric rejects every service principal REST call until an admin enables the setting for a security group that contains the service principal.Every Fabric call is refused, even after a successful login
Capacity adminCI creates one workspace per pull request and assigns it to the capacity, which needs capacity admin. Azure RBAC Contributor alone is not enough.Workspace provisioning fails
A role on the production workspaceEphemeral lakehouses read production tables through shortcuts, so the service principal needs read access to the production workspace.Shortcut seeding fails
bash
T=$(az account get-access-token --resource https://api.fabric.microsoft.com --query accessToken -o tsv)

# 1. Tenant setting (caller must be a Fabric administrator). Read it first and use its settingName.
curl -s -H "Authorization: Bearer $T" https://api.fabric.microsoft.com/v1/admin/tenantsettings \
  | jq '.tenantSettings[] | select(.title|test("Service principals can use Fabric APIs"))'

curl -s -X POST -H "Authorization: Bearer $T" -H "Content-Type: application/json" \
  "https://api.fabric.microsoft.com/v1/admin/tenantsettings/<settingName>/update" \
  -d '{"enabled": true, "enabledSecurityGroups": [{"graphId": "<security-group-object-id>", "name": "<security-group-name>"}]}'

# 2. Capacity admin. This replaces the whole list, so include the existing admins.
az resource update \
  --ids /subscriptions/<sub-id>/resourceGroups/<rg>/providers/Microsoft.Fabric/capacities/<capacity-name> \
  --set 'properties.administration.members=["<existing-admin-upn>","<sp-object-id>"]'

# 3. Production workspace role (caller must be an Admin of that workspace).
curl -s -X POST -H "Authorization: Bearer $T" -H "Content-Type: application/json" \
  https://api.fabric.microsoft.com/v1/workspaces/<prod-workspace-id>/roleAssignments \
  -d '{"principal": {"id": "<sp-object-id>", "type": "ServicePrincipal"}, "role": "Contributor"}'

Use the service principal's object ID, not its application (client) ID, in the capacity and workspace calls.

What you'll see ​

  • Not configured — a step that you have not opened yet reads Not configured. This is not an error.
  • Reconcile — on the Domain, Reconcile checks each Data Platform and shows Ready or the failure.