Guides
Visit our websiteDeveloper Docs
  • Getting Started with Databrain
    • What is Databrain?
  • ❄️Onboarding & Configuration
    • 📝Sign-Up
    • ✍️Sign-In
    • ✏️Google Sign In Setup for Self-hosted app
    • 🤔Forgot password? Recover your Databrain Account
    • 🌟Onboarding
    • 💾Add a Data Source
    • 🧑Configure Tenants
    • 🆕Create a Workspace
    • 🔓Create a Private Workspace
    • 🆕Create a Dashboard
    • 💠Create a Metric
      • Create Custom Columns
      • Create a Metric using Chat Mode
      • Create a Metric using Custom SQL
    • Workspace Settings
      • General Settings
      • Access Control Settings
      • Cache Settings
      • Download Settings
    • 🗄️Explore Data
  • 🛢️Datasources
    • Connecting Data Sources to Databrain
      • Amazon Redshift
      • Snowflake
      • BigQuery
      • MySQL
      • Postgres
      • MongoDB
      • ElasticSearch
      • DataBricks
      • ClickHouse
      • MSSQL
      • Amazon S3
      • CSV
      • Firebolt
      • SingleStore
      • Athena
    • Allow Access to our IP
    • Add a Data Source
    • Configure Tenants
    • How to Sync a Data Source
    • Edit Tenancy
    • Create a Datamart
    • Semantic Layer
    • Create a Data App
    • Creating a Custom Dataset/View in a Multi-Datasource Environment
  • Workspace
    • Multi Datasource Workspace
  • 🔍DASHBOARDS
    • Edit a Dashboard
    • Share Dashboard
    • Dashboard Settings
    • Create/Modify Dashboard Filter
      • Dashboard Filter - Variable Apply On
      • Add LHS and RHS custom sql support for dashboard filter
    • Customize Layout
    • Adding Elements to Dashboard
    • Import/Export Dashboard
    • Report Scheduler
  • 📉METRIC
    • Edit a Metric
    • Joins , Filter, Sort, Group By
    • Complex Filter
    • Apply Metric Filter
      • Metric Filter - Variable
      • Metric Filter - Custom
    • Switch X axis and Switch Y axis
    • Group By
    • Footnote and Long Description
    • Dynamic Property
    • Archive/Unarchive Metric Card
    • Download Metric Card
    • Download Underlying Data
    • Metric Summary
    • Metric Expression for Single Value Card
    • AI Summary
    • Merge Metrics
    • Section Filters
    • View Unpublished Metrics
  • 📊VISUALIZATIONS - ACTIONS & APPEARANCE
    • Chart Actions
      • Chart Click Action
      • Chart Click Action with Metric
      • Card Click Action
      • Drill Down
      • Cross Dashboard Drill Down
    • Chart Appearance
      • Chart-Specific Appearance Options
  • 🛢️PREVIEW OF DASHBOARDS
    • Email Settings for Scheduled Reports
    • Scheduled Reports for End User
  • 🔍FILTERS
    • Dashboard Filter
    • Metric Filter
    • App filter
  • 💡Features
    • Python Editor Console
    • Custom SQL Console
    • Custom SQL Query Guidelines
  • 🏢Integrating Plugin
    • ✳️Get an auth token
    • 🙏Get a guest token
  • 🛃THEMEING & CUSTOMIZATION
    • 🎨Creating a theme
    • 🖼️View the theme in action
    • ⚙️Reset a saved theme
  • 📊Metric Component (upto version v0.11.15)
    • ✨Quick start
  • 🕸️Web Components
    • ✨Quick start
    • ⚛️Framework Specific Guide
  • 🚀Product Changelog
  • 🤳Self Hosted Changelog
Powered by GitBook
On this page
  1. Datasources
  2. Connecting Data Sources to Databrain

DataBricks

PreviousElasticSearchNextClickHouse

Last updated 18 hours ago

Getting Started with Databricks Data Source Configuration

Requirements:

  • Active Databricks cluster.

  • Allow connections from Databrain to your Databricks cluster.

    • For details on setting up IP whitelisting and ensuring secure connectivity, refer to our guide on

  • Choose the Databrain Workspace to which you wish to connect the data.

Setup Guide:

  1. Ensure Cluster Accessibility:

    • Ensure your Databricks cluster is active and accessible from the machine running Databrain.

    • Accessibility is dependent on your Databricks user privileges and network settings. The easiest way to verify if Databrain can connect to your Databricks cluster is via the check connection tool in the UI. For detailed setup and permissions, refer to the Databricks documentation.

  2. Fill Up Connection Info:

    • Provide the necessary information to connect to your Databricks cluster:

      • Data Source Name: [Pick a name to help you identify this data source in Databrain]

      • Databricks Cluster Details:

        • Host: [Host Endpoint of the Databricks Cluster, e.g., dbc-a1b2345c-d6e7.cloud.databricks.com]

        • Path: [Path of the data warehouse, e.g., /sql/1.0/endpoints/a1b234c5678901d2]

      • Authentication Details:

        • Token: [Access token, e.g., dapi1ab2c34defabc567890123d4efa56789]

Encryption:

  • Ensure you have SSL/TLS set up for your Databricks connection if you require encrypted connections from Databrain for enhanced security.

Permissions:

  • Permission to read information_schema.

  • Whitelist the IP address.

  • Grant read access to the schema (usage) and tables, noting that access to only tables may not suffice in certain databases.

Replace the placeholders inside the square brackets with the actual values when filling in the details.

Locating the Configuration Details in Databricks

  1. Data Source Name:

    • This is a custom name you decide for identification within Databrain. Choose a name that is relevant and descriptive of your Databricks source.

  2. Host:

    • Log in to your Databricks workspace. The URL in your browser's address bar is your Host Endpoint. It typically has the format dbc-a1b2345c-d6e7.cloud.databricks.com.

  3. Path:

    • This is specific to the SQL endpoint you want to connect to in Databricks. Navigate to the SQL tab in your Databricks workspace, and select the desired SQL endpoint. In the endpoint details, you should find the full path. The path typically looks like /sql/1.0/endpoints/a1b234c5678901d2.

  4. Token:

    • In Databricks, navigate to the user settings by clicking on the user icon in the top right corner.

    • Choose "User Settings" and then go to the "Access Tokens" tab.

    • Generate a new token or use an existing one. Note that once you generate a token and close the window, you cannot view the token again for security reasons. Ensure you copy and store it securely.

🛢️
Allow Access to our IP