Databricks Lakeflow Connectのロゴ

Databricks Lakeflow Connect

組織
databricks
databricks-lakeflow-connect

Build managed ingestion pipelines into Databricks using Lakeflow Connect. Use when ingesting from SaaS apps (Salesforce, Workday Reports, ServiceNow, Google Analytics 4, HubSpot, Confluence) or databases (SQL Server cloud and on-prem; PostgreSQL/MySQL CDC in PuPr) into Unity Catalog with serverless pipelines.

Add to TypingMind

概要

公開者databricks
リポジトリdatabricks-agent-skills
スキル名databricks-lakeflow-connect
スター
366
フォーク
93
同梱ファイル
7
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 7個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    databricksがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Databricks Lakeflow Connect」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/databricks/databricks-agent-skills/tree/main/plugins/databricks/claude/skills/databricks-lakeflow-connect
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/databricks/databricks-agent-skills.git /tmp/databricks-agent-skills
mkdir -p .claude/skills
cp -r /tmp/databricks-agent-skills/plugins/databricks/claude/skills/databricks-lakeflow-connect .claude/skills/databricks-lakeflow-connect
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでDatabricks Lakeflow Connectを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にDatabricks Lakeflow Connectを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Databricks Lakeflow Connectは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Lakeflow Connect

Build managed ingestion pipelines that pull from SaaS apps and databases into Unity Catalog Delta tables, governed end-to-end and powered by serverless Lakeflow Spark Declarative Pipelines (formerly Delta Live Tables / DLT).

Status: mixed catalog — GA connectors for production use, plus Public Preview, Beta, and Private Preview connectors that expand over time. See the connector catalog below.


What Is Lakeflow Connect?

Managed connectors for ingesting data from SaaS applications and databases. The resulting ingestion pipeline is governed by Unity Catalog and powered by serverless compute and Lakeflow Spark Declarative Pipelines.

Three frames to keep in mind:

  • Simple and low-maintenance — no client code to write, no message bus to operate; connector + UC Connection + a serverless pipeline.
  • Unified with the lakehouse — credentials stored in UC, output is governed Delta, runs on Jobs and SDP like any other workload.
  • Efficient incremental processing — change tracking / CDC / schema evolution / retries are built in.

There are four architecture patterns:

  1. SaaS pull — connector reads from an external SaaS via OAuth or API key, lands in a streaming Delta table.
  2. Database CDC via gateway — an ingestion gateway runs in the customer's network, stages change events to a UC Volume, a serverless ingestion pipeline applies them as CDC into Delta.
  3. Query-based — for sources without native CDC (Oracle / Teradata / SQL Server / PG / MySQL query-based, Snowflake / Redshift / Synapse / BigQuery via Foreign Catalog), the connector issues periodic queries instead of subscribing to a change feed.
  4. Community connectors — template-based, out of scope for this skill.

Is Lakeflow Connect the right tool?

Decide this before you build. Lakeflow Connect is the managed pull path for SaaS apps and databases — it is not the answer for every ingestion intent.

If the source is...UseSkill
A SaaS app or database with a managed connector (Salesforce, Workday, ServiceNow, GA4, HubSpot, Confluence, SQL Server, ...)Lakeflow Connectthis skill
Files on cloud object storage (S3 / ADLS / GCS)Auto Loaderdatabricks-pipelines
A source you want to query in place, no copyLakehouse Federation—
An app or device that pushes events at youZerobusdatabricks-zerobus-ingest
A partner offering a Delta shareDelta Sharing—

Full reasoning, including the Federation-vs-Connect and Auto-Loader-vs-Connect trade-offs, is in 4-ingestion-decision-tree.md.


Connector catalog

Lakeflow Connect ships connectors at multiple release stages. GA and Public Preview connectors are production-supported; Beta and Private Preview are early-access and not production-supported.

GA connectors

Full coverage in this skill, except rows whose Reference is a public docs page.

SourceTypeAuthReference
Salesforce (Sales / Service / etc.)SaaS pullOAuth U2M1-saas-connectors.md
Workday Reports (RaaS)SaaS pullOAuth refresh token / basic1-saas-connectors.md
ServiceNowSaaS pullOAuth U2M / basic1-saas-connectors.md
Google Analytics 4SaaS pull (via BigQuery)Service-account JSON1-saas-connectors.md
HubSpotSaaS pullOAuth1-saas-connectors.md
ConfluenceSaaS pullOAuth1-saas-connectors.md
NetSuiteSaaS pullToken-based authentication (TBA)NetSuite connector docs
Dynamics 365SaaS pull (via Azure Synapse Link)OAuth U2MDynamics 365 connector docs
SQL Server (cloud)Database CDCDB user + change tracking / CDC2-database-connectors.md
SQL Server (on-prem)Database CDCDB user + ExpressRoute / Direct Connect2-database-connectors.md

Public Preview connectors

Production-supported. Configuration may evolve before GA. Deep coverage is being added incrementally; until then, see the public connector reference for current setup steps.

