---
title: "Use Muse Code with Databricks (Service Principal) — connector setup — AgentSky"
description: "Use Muse Code with the Databricks (Service Principal) connector on AgentSky. Connect the correct account, run a bounded first task, and verify permissions, cost and results."
url: https://agentsky.dev/agents/muse-code/connectors/databricks_oauth
---

# Muse Code + Databricks (Service Principal)

Muse Code runs the task; the Databricks (Service Principal) connector supplies only the operations and resources allowed by the account you authorize. The Composer selects Muse Code, asks for Databricks (Service Principal) access before sending, and keeps both choices in one task draft.

[Repo](https://agentsky.dev/auth/start?returnTo=%2Fagents%2Fmuse-code%2Fconnectors%2Fdatabricks_oauth%3Fresume%3D1)

Connect Databricks (Service Principal) using the Connectors control before sending. Authorization opens separately and your draft stays here.

How the combination works

## Muse Code plans and executes. Databricks (Service Principal) supplies authorized app access.

Runs the task through its ACP harness in a persistent cloud workspace while the selected AgentSky model supplies reasoning and generation.

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

- Muse Code Owns the task loop, model calls, cloud computer, tool choices, progress and final result.
- Databricks (Service Principal) connector Supplies the currently exposed operations for the authorized Databricks (Service Principal) account. It does not promise every feature in the Databricks (Service Principal) product.
- Permission boundary The connected identity, granted provider scopes, organization policy, resource sharing and the task's explicit instruction all constrain what Muse Code can do.

Setup and first task

## Connect one Databricks (Service Principal) account and verify one known resource.

The Composer preselects Muse Code with Muse Spark 1.2. Start read-only when possible, then expand to write operations only after the account and resource boundary are clear.

01

### Open the Muse Code Composer

The Composer above carries Muse Code, Muse Spark 1.2, and Databricks (Service Principal). Add a precise target and expected result; the draft stays on this page during sign-in or connector authorization.

02

### Authorize the intended Databricks (Service Principal) account

Review the Databricks (Service Principal) account, workspace and permissions on the authorization screen. Your organization's policies or administrator approval may limit which resources the connection can access.

03

### Run and verify a bounded task

Name one Databricks (Service Principal) resource you can already access and ask the agent to check whether a read operation is available. If it is, retrieve and summarize that resource without changing it. If it is not, ask the agent to explain the missing operation or permission. Open the same resource in Databricks (Service Principal) and compare it with the agent's result. Check the account, resource identifier and current content before using the output for another task.

Access, cost and limits

## What to verify before scaling Muse Code + Databricks (Service Principal)

Tasks supported by this ACP harness through AgentSky's verified platform-model path.

Establish with the first run

- Muse Code and Muse Spark 1.2 remain selected after sign-in.
- Databricks (Service Principal) shows the intended connected account before the task is sent.
- The returned data matches one known source resource, with write actions excluded until separately authorized.

Still depends on your setup

- A catalog listing does not guarantee every Databricks (Service Principal) website feature is available as an agent operation.
- OAuth scopes do not replace organization policy, resource sharing or a precise task instruction.
- Total task cost can include model tokens, active computer time, paid tools, connectors and the provider's own plan or quota.

Verification and recovery

## Check Databricks (Service Principal) itself before trusting the result.

Open the same resource in Databricks (Service Principal) and compare it with the agent's result. Check the account, resource identifier and current content before using the output for another task.

- Connection troubleshooting If Databricks (Service Principal) access fails, check the connected identity, resource sharing and requested permissions. Reconnect an expired or revoked account in connector settings. If the connection is healthy but an operation is unavailable, changing accounts may not resolve it.
- Writes need explicit scope Name the target record and exact allowed change. A request to summarize, analyze or draft does not authorize sending, publishing or deleting.
- Re-check current state For decisions or follow-up writes, open the resource in Databricks (Service Principal) and check its current state. A successful earlier read may already be stale.

## Muse Code + Databricks (Service Principal) questions

## Related resources

[Muse CodeReview Muse Code's supported models, capabilities and browser Composer.](https://agentsky.dev/agents/muse-code) [Databricks (Service Principal) connectorReview the application-specific authorization and first-task guide.](https://agentsky.dev/connectors/databricks_oauth) [Muse Code + Muse Spark 1.2Review the current default agent and model combination.](https://agentsky.dev/agents/muse-code/with/muse-spark-1.2) [PricingReview model, active-computer, tool and connector charges.](https://agentsky.dev/pricing)

## Run a bounded Databricks (Service Principal) task with Muse Code.

[Open the Composer](https://agentsky.dev/agents/muse-code/connectors/databricks_oauth#composer)

## Frequently asked questions

### Can Muse Code use Databricks (Service Principal) on AgentSky?

Yes. Databricks (Service Principal) is in AgentSky's current managed connector catalog, and Muse Code can request its exposed operations after you authorize an account. The exact actions still depend on current connector operations and permissions.

### What does Muse Code do in this combination?

Muse Code runs the work loop with Muse Spark 1.2 selected by default: it interprets the task, chooses permitted operations, works in its cloud computer, and returns evidence. Databricks (Service Principal) remains the source application and permission boundary.

### Do I need to paste a Databricks (Service Principal) API key into the task?

No. This directory covers AgentSky's managed connector flow. Use the Connectors control and complete the provider authorization screen; never paste a password or secret into the Composer. Any provider plan or administrator approval remains separate.

### What can Muse Code do in Databricks (Service Principal)?

The agent can use the operations that the current connector exposes for the authorized account. Availability depends on the operation, required inputs, provider scopes, resource sharing and organization policy; the catalog does not promise every Databricks (Service Principal) feature.

### What happens if I am signed out or my balance is empty?

The shared Composer preserves the task, Muse Code, Muse Spark 1.2, and Databricks (Service Principal) through sign-in and connector authorization. Before dispatch, AgentSky checks the account and balance; if funding is required, it shows the billing path instead of silently changing the selections.

### How much does Muse Code + Databricks (Service Principal) cost?

There is no fixed connector-task price. AgentSky records model token usage and active cloud-computer time, plus any paid tools or connector operations. Databricks (Service Principal)'s own subscription, API quota or provider charge is separate; review both products' current limits before a large workflow.

---

Markdown copy of https://agentsky.dev/agents/muse-code/connectors/databricks_oauth. Every agentsky.dev page has one: add `.md` to its address or send `Accept: text/markdown`. Start from https://agentsky.dev/llms.txt.
