Establish Connectivity to Databricks Lakeview Dashboards

This article details how to establish connectivity to Databricks Lakeview Dashboards to use it as Data Source for creating External Reports in Metric Insights.

TABLE OF CONTENTS:

  1. Add New Data Source
  2. Provide Required Parameters
  3. Configure Advanced Settings

Generate API Token

Access Databricks user menu > Settings > Developer

  1. [Manage]
  2. [Generate new token]
  3. Comment: Enter a comment that will help to identify the token.
  4. [Generate]

Once the token is generated, copy and save its value.

Configure Service Principal for Image Collection

Add Service Principal

Access Databricks user menu > Settings > Identity and access

  1. [+ Add service principal]
  2. [Add new]
  3. Select Databricks managed.
  4. Enter Service principal name.
  5. [Add]

Add Secret

Access Secrets tab

  1. [Generate secret]
  2. Copy and save the Secret value, this will be used for the plugin's Client Secret parameter.
  3. Copy and save the Client ID value, this will be used for the plugin's Client Id parameter.

1. Add New Data Source

Access Admin > Collection & Storage > Data Sources

  1. [+New Data Source]
  2. Choose "Databricks Lakeview Dashboards" from Plugin drop-down list.
  3. [Next]

2. Provide Required Parameters

  1. Data Source Name: Enter a Data Source name.
  2. [Create]
  3. Server: Enter the Databricks server URL.
  4. Token: Enter the API token.
  5. Client Id, Client Secret: For image collection it is required to enter the Service Principal credentials. The Service Principal must have access to the Dashboards from which the image will be collected.
  6. [Test Connection], this will save your entries

3. Configure Advanced Settings

Advanced Configuration settings can be set to default values unless Data Source requires more precise tuning. For more details on how  to proceed, refer to Advanced Data Source Configuration.