docs/docusaurus/docs/cloud/connect/connect_databrickssql.md
import TabItem from '@theme/TabItem'; import Tabs from '@theme/Tabs';
You have a GX Cloud account with Workspace Editor permissions or greater.
You have a Databricks SQL catalog, schema, and table or view.
Optional. To improve data security, GX recommends creating a separate Databricks SQL service principal for your GX Cloud connection.
In GX Cloud, select the relevant Workspace and then click Data Assets > New Data Asset > New Data Source > Databricks SQL.
Enter a meaningful name for the Data Source in the Data Source name field.
Enter a connection string in the Connection string field. The connection string format is:
databricks://token:{token}@{host}:{port}?http_path={http_path}&catalog={catalog}&schema={schema}
If you created a separate Databricks SQL service principal for your GX Cloud connection as recommended above, use those credentials in the connection string.
Click Connect.
Select one or more tables or views to import as Data Assets.
Click Add x Asset(s).
Decide which Anomaly Detection options you want to enable. By default, GX Cloud adds warning-severity Expectations to detect Schema and Volume anomalies. You can de-select recommendations you’d like to opt out of. You can choose to generate Expectations to detect Completeness anomalies.
Click Start monitoring or Finish.