databricks-install-auth

Featured

Install and configure Databricks CLI and SDK authentication. Use when setting up a new Databricks integration, configuring tokens, or initializing Databricks in your project. Trigger with phrases like "install databricks", "setup databricks", "databricks auth", "configure databricks token", "databricks CLI".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Databricks Install & Auth ## Overview Set up Databricks CLI v2, Python SDK, and authentication. Covers Personal Access Tokens (legacy), OAuth U2M (interactive), and OAuth M2M (service principal for CI/CD). Databricks strongly recommends OAuth over PATs for production. ## Prerequisites - Python 3.8+ with pip - Databricks workspace URL (e.g., `https://adb-1234567890123456.7.azuredatabricks.net`) - For PAT: User Settings > Developer > Access Tokens in workspace UI - For OAuth M2M: Service principal with client ID and secret ## Instructions ### Step 1: Install Databricks CLI and Python SDK ```bash set -euo pipefail # Install CLI v2 (standalone binary — recommended) curl -fsSL https://raw.githubusercontent.com/databricks/setup-cli/main/install.sh | sh # Verify CLI databricks --version # Install Python SDK pip install databricks-sdk # Install Databricks Connect for local Spark development pip install databricks-connect==14.3.* ``` ### Step 2: Configure Authentication #### Option A: Personal Access Token (Quick Start) Generate a PAT in workspace UI: User Settings > Developer > Access Tokens. ```bash # Interactive setup — prompts for host and token databricks configure --token # Or set environment variables directly export DATABRICKS_HOST="https://adb-1234567890123456.7.azuredatabricks.net" export DATABRICKS_TOKEN="dapi_your_token_here" ``` #### Option B: OAuth U2M (User-to-Machine — Interactive) Opens browser for OAuth consent. Token auto-refreshes (1-hour lifetime). ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category