Skip to content
Agentmart
Submit a tool

federate-lakehouse-catalog

Sets up Google Cloud Lakehouse federated catalogs to remote Iceberg REST Catalogs.

Skill by jerrylin96

IndexedApache-2.0★ 9
Write a review

Chalk Labs

Need help deploying federate-lakehouse-catalog?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/jerrylin96-federate-lakehouse-catalog

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Sets up Google Cloud Lakehouse federated catalogs to remote Iceberg REST Catalogs. Currently supported catalogs: Databricks Unity, AWS Glue. Supported clouds hosting those catalogs: GCP, AWS. The primary use case is connecting to remote data to query it from GCP engines (BigQuery, Spark). Examples of when to use this: "federate my lakehouse catalog to databricks", "query data in databricks", "query data in s3", "connect to aws glue". Do NOT use for direct remote database SQL execution (e.g., Databricks SQL) or managing remote clusters and infrastructure (e.g., Databricks clusters, AWS Glue jobs).

Use cases: backend, devops, cloud, data

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/federate-lakehouse-catalog

What's inside

Skill name
federate-lakehouse-catalog
Description
Sets up Google Cloud Lakehouse federated catalogs to remote Iceberg REST Catalogs. Currently supported catalogs: Databricks Unity, AWS Glue. Supported clouds hosting those catalogs: GCP, AWS. The primary use case is connecting to remote data to query it from GCP engines (BigQuery, Spark). Examples of when to use this: "federate my lakehouse catalog to databricks", "query data in databricks", "query data in s3", "connect to aws glue". Do NOT use for direct remote database SQL execution (e.g., Databricks SQL) or managing remote clusters and infrastructure (e.g., Databricks clusters, AWS Glue jobs).
License
Apache-2.0
Metadata
version: v1 · publisher: google
Instructions
300 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Federate Lakehouse Catalog via Cross-cloud Lakehouse

This skill describes how to set up a federated catalog in BigQuery to query
remote catalogs like Databricks Unity Catalog or AWS Glue Data Catalog data in
AWS over the public internet.

## Prerequisites

-   For Databricks: Databricks Workspace URL and OAuth Service Principal (Client
    ID and Secret) with read access.
-   For AWS Glue: AWS Administrator access to create IAM roles and permissions
    policies.
-   Active Google Cloud project with administrative access to create lakehouse
    resources, and secrets in the case of Databricks.

## Procedure

### Step 1: Information Gathering and Region Selection

Before running any commands, the agent **MUST** collect the following
information from the user:

1.  Determine which catalog the user wants to federate to (e.g., Databricks
    Unity or AWS Glue) and verify it is supported.
2.  Determine where the remote data is located (the specific AWS region).
3.  Using the Region Pairing Best Practice in the Gotchas section, help the user
    pick the optimal GCP region to minimize latency.
4.  Collect the necessary configuration variables for the chosen flow (e.g.,
    Databricks credentials or AWS Account ID).

Only proceed to the next steps once this information is confirmed.

### Step 2: API Verification

Verify that the required Google Cloud APIs are enabled for the project:

```bash
gcloud services check biglake.googleapis.com
```

If the API is not enabled, explicitly ask the user for permission to enable it.
Do NOT proceed without their confirmation.

### Flow A: Databricks Unity Catalog

#### 1. Create a Regional Secret for Credentials

Store the Databricks client ID and secret in Secret Manager. Ensure the
`secretmanager.googleapis.com` API is enabled. The secret **MUST** be in the
same region as your Lakehouse catalog.

1.  Create a JSON file named `credentials.json`:

```json
{
  "client_id": "<CLIENT_ID>",
  "client_secret": "<CLIENT_SECRET>"
}
```

1.  Set the Secret Manager API endpoint override for the region:

```bash
gcloud config set api_endpoint_overrides/secretmanager https://secretmanager.<REGION>.rep.googleapis.com/
```

1.  Create the secret:

```bash
gcloud secrets create <SECRET_NAME> \
  --location="<REGION>" \
  --project="<PROJECT_ID>" \
  --data-file=credentials.json
```

#### 2. Create the Federated Catalog

Create a BigLake Iceberg catalog of type `federated` pointing to Databricks.

```bash
gcloud alpha biglake iceberg catalogs create <CATALOG_NAME> \
   --project="<PROJECT_ID>" \
   --primary-location="<REGION>" \
   --catalog-type="federated" \
   --federated-catalog-type="unity" \
   --secret-name="projects/<PROJECT_ID>/locations/<REGION>/secrets/<SECRET_NAME>" \
   --unity-instance-name="<UNITY_INSTANCE_NAME>" \
   --unity-catalog-name="<UNITY_CATALOG_NAME>" \
   --refresh-interval="300s"
```

#### 3. Grant Catalog Access to the Secret

Grant the service account created for the catalog access to read the secret.

1.  Get the service account email by describing the catalog:

```bash
gcloud alpha biglake iceberg catalogs describe <CATALOG_NAME> \
    --project="<PROJECT_ID>" \
    --location="<REGION>" \
    --format="value(biglake-service-account-id)"
```

1.  Grant access:

```bash
gcloud secrets add-iam-policy-binding <SECRET_NAME> \
  --project="<PROJECT_ID>" \
  --location="<REGION>" \
  --member="serviceAccount:<SERVICE_ACCOUNT_EMAIL>" \
  --role="roles/secretmanager.secretAccessor"
```

### Flow B: AWS Glue

#### 1. Create the AWS IAM role with a placeholder trust policy

Lakehouse provisions a Google service account ID after catalog creation. Create

From jerrylin96/dotgemini, Apache-2.0.

More from jerrylin96/dotgemini

Signals

Stars
9
Forks
0
Open issues
0
Last commit (this folder)
Jul 9, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
v1
License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from jerrylin96

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get federate-lakehouse-catalog running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying federate-lakehouse-catalog?

CallGet help
Cite this page

federate-lakehouse-catalog skill. Agent Mart. https://agentmart.dev/skills/jerrylin96-federate-lakehouse-catalog (last updated 2026-10-24)