Skip to content

Set up a Domain ​

Give your team a place to build. A Domain is your team's data project: one GitHub repository and one place on your data platform. A Domain Owner or Vibedata Owner follows this path. In a new organisation, a Vibedata Owner usually creates the first Domain. Whoever creates a Domain becomes its Domain Owner.

Choose your Data Platform to see what a Domain on it needs. Your choice carries over to Before you start.

Data PlatformSigns people in throughSecret Stores you can choose
Microsoft Fabric LakehouseMicrosoft Entra IDAzure Key Vault
Microsoft Fabric WarehouseMicrosoft Entra IDAzure Key Vault
MotherDuckNoneMotherDuck Flight Secrets
DuckDB LocalNoneLocal File, Internal
Amazon RedshiftAWS IAM Identity CenterAWS Secrets Manager, No Secret Store
DatabricksDatabricksDatabricks Unity Catalog secrets
Google BigQueryGoogle WorkspaceGoogle Secret Manager (Preview), No Secret Store
SnowflakeSnowflakeSnowflake Secrets, No Secret Store

Have ready ​

  • Your data platform signs you in through an Identity Provider, so connect your own account first, under User settings → Data platforms. Creating a Domain lists only the connections you already have. See Data platform connections.

Steps ​

1. Start a new Domain ​

Do: Open Domains and select Add domain.

Why: A Domain holds everything a team's data work needs: the repository, the data platform and the Secret Store. Each Intent your team starts works inside it.

You should see: The Create domain page, with three steps: Basics, Data platform and Secret store. A Domain summary beside the form shows what you have chosen so far.

2. Name it and choose the repository ​

Do: In Basics, enter a Name and choose an icon. Then choose the Account / organization and the Repository, and select Continue to data platform.

Why: The repository holds all of the Domain's code. Each Intent works on a branch of it, and its work reaches the repository as a pull request.

You should see: Basics reads Complete. The Slug (cannot be changed after creation) beside Name is made from the name, so choose the name with care. If your organisation is not listed, the GitHub App is not installed on it yet: select Add account to install it, or ask an owner of that GitHub organisation. See Repository in Basics.

3. Choose where the data lives ​

Do: In Data platform, choose the Data platform type, how people and Vibedata sign in to it, and the exact place for the Domain's data. What your platform asks for:

Microsoft Fabric ​

Fabric lets you choose an existing Workspace and Lakehouse or Warehouse, then a Schema and Ephemeral workspace capacity. A Warehouse Domain also needs a Paired Lakehouse in the same workspace, which holds the files its production loads stage and the code its notebooks read; the create form refuses a Warehouse without one. A Warehouse Domain created before this was required shows a Paired Lakehouse picker in its Data platform settings. Choose one and save: it is set once and cannot be changed afterwards. Until you set one, that Domain's production loads run row by row.

MotherDuck ​

MotherDuck lets you choose a Database and Schema. Activation is owner-only: the Domain's connected identities must directly own the chosen database. There is no Share to select — MotherDuck gives Vibedata no way to prove a Share's source database without attaching it, so Vibedata does not offer one as an alternate clone source.

DuckDB Local ​

DuckDB Local lets you choose an existing Database, create a managed database file, or upload one existing DuckDB database, then a Schema. Workspace and Lakehouse creation are not available here.

Google BigQuery ​

Google BigQuery lets you choose a Domain project from the projects your Google identity can see, then an Ephemeral project, then a Schema from the Domain project's existing datasets. With sign-in on, the lists show what your own linked Google account can see; you can also type a project or dataset. Vibedata never creates a dataset in the Domain project, so create the dataset in BigQuery first if the list is empty. The Ephemeral project must differ from the Domain project; Vibedata keeps each Intent's working datasets there. Another Domain may use the same Ephemeral project: the list says also used by Domain "…" next to it, and both Domains must use the same location. Each environment's queries run in, and bill to, its own project: production reads in the Domain project, Ephemeral jobs in the Ephemeral project, so grant the service account roles/bigquery.jobUser in both (and each person who runs Intents under sign-in a custom role holding only bigquery.datasets.create and bigquery.jobs.create on the Ephemeral project; Open names anyone who lacks it). Location is filled from the dataset you choose and cannot be changed after the Domain is created. A Domain created before this change that billed to a separate compute project shows a Reconcile advisory that its billing has moved. Datasets whose names start with ephm_, or that carry Vibedata's vd-instance, vd-domain, or vd-intent label, are Vibedata's own and never appear in the list.

