--- title: "Create Databricks APP for RevsureAI" slug: "databricks-writeback" updated: 2026-01-29T15:43:34Z published: 2026-01-29T15:43:34Z canonical: "documents.revsure.ai/databricks-writeback" --- > ## Documentation Index > Fetch the complete documentation index at: https://documents.revsure.ai/llms.txt > Use this file to discover all available pages before exploring further. # Create Databricks APP for RevsureAI ## Overview To securely connect RevSure with Databricks, you must create a **Databricks App Connection**. This app enables **OAuth-based authentication**, allowing RevSure to access your Databricks SQL Warehouse and write data into your workspace without sharing user credentials. The Databricks App generates a **Client ID** and **Client Secret**, which are required when configuring Databricks as a Data Destination in RevSure. Scribe: [**Create Databricks APP for RevsureAI**](https://scribehow.com/viewer/Create_Databricks_APP_for_RevsureAI__U0MZgA8TR8CBHFmcwmNmnA) ## Step-by-Step: Create Databricks App for RevSure ### 1. Log in to Databricks Account Console 1. Open:`https://accounts.cloud.databricks.com/ ` 2. Log in using your **Databricks Account Admin** credentials ### 2. Navigate to App Connections 1. Click **Settings** 2. Select **App connections** ### 3. Add a New App Connection 1. Click **Add connection** 2. Enter the **Application Name** Example:`RevsureAI ` --- ### 4. Configure OAuth Settings Provide the following details: - **Redirect URL** `https://gw.revsure-dev.cloud/data-hub/v1/destination/oauth/callback ` - **Access Scopes** - Select **SQL** - **Client Secret** - Ensure **Generate a client secret** is enabled ### 5. Configure Token Expiry Set the token lifetimes as below: - **Access Token TTL (in minutes)**:`1440 ` - **Refresh Token TTL (in minutes)**:`129600 ` These values ensure secure long-lived access with periodic refresh. ### 6. Create the App - Click **Add** - Databricks will generate: - **Client ID** - **Client Secret** ### 7. Save Client Credentials - Copy and securely store the **Client ID** and **Client Secret** - These values are required when configuring **Databricks as a Data Destination in RevSure** > ⚠️ The Client Secret is shown only once. Make sure to save it before closing the page.