Skip to main content

databricks apps vs retool

Summary

  • Databricks Apps enables developers to build and deploy secure data and AI applications on the Databricks platform. Apps run on the serverless platform and integrate with Unity Catalog, Databricks SQL, and OAuth.
  • Databricks documents developing apps locally in Python or Node.js. Python frameworks include Streamlit, Dash, and Gradio, and Node.js frameworks include React, Angular, Svelte, and Express. Genie App Builder (Beta) builds apps from natural-language prompts.
  • Retool is a separate platform for apps, mobile apps, agents, and workflows, available Retool-hosted or self-hosted. Its docs describe a new AI app builder and a classic drag-and-drop editor.
  • Retool has a native Databricks Lakehouse integration, and its OAuth option uses Unity Catalog to enforce access controls.

databricks apps vs retool

Databricks Apps and Retool both build apps that connect to data, but they sit in different places. Databricks apps are web applications that run on the Databricks serverless platform and are developed with frameworks such as Streamlit, Dash, Gradio, React, Angular, Svelte, or Express. Retool is a separate platform, Retool-hosted or self-hosted, for building apps, mobile apps, agents, and workflows, and it connects to Databricks through a native integration. Which one fits depends on where the app should run, which data it uses, and how the team prefers to build.

What is Databricks Apps?

Databricks documentation says Databricks Apps "enables developers to build and deploy secure data and AI applications directly on the Databricks platform, which eliminates the need for separate infrastructure." Each app is a web application that runs as a containerized service on the Databricks serverless platform. The docs list interactive dashboards, RAG chat apps, data entry forms, and custom operational interfaces as common use cases. Apps declare the platform resources they depend on, such as a SQL warehouse, a Genie Agent, a Lakebase database, a Lakeflow job, a model serving endpoint, a secret, or a Unity Catalog volume.

What is Retool?

Retool's documentation lists several product areas: Apps, Mobile ("Build native mobile apps for iOS and Android"), Agents ("Automate human work with AI"), and Workflows ("Automate jobs, alerts, and ETL tasks"). Its new app builder lets you build apps "by prompting an AI agent in natural language," and the agent "generates a React-based app consisting of components, themes, and functions that connect to your resources." Retool also documents classic apps, which use its original editor with drag-and-drop components, queries that read and write data, and JavaScript. Retool says the new app builder is the recommended way to build apps.

Databricks Apps vs Retool: how they compare

Area Databricks Apps Retool
Where it runs A containerized service on the Databricks serverless platform, inside a Databricks workspace Retool-hosted or self-hosted
How apps are built Developed in Python or Node.js with supported frameworks (Streamlit, Dash, Gradio, React, Angular, Svelte, Express), starting from templates. Genie App Builder (Beta) generates apps from natural-language prompts. New app builder: an AI agent generates a React-based app from a prompt. Classic apps: drag-and-drop components, queries, and JavaScript.
Data access Declared resources such as a SQL warehouse, Genie Agent, Lakebase database, and Unity Catalog volume Resources that connect to APIs and databases, including a native Databricks Lakehouse integration
Identity and access App authorization through a dedicated service principal, and user authorization through the signed-in user's identity Databricks Lakehouse resources authenticate with an API key or custom OAuth 2.0 client credentials. With OAuth, Unity Catalog enforces access controls.
Sharing Share with users or groups through CAN_USE or CAN_MANAGE permissions within the same Databricks account, or embed in web applications with an iframe User permissions control access to Retool. Its docs cover building, deploying, and embedding classic apps.
AI and automation Model serving endpoint, Genie Agent, and Lakeflow job resources Agents ("Automate human work with AI") and Workflows ("Automate jobs, alerts, and ETL tasks")

How does Databricks Apps handle identity and state?

Each Databricks app has a dedicated service principal, which is app authorization. With user authorization, the app uses the identity and permissions of the user interacting with it, which lets the app respect the fine-grained permissions managed by Unity Catalog without granting those permissions to the app's service principal. Apps do not preserve in-memory state after restarts. Persistent state can live in Databricks tables, workspace files, Unity Catalog volumes, or Lakebase database instances.

How does Retool connect to Databricks?

Retool's Databricks Lakehouse integration creates a resource from the SQL warehouse host, port, HTTP path, catalog, and schema. It supports API key authentication and custom OAuth 2.0 client credentials. Retool's docs state that its "OAuth 2.0 integration uses Databricks Unity Catalog to enforce access controls," so users can only query data they have permission to access in Databricks. Self-hosted Retool needs the Java DB Connector for the Databricks connector.

FAQs

Can Retool and Databricks work together?

Yes. Retool's native Databricks Lakehouse integration lets users write queries against Databricks data. Separately, Databricks documents embedding a Databricks app in other web applications with an iframe.

Can I build a Databricks app without writing all the code?

Genie App Builder, which is in Beta, builds Databricks apps from natural language. You describe the app, review a working preview, refine it with follow-up prompts, and deploy. A workspace admin must turn on Governed agentic app-building from the Previews page, partner-powered AI features must be enabled, and the feature is available only in the regions listed in the docs.

Can a Databricks app use Genie Agents?

Yes. A Genie Agent is a supported app resource. Once added, the app can submit natural-language queries to the agent and receive responses with SQL queries and results.

What does embedding a Databricks app require?

Viewers must be authenticated Databricks users with permission to access the app, and the app must be running and accessible in the workspace.

The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.