On a local deployment without sign-in, Vibedata uses this machine's gcloud Application Default Credentials. Run gcloud auth application-default login --scopes=https://www.googleapis.com/auth/bigquery,https://www.googleapis.com/auth/cloud-platform before creating the Domain. The host identity must be able to run BigQuery jobs in both the Domain project and the Ephemeral project. An ambient Domain created earlier can become blocked at its next Reconcile if the host identity lacks roles/bigquery.jobUser (or a custom role holding bigquery.jobs.create) on the Ephemeral project; grant it that role and Reconcile again. With sign-in enabled, each person links their own Google account instead, and the Domain also needs a service account (workload identity impersonation or a key). Each Intent gets its own dataset in the Ephemeral project.

Snowflake ​

Snowflake binds one account, Production warehouse, Ephemeral warehouse, production database and Primary Schema. Enter Account identifier (<organization>-<account>) first. Vibedata then lists the databases and warehouses your Snowflake identity can see, and you pick Production database, Production warehouse and Ephemeral warehouse from searchable lists, then Primary Schema. To use a name that is not listed, type it into the picker and choose Use ... name. The Ephemeral warehouse is the compute for everything inside an Intent (dbt and dlt runs and the agent's queries, production reads included); Reconcile and other Domain-level work use the production warehouse. It is never filled in from the production warehouse and may be the same warehouse. Account host is optional and only for private connectivity or a legacy account-locator URL; it must end in .snowflakecomputing.com. Names must be unquoted Snowflake identifiers. Vibedata never creates a schema in the production database, so the Primary Schema must already exist. See Bind a Snowflake Domain.

Amazon Redshift ​

Amazon Redshift binds one provisioned cluster or Serverless workgroup, one database and a Primary Schema. On a local deployment without sign-in, Vibedata lists what the AWS identity of this machine's aws CLI login can see. Choose a Cluster or workgroup from the list (it covers the regions every AWS account has enabled, and each entry shows its region); choosing one fills the endpoint host, port and the cluster identifier or workgroup name. Then choose a Database and a Primary Schema from dropdowns. System databases and Vibedata's own ephm_ databases are left out, and Vibedata never creates a schema in the Domain's database, so the schema must already exist. A provisioned cluster needs the Database user entered before its databases can be listed; if you have not, the form asks for it and a Retry button lists again. On a deployment with sign-in enabled the Redshift form is manual: enter the endpoint, port, database and Primary Schema yourself. The list would need a role that is assumed for you per Domain, and your Domain does not exist yet while you fill in the form.

If your AWS identity may not list, the form says which IAM action is missing (for example redshift:DescribeClusters, redshift-serverless:ListWorkgroups, redshift-data:ListDatabases or redshift-data:ListSchemas) and you can still type each value by hand. A region you have opted into but that is not enabled by default is not searched; enter that endpoint manually.

Databricks ​

Databricks binds a Production workspace, Production SQL warehouse and Production catalog, and its own Ephemeral workspace, Ephemeral SQL warehouse and Ephemeral catalog, then a Primary Schema. Production workspace and Ephemeral workspace are typed URLs: a bare host such as adb-123.4.azuredatabricks.net is enough, and Vibedata validates it as you type. The workspace must be on the same cloud as the Databricks Identity Provider the Domain uses; there is no cloud field on the Domain. The Account ID, Workspace ID and Ephemeral workspace ID fill in read-only from the workspaces; you never type them. The warehouse, catalog and schema fields are dropdowns listed from your own access in that workspace: the warehouse and catalog of each side follow its workspace, then the Primary Schema from the production catalog's existing schemas. Vibedata never creates a schema in the production catalog, and another Domain's production catalog is listed but cannot be chosen as an Ephemeral catalog. Choosing a catalog another Domain already uses as its Ephemeral catalog is allowed and means sharing it; the dropdown names that Domain (or counts it, if you cannot read it). There is no sharing switch. If Databricks refuses you with a 403 while you pick, you may not be assigned to the workspace you are picking from or may lack SQL access: ask a workspace admin to add you to that workspace and grant SQL access. After you create the Domain, the settings page shows these coordinates read-only.

The Ephemeral workspace and warehouse are required and are never filled in from production: choose them on purpose. They may be the same workspace and warehouse as production, which is the usual choice when you have one workspace. A different Ephemeral workspace must be in the same Databricks account and share the production workspace's Unity Catalog metastore, and it must be able to see the production catalog. Intents work entirely in the Ephemeral workspace and warehouse and read production tables through Unity Catalog there, so a separate metastore, or a production catalog the Ephemeral workspace cannot see, leaves them unable to read production, and Reconcile reports it. Only Domain-level reads, such as previewing production tables, use the production workspace. The service principal must exist and hold CAN_USE on the warehouse in each workspace; Reconcile checks them one workspace at a time and names the workspace in any failure. The Ephemeral workspace, Ephemeral catalog, and the production side cannot be changed after the Domain is created. A warehouse can be changed through the API, though no screen offers it.

The service lane is a service principal created in the Databricks account console (a Databricks-managed service principal), assigned to each workspace the Domain binds, with an OAuth secret generated there. Enter its application ID and that secret.

Why: This is where the Domain's production data lives. Each Intent gets its own sandbox on the same platform, where the agent is told to build and test instead of in production.

You should see: Each choice you make enables the next field. The identifiers Vibedata resolves appear as read-only text under each choice. For every platform's fields, see Data platform and Workspace.

4. Choose where secrets are kept ​

Do: In Secret store, choose one of the Secret Stores your data platform offers. The table at the top of this page lists them for your Data Platform.

Why: The Domain's passwords and keys stay in the Secret Store. Some data platforms can work without one.

You should see: All three steps read Complete, and Create is enabled. See Secret Store.

5. Create the Domain ​

Do: Select Create.

Why: Vibedata saves the Domain and makes you its Domain Owner.

You should see: Vibedata creates the Domain, selects it, and opens its General section. If creation fails, your entries are kept, and the step with the problem reads Invalid: select it to read why.

6. Check that it is ready ​

Do: Open the Domain's Resources section, and read the state of each resource row.

Why: Vibedata checks, with the Domain's own identity, that it can reach the repository, the data platform and the Secret Store. While a check has failed, nobody can create or work on Intents in the Domain.

You should see: Every row reads Ready. If a row reads Failed, open it: it says which identity could not reach which resource, and why. Grant that access, then select Reconcile to check again. See How to read readiness.

7. Add your team ​

Do: A Vibedata Owner or User Access Administrator opens Org settings → Users, selects each person, selects Edit access, adds the Domain with a role, and selects Save changes.

Why: Only the Domain's members can work in it. A Domain Contributor builds; a Domain Owner also manages the Domain. A Domain Owner without a platform role can see the Users page but cannot change it, so ask a Vibedata Owner or User Access Administrator. See Users.

You should see: Each person's detail lists the Domain and their role. People who have not signed in yet can be added first with Add user: see Add a user before they sign in.

8. Set a budget (optional) ​

Do: Open the Domain's Budget section, enter an amount in Monthly limit (USD), and select Save.

Why: It caps what the Domain's agents can spend on AI models in a calendar month. Unless you are a Vibedata Owner, you can set it only once your organisation has a monthly budget.

You should see: Monthly limit, Current spend and Usage for this month. See How to set a Domain budget.

Done when ​

The Domain exists, every resource reads Ready, and your team are members. Next, your team follows Creating Your First Intent.

If something goes wrong ​

See A Failed resource, Lifecycle feedback and recovery and Troubleshooting.