> ## Documentation Index
> Fetch the complete documentation index at: https://stackone-hub-claude-issue-384-20260409-1436.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Databricks (OAuth)

> Follow these steps to connect Databricks via the StackOne Hub successfully.

<Warning>
  Ensure that your Databricks account has Account Admin privileges.
</Warning>

If you've been directed to StackOne to integrate with Databricks, the following steps will help you understand the process and any necessary actions to configure a successful integration.

This integration will connect with Databricks at the *Account* level, which can contain multiple *Workspaces*. See Databricks [Accounts and workspaces](https://docs.databricks.com/en/getting-started/concepts.html#accounts-and-workspaces) for more information.

## Log in to Databricks

Log in to your Databricks account console.

* AWS hosted: [https://accounts.cloud.databricks.com](https://accounts.cloud.databricks.com)
* Azure hosted: [https://accounts.azuredatabricks.net](https://accounts.azuredatabricks.net)

<Frame>
  <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Log in" src="https://mintcdn.com/stackone-hub-claude-issue-384-20260409-1436/_o5wW7tnj99F2Kie/images/databricks/image1.png?fit=max&auto=format&n=_o5wW7tnj99F2Kie&q=85&s=05c15696f241c240c3405a307a77a5e0" width="439" height="387" data-path="images/databricks/image1.png" />
</Frame>

## Obtain your Account ID

Click the down arrow next to your username in the top-right corner. In the drop-down menu, copy your displayed **Account ID** to be used in a later step.

<Frame>
  <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Obtain your Account ID" src="https://mintcdn.com/stackone-hub-claude-issue-384-20260409-1436/_o5wW7tnj99F2Kie/images/databricks/image2.png?fit=max&auto=format&n=_o5wW7tnj99F2Kie&q=85&s=e65f431f4cfcf18625734dd800a8ab09" width="400" height="232" data-path="images/databricks/image2.png" />
</Frame>

## Create New OAuth Application Credentials

This connection will authenticate on behalf of a registered OAuth Application in Databricks.

<Info>
  The following Databricks interfaces are only available to Databricks Account Administrators.
</Info>

<Steps>
  <Step title="Navigate to App Connections">
    In your Databricks Account console, click **Settings** in the left navigation. Then click the **App Connections** tab.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Navigate to App Connections" src="https://mintcdn.com/stackone-hub-claude-issue-384-20260409-1436/_o5wW7tnj99F2Kie/images/databricks/image3.png?fit=max&auto=format&n=_o5wW7tnj99F2Kie&q=85&s=d12f17ed700d7cdd50cb77d9b770f8bf" width="1590" height="872" data-path="images/databricks/image3.png" />
    </Frame>
  </Step>

  <Step title="Add connection">
    Click the **Add connection** button on the right.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Add connection" src="https://mintcdn.com/stackone-hub-claude-issue-384-20260409-1436/_o5wW7tnj99F2Kie/images/databricks/image4.png?fit=max&auto=format&n=_o5wW7tnj99F2Kie&q=85&s=59a68780ca8e92a48363c0c4dac7dd07" width="2200" height="870" data-path="images/databricks/image4.png" />
    </Frame>
  </Step>

  <Step title="Enter connection details">
    Under *Add connection*, enter the following required information:

    * Application Name: (Appropriate name for this application)
    * Redirect URLs:

    ```
    https://api.stackone.com/connect/oauth2/databricks_iam/callback
    ```

    * Access scopes: Select **All APIs**
    * Client secret: Select **Generate a client secret**
    * Access token TTL: 30 (recommended minimum)
    * Refresh token TTL: **129,600** (strongly recommended)

    <Warning>
      When the Databricks refresh token expires, a manual re-authorization is required to re-establish the connection.

      Therefore, we strongly recommend setting the refresh token TTL to the maximum allowed value of 129,600 minutes (90 days).
    </Warning>

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Enter connection details" src="https://mintcdn.com/stackone-hub-claude-issue-384-20260409-1436/_o5wW7tnj99F2Kie/images/databricks/image5.png?fit=max&auto=format&n=_o5wW7tnj99F2Kie&q=85&s=4722b0496c89ba5c8eac8f9d328745ea" width="1346" height="1670" data-path="images/databricks/image5.png" />
    </Frame>

    Once completed, click the **Add** button at the bottom.
  </Step>

  <Step title="Copy new credentials">
    Copy your displayed **Client ID** and **Client Secret** and store them safely to be used in a later step.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Add connection" src="https://mintcdn.com/stackone-hub-claude-issue-384-20260409-1436/_o5wW7tnj99F2Kie/images/databricks/image6.png?fit=max&auto=format&n=_o5wW7tnj99F2Kie&q=85&s=c28e9ab9ec423761519f09da98f057dd" width="1440" height="924" data-path="images/databricks/image6.png" />
    </Frame>
  </Step>
</Steps>

## Connecting with StackOne

Upon reaching the Link Account page, enter the credentials from the previous steps:

* **Cloud Provider**: Select your Databricks cloud host (AWS or Azure)
* **Account ID**
* **Client ID**
* **Client Secret**

Proceed by clicking the Connect button.

You may be prompted to log in to your Databricks account to authorize the connection. If so, follow the login prompt.

<Frame>
  <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Connecting with StackOne" src="https://mintcdn.com/stackone-hub-claude-issue-384-20260409-1436/_o5wW7tnj99F2Kie/images/databricks/image7.png?fit=max&auto=format&n=_o5wW7tnj99F2Kie&q=85&s=b53a40ac2d0bac3ee5f96e5c0e55d785" width="964" height="1518" data-path="images/databricks/image7.png" />
</Frame>

<br />

Congratulations, you're all set! If you face any issues with the steps mentioned above,
please contact us by emailing [integrations@stackone.com](mailto:integrations@stackone.com). We're always here to assist you!

## Available data

This integration has the following [IAM Resources](https://docs.stackone.com/reference/getting-started-with-your-api) available from the provider:

<ul>
  <li>Users</li>
  <li>Groups</li>
</ul>