SourceTypeAuth
PostgreSQL CDCDatabase CDCDB user + gateway
MySQL CDCDatabase CDCDB user + gateway
Oracle / Teradata / SQL Server / PG / MySQL (query-based)Database queryDB user
Snowflake / Redshift / Synapse / BigQuery (Foreign Catalog)Database queryForeign Catalog
SFTPFile pullKey / password

Beta and Private Preview

Early-access connectors are not production-supported. The list changes month to month; check the public connector reference for current availability.

For the Lakeflow-Connect-vs-Auto-Loader-vs-Federation-vs-Delta-Sharing decision, see 4-ingestion-decision-tree.md.


Required Tools

  • Databricks CLI v0.294.0+ for databricks pipelines create and databricks connections create. Verify with databricks --version.
  • Databricks SDK for Python (databricks-sdk>=0.85.0) if you prefer SDK over CLI.
  • Declarative Automation Bundles if authoring as IaC (recommended for any pipeline that ships to a customer environment).

No extra connector-specific SDK is needed. Lakeflow Connect reuses the pipelines API surface — pipelines are created with an ingestion_definition block instead of a libraries block, but the API and CLI are otherwise the same.


Prerequisites

Confirm before creating any pipeline:

  1. A Unity Catalog target — catalog and schema must exist; the service principal or user creating the pipeline needs USE CATALOG, USE SCHEMA, CREATE TABLE, and MODIFY on the target schema.
  2. A UC CONNECTION object with credentials for the source. SaaS OAuth U2M connections must be created via the UI (Catalog Explorer); API-key and basic-auth connections can be created via CLI / DAB.
  3. For database connectors: network reachability between the gateway (classic compute, customer VPC) and the source database. On-prem requires ExpressRoute (Azure) or Direct Connect (AWS).
  4. For file connectors: OAuth scope grants on the SaaS file repo (SharePoint / Google Drive).

Minimal Example — Salesforce ingestion pipeline

The canonical authoring path is JSON to databricks pipelines create --json. (There is no SQL CREATE TABLE … FROM CONNECTION syntax for Lakeflow Connect — that syntax exists only for Lakehouse Federation, which is a different product.)

bash
databricks pipelines create --json '{
  "name": "salesforce_to_uc",
  "ingestion_definition": {
    "connection_name": "my_salesforce_oauth_connection",
    "objects": [
      {"table": {"source_schema": "salesforce", "source_table": "Account",
                 "destination_catalog": "main", "destination_schema": "salesforce_raw"}},
      {"table": {"source_schema": "salesforce", "source_table": "Opportunity",
                 "destination_catalog": "main", "destination_schema": "salesforce_raw"}}
    ]
  }
}'

For a DAB-authored version (the production path), see 1-saas-connectors.md.


Running the pipeline

Once authored, deploy and trigger a run. The bundle path gives the cleanest run-by-key command:

bash
databricks bundle deploy -t dev
databricks bundle run salesforce_ingestion           # KEY = the pipeline resource key in the bundle; waits by default
databricks bundle run salesforce_ingestion --no-wait

A pipeline created imperatively with pipelines create --json has no run-by-name CLI — start and poll an update by pipeline ID instead:

bash
databricks pipelines start-update <pipeline-id>             # returns an update_id
databricks pipelines get-update  <pipeline-id> <update-id>  # poll one update's status
databricks pipelines list-updates <pipeline-id>             # recent updates and their states

That asymmetry is one more reason to author with a Declarative Automation Bundle.


Detailed guides

TopicFileWhen to read
SaaS connectors (Salesforce, Workday Reports, ServiceNow, GA4, HubSpot, Confluence)1-saas-connectors.mdUnified SaaS pattern, per-connector deltas, OAuth flows, DAB stubs
Database connectors (SQL Server cloud + on-prem)2-database-connectors.mdGateway pattern, change tracking vs CDC, network setup
Ingestion decision tree4-ingestion-decision-tree.mdLakeflow Connect vs Auto Loader vs Lakehouse Federation vs Delta Sharing
Troubleshooting and monitoring5-troubleshooting-and-monitoring.mdEvent log queries, common errors, escalation pointers

Workflow

For each new ingestion pipeline:

  1. Pick the connector category — SaaS / database / file / push — and read the matching reference file.
  2. Verify prerequisites — UC target, source credentials, network path (for databases), region availability.
  3. Create the UC CONNECTION — UI for OAuth U2M, CLI / DAB for everything else.
  4. Author the pipeline — databricks pipelines create --json for one-offs, DAB YAML for anything shipping to a customer.
  5. Trigger the first run and watch the event log; see 5-troubleshooting-and-monitoring.md for the SQL.
  6. Schedule the triggered pipeline with a Jobs pipeline_task (cron or interval). Lakeflow Connect supports triggered runs only — continuous: false selects triggered mode but is not itself a schedule, so the cadence comes from the Jobs trigger.

