Skip to content
Maua.Culturewire

Databricks

Lakehouse: clusters, jobs, SQL, Unity Catalog and files

Data and analyticsCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • Credentials

    Your users enter

    • Workspace URL (https://…)RequiredHTTPS URL
    • Personal access token (dapi…)SecretOptional
    • Service principal Client IDOptional
    • Service principal Client secretSecretOptional

    Where to find them

    1. Copy your workspace address (https://dbc-….cloud.databricks.com, https://adb-….azuredatabricks.net or https://….gcp.databricks.com).
    2. Personal token: in the workspace, open your user → “Settings” → “Developer” → “Access tokens” → “Manage” → “Generate new token”, set an expiration and copy it.
    3. Alternative for automation: a service principal with an OAuth secret (“Settings” → “Identity and access” → “Service principals”); fill in its Client ID and secret instead of the token. Access has the permissions of that user or service principal.
  • OAuth 2.0

    PKCEYour OAuth app

    Bring your own OAuth app: register one with Databricks, then create a custom auth config with its client ID and secret and our redirect URI. Setup guide

    Registering the OAuth app

    1. As a Databricks account administrator, sign in to the account console (accounts.cloud.databricks.com; on Azure, accounts.azuredatabricks.net; on Google Cloud, accounts.gcp.databricks.com), click the “Settings” icon and open “App connections” → “Add connection”.
    2. Name it “Maua.Culturewire”, paste the redirect URI shown below into “Redirect URLs”, under “Access scopes” select “All APIs” (the scopes shown below; offline_access is already allowed) and turn on “Generate a client secret”. Increase the “Refresh token TTL” (7 days by default) so you do not have to authorize again every week.
    3. Copy the “Client ID” and the “Client secret” (the secret is shown only once). The same application works for all workspaces in that Databricks account.

    Default scopes

    • all-apis
    • offline_access

Tools (1)

  • Databricks API requestDATABRICKS_SEND_REQUEST

    Authenticated call to the Databricks API ({url}/api). Any endpoint of the API is allowed. The version is part of the path. Examples: GET /2.0/preview/scim/v2/Me, GET /2.1/jobs/list, GET /2.0/clusters/list, GET /2.0/sql/warehouses, POST /2.0/sql/statements {"warehouse_id": "…", "statement": "SELECT 1", "wait_timeout": "30s"}, GET /2.1/unity-catalog/catalogs, GET /2.0/workspace/list?path=/.

    Required scopes

    No scopes required

    Input

    Databricks API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.