What You’ll need
Before you start, make sure you have:- A working Superblocks app
- Set up your Superblocks environment to work with Databricks runtime
- A Superblocks embed token stored as a Databricks secret
- Databricks Apps enabled in your workspace
- Databricks CLI installed and authenticated
Step 1: Create the Databricks App and add the secret
Create a new Databricks App in your workspace by following the official Databricks documentation:Create a Databricks App During the app creation flow, add the Superblocks embed token as an App resource:
- In the Configure step, go to App resources
- Click Add resource
- Select Secret as the resource type
- Choose the secret scope and secret key where the Superblocks embed token is stored
- Grant the app read access to the secret
- Assign a resource key, for example superblocks_embed_token
Step 2: Clone the Databricks App template
Clone the official Superblocks Databricks App template:Step 3: Configure the app
Openapp.yaml and configure the required values for your Databricks workspace and Superblocks app.
At a minimum, configure:
- Your Superblocks instance URL, for example https://app.superblocks.com
- Your Superblocks application ID
- A reference to the Databricks Secret resource key you created in Step 1
Step 4: Deploy to Databricks
Sync the source code into your Databricks workspace and deploy your appStep 5: Open the app
Once deployment completes, open your app at:https://<your-workspace>.cloud.databricks.com/apps/<your-app-name>
Your Superblocks app is now running inside Databricks!
How it works
Once deployed, the Databricks App runs as a lightweight wrapper around your Superblocks application. At a high level:- Users access the app directly inside Databricks and authenticate with their Databricks identity
- The app embeds the Superblocks UI and passes user context securely to Superblocks
- Backend APIs generated by Clark execute through the Superblocks data plane
- Those APIs issue SQL queries and Databricks REST API calls directly to Databricks services
- Databricks executes all data, job, pipeline, and AI workloads
- Unity Catalog enforces permissions for every query and API call
Learn more about the deployment
This quick start intentionally keeps deployment simple. If you want to learn more about:- How the Databricks App wrapper works
- Authentication and token exchange flows
- Advanced configuration options
- Customizing the wrapper app

