मुख्य सामग्री पर जाएं

Connect Databricks to the Knowledge Base

With the Databricks connector, you can connect a Databricks SQL warehouse to the Knowledge Base.

What you need​

  • The workspace host of your Databricks workspace.
  • A Personal Access Token.
  • The HTTP Path of your SQL warehouse.
  • The catalog and schema to connect to.
जानकारी

Only Personal Access Tokens work. OAuth is not supported for the Databricks connector.

Connecting to Databricks​

  1. Open Project Settings

    In your EKB project, navigate to Settings in the sidebar.

  2. Go to Connections

    Select the Connections tab and find the Databricks tile under Databases.

  3. Open the Databricks popup

    Click the Databricks tile. A popup appears with the option to connect a Databricks SQL warehouse. Click + Add Connection.

  4. Fill in the connection form

    Enter the following details. All fields are required.

    FieldRequiredDescription
    Connection NameYesA display name for this connection (e.g. My Databricks Connection).
    Workspace HostYesThe hostname of your Databricks workspace (e.g. dbc-xxxx.cloud.databricks.com).
    Personal Access TokenYesA Databricks Personal Access Token.
    HTTP PathYesThe HTTP path of your SQL warehouse (e.g. /sql/1.0/warehouses/<warehouse-id>).
    CatalogYesThe catalog name. Find it in Catalog Explorer, or run SHOW CATALOGS; in a SQL warehouse.
    SchemaYesThe schema under that catalog. Find it in Catalog Explorer, or run SHOW SCHEMAS IN <catalog>;.
  5. Save the connection

    Click Save. EKB will authenticate using the details provided. If successful, the Databricks tile on the Connections page will display a green dot and a count of your active Databricks connections.

✓You're now ready to use your Databricks data in the Knowledge Base!