Deploy to Databricks Private Preview
On Databricks, deploying is part of the build cycle, not the end of it. Chat & build and Simulate both run on a live Genie Space, so you deploy first to create it, then refine and simulate, then certify and redeploy for production.
CES pushes descriptions into Unity Catalog, creates one Metric View per table, and configures a Genie Space backed by those views. Re-deploys replace existing Metric Views in place and patch the Genie Space without recreating it.
Prerequisites
Before you begin, make sure:
- You've built a context repository and the initial semantic model is generated. See Build your context repository.
- The required Databricks grants are in place. See Grant Databricks permissions.
Deploy your context repository
-
From your context repository, click Portability.
-
Select Databricks Unity Catalog.
-
Select the Catalog where Metric Views will be created.
-
Select the Schema within that catalog.
-
Enter the Genie Space name (e.g.,
pov_analyst_genie). -
Click Deploy. CES creates Metric Views in Unity Catalog and configures a Genie Space that agents can query natively.
After deployment, the repository is wired to the Genie Space and ready for Chat & build, Simulate, and end-user queries. See Run simulations.
Grant access and verify
After the production deploy, grant end users access and confirm the artifacts are visible in Databricks.
-
Grant your business users access to the Metric Views. Run in a Databricks SQL editor, replacing
<consumer_group>with the group assigned to your users.GRANT USE CATALOG ON CATALOG <target_catalog> TO `<consumer_group>`;GRANT USE SCHEMA ON SCHEMA <target_catalog>.<target_schema> TO `<consumer_group>`;GRANT SELECT ON VIEW <target_catalog>.<target_schema>.<metric_view_name> TO `<consumer_group>`; -
Grant access to the Genie Space via the Databricks workspace UI.
- Open the Genie Space in your Databricks workspace.
- Go to Settings → Permissions.
- Add end-user groups with CAN RUN (can ask questions) or CAN VIEW (can view conversations only).
- Confirm end users have consumer access or the Databricks SQL workspace entitlement.
End users don't need direct warehouse permissions. Queries run under the creator's embedded compute credentials, and Genie respects Unity Catalog row and column security.
-
Verify the deployment by confirming in the Databricks workspace that:
- The Metric Views appear in Unity Catalog under
<target_catalog>.<target_schema>. - The Genie Space is listed under Genie in the workspace sidebar and is accessible.
You can also navigate to the deployed Metric Views in the Atlan catalog. CES crawls them automatically after deployment.
- The Metric Views appear in Unity Catalog under
Update deployed context repositories
After a repository is live, use this process to make changes without disrupting end users. The existing Metric Views and Genie Space stay active until the new version is certified and deployed.
- From your context repository, click Edit. CES creates a new draft from the current certified model.
- Make your changes in the YAML editor or via Chat & build.
- Re-run your question set through Run simulations to confirm nothing has regressed.
- Certify the updated model and click Deploy. CES replaces the existing Metric Views and patches the Genie Space in place. All previous certification versions are retained in the repository history.