Databricks icon

CONNECT APP

Build with Databricks

Databricks is the lakehouse company, helping data teams solve the world’s toughest problems.

Data Analytics

  • API key

MCP

Give your agent Databricks tools

Every Databricks action is exposed as an MCP tool on Pipedream's remote server. Point a client at it with your end user's ID and Connect resolves that user's Databricks account for each tool call — you store no tokens.

// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": "{project_id}",
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "databricks",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// e.g. run Cancel All Runs:
const result = await mcp.callTool({
  name: "databricks-cancel-all-runs",
  arguments: {
    jobId: "Job",
    allQueuedRuns: true,
  },
})

API PROXY

Call the Databricks API directly

For an endpoint with no pre-built tool, the Connect proxy forwards your request to the Databricks API with the connected user's credentials attached. You store no tokens and write no refresh logic.

const resp = await pd.proxy.get({
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  accountId: "apn_xxxxxxx",
  url: "https://api.example.com/v1/me",
})

// Any allowed Databricks endpoint works here. Pipedream attaches the
// connected account's credentials to the outgoing request.

SDK

Run Databricks actions from your backend

Connect a user's Databricks account once, then run Cancel All Runs on their behalf from your own code — TypeScript, Python, or plain HTTP.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "databricks-cancel-all-runs",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    databricks: { authProvisionId: "apn_xxxxxxx" },
    jobId: "Job",
    allQueuedRuns: true,
  },
})

TOOLS

Databricks actions

On-demand operations your product or agent can configure and run on behalf of a connected user.

EVENTS

Databricks triggers

Event sources your backend can deploy for users and receive through a webhook.

No Databricks triggers are available yet.

MULTI-APP

Use Databricks with other popular apps

Most products don't stop at one integration. Pair Databricks with the other apps your users rely on, and ship use cases that span both.

Google Sheets icon Google Sheets Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device. Slack icon Slack Slack is the AI-powered platform for work bringing all of your conversations, apps, and customers together in one place. Around the world, Slack is helping businesses of all sizes grow and send productivity through the roof. OpenAI (ChatGPT) icon OpenAI (ChatGPT) OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper. Microsoft Teams icon Microsoft Teams Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place. Microsoft Graph API icon Microsoft Graph API RESTful web API that enables you to access Microsoft Cloud service resources Google Gemini icon Google Gemini Google Gemini is a multimodal AI by DeepMind that processes text, audio, images, and more. SailPoint icon SailPoint Discover the core of Identity Security. Playwright icon Playwright Playwright enables reliable end-to-end testing for modern web apps. PagerDuty icon PagerDuty Real-Time Operations and Incident Response Vercel icon Vercel Vercel is the platform for frontend developers, providing the speed and reliability innovators need to create at the moment of inspiration. Opsgenie icon Opsgenie Opsgenie is a modern incident management platform for operating always-on services, empowering Dev and Ops teams to plan for service disruptions and stay in control during incidents. Postman icon Postman Postman is the world's leading API platform.

REFERENCE

App details

Reference metadata for the Databricks connector in the Pipedream registry.

App slug
databricks
Authentication
API key
Categories
Data Analytics
Actions
42
Triggers
0
API proxy
Available