Anti-patterns

Three forms that look plausible but fail — wrong vs. right:

1. CREATE TABLE ... FROM CONNECTION is Lakehouse Federation, not Lakeflow Connect.

sql
-- WRONG: Federation syntax; no LFC equivalent exists
CREATE TABLE main.salesforce_raw.account FROM CONNECTION my_salesforce_conn;
json
// RIGHT: author an ingestion_definition (see the Minimal Example above)
{"ingestion_definition": {"connection_name": "my_salesforce_conn", "objects": [/* ... */]}}

2. An ingestion pipeline carries ingestion_definition, never a libraries block.

json
// WRONG: libraries is for a standard SDP pipeline running your notebooks/files
{"name": "salesforce_to_uc", "libraries": [{"notebook": {"path": "/Repos/.../ingest"}}]}
// RIGHT:
{"name": "salesforce_to_uc", "ingestion_definition": {"connection_name": "...", "objects": []}}

3. continuous: true is rejected — Lakeflow Connect is triggered-only.

json
// WRONG: continuous mode fails at create
{"continuous": true, "ingestion_definition": {/* ... */}}
// RIGHT: continuous:false (or omit) + schedule with a Jobs pipeline_task
{"continuous": false, "ingestion_definition": {/* ... */}}

Important

  • Triggered only, no continuous mode — pipelines run on a schedule or on-demand, never continuously. Check the connector reference for the latest status.
  • Compute-only billing — Lakeflow Connect is billed in DBUs (no per-row fee). Database connectors also incur classic-compute gateway DBUs in addition to the serverless ingestion pipeline DBUs. See the pricing page for current rates.
  • Salesforce auth is OAuth U2M only — no machine-to-machine, no basic auth. Connection creation requires a UI walk-through.
  • Database staging retention is 30 days by default in the UC Volume between the gateway and the ingestion pipeline.
  • Limits per pipeline — most SaaS connectors cap at 250 tables per pipeline. Split across multiple pipelines if needed.
  • This lands raw tables — Lakeflow Connect writes source-faithful tables (the ingestion landing zone). Build the medallion Bronze/Silver/Gold transforms on top of them with databricks-pipelines.

Key Concepts

  • UC CONNECTION is the credential anchor — every Lakeflow Connect pipeline points at a UC connection. The connection owns the auth; the pipeline references it by name.
  • Serverless ingestion pipeline + (optional) classic gateway — SaaS connectors are pure serverless. Database connectors split into a customer-network gateway (classic) and a serverless ingestion pipeline (Delta-bound).
  • CDC and schema evolution are built in — for sources that support change tracking or CDC, the connector applies changes incrementally and evolves the target schema. Data-type changes typically require a full snapshot reload.
  • Streaming Delta output — destination tables are governed Delta tables; CDC sources are applied with change semantics (APPLY CHANGES / AUTO CDC, or apply_changes_from_snapshot for snapshot sources). Compatible with downstream materialized views and Spark streaming.
  • OAuth U2M is UI-only — DAB / CLI cannot bootstrap OAuth U2M connections. Hand the one-time browser step to a human (Catalog Explorer > External Data > Connections > Create connection > pick the source > sign in), then resume once databricks connections get <connection_name> reports READY.

Common Issues

For common errors and their fixes — duplicate-key violations, watermark / cursor problems, schema evolution, gateway region availability, the channel runtime-channel setting, and pipelines that run but land no data — see 5-troubleshooting-and-monitoring.md, which also has the event-log queries to diagnose them.


Related Skills

  • databricks-pipelines — the SDP runtime that Lakeflow Connect pipelines run on. For Auto Loader and downstream pipeline patterns.
  • databricks-zerobus-ingest — push-based gRPC ingestion. Sibling to Lakeflow Connect's pull-based connectors.
  • databricks-dabs — author Lakeflow Connect pipelines as IaC.
  • databricks-unity-catalog — managing catalogs, schemas, and the UC CONNECTION objects that LFC credentials live in.
  • databricks-jobs — schedule ingestion pipelines with pipeline_task.

Resources

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Databricks Lakeflow Connect」では何ができますか?

Build managed ingestion pipelines into Databricks using Lakeflow Connect. Use when ingesting from SaaS apps (Salesforce, Workday Reports, ServiceNow, Google Analytics 4, HubSpot, Confluence) or databases (SQL Server cloud and on-prem; PostgreSQL/MySQL CDC in PuPr) into Unity Catalog with serverless pipelines.

TypingMindでDatabricks Lakeflow Connectを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Databricks Lakeflow Connectはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにDatabricks Lakeflow Connectをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/databricks/databricks-agent-skills/tree/main/plugins/databricks/claude/skills/databricks-lakeflow-connectを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Databricks Lakeflow Connectを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Databricks Lakeflow Connectで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもDatabricks Lakeflow Connectを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Databricks Lakeflow Connect」は無料ですか?

databricksがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