Use Databricks models in Visual Studio Code Chat
The Databricks IDE extension brings the models that your workspace serves through Unity Gateway to Visual Studio Code Chat. You can chat with them, and use them in agent mode, like the other models in Chat.
Requirements
To use Databricks models in Visual Studio Code Chat:
- You must have version 3.1.0 or above of the Databricks IDE extension. See Install a different version of the extension.
- Your workspace must have Unity Gateway model services that you can query. See Unity Gateway.
Databricks models aren't available in Cursor.
Sign in to Unity Gateway
Unity Gateway has its own sign-in, separate from your project's workspace connection, so it can use a different workspace. The first time you sign in to a workspace, the extension signs Unity Gateway in to the same workspace.
To sign in to Unity Gateway:
- On the sidebar, click the Databricks icon.
- In the Connection view, click the Unity Gateway connection row. The row appears after you sign in to a workspace or open a project. You can also run Databricks: Sign in to Unity Gateway from the Command Palette.
- Select a workspace and a profile, as you do to sign in to a workspace. See Connect and authenticate the Databricks IDE extension.
The Unity Gateway connection row in the Connection view shows the profile that Unity Gateway uses. To use another workspace, click Switch Unity Gateway workspace on the row. To sign out, click Sign out of Unity Gateway.
Chat with a Databricks model
-
In the Models & AI tools view, click Models. The model picker of Visual Studio Code Chat opens.

-
Select a model under Databricks.

-
Enter your request in Chat.