Prerequisites
- VS Code installed (latest version recommended)
- Admin role in a Credible organization
- Database connections configured - Your organization admin should have set up connections to your data sources
What the Credible Extension Provides
The Credible VS Code extension connects you to the Credible platform, giving you:- Managed database connections — Access connections configured in the Admin Portal without storing credentials locally
- Credible AI Modeling Agent — An AI assistant with access to the indexed metadata from your data warehouse (table schemas, column statistics, query logs) to help you build semantic models
- Credible Service Panel — Browse your organization’s projects, connections, and published packages
- Syntax highlighting & compilation checks for
.malloy,.malloynb, and.malloysqlfiles - Schema | Explore | Preview buttons above any source definition
- Run | Show SQL buttons above any query or run statement
- Malloy Schema Explorer in the Explorer panel (
Cmd+Shift+E) to browse sources, dimensions, measures, and views
Installation
The fastest way to get started is to authenticate via the Credible CLI, then install the VS Code extension.Install the CLI and Log In
Open a terminal and install the Credible CLI globally:<yourOrgName> with the organization name provided by your admin):
Install the Extension
- Open VS Code and go to Extensions (
Cmd+Shift+Xon Mac,Ctrl+Shift+Xon Windows/Linux) - Search for “Credible” and install the extension
- Restart VS Code to activate the extension
Set Up Your Workspace
For optimal modeling experience, arrange your VS Code workspace with the Credible Chat panel on the right: This layout allows you to view your code, file explorer, and AI chat simultaneously.Credible Service Panel
The Credible Service Panel shows your organization’s structure. Find it at the bottom of the Explorer view (Cmd+Shift+E on Mac, Ctrl+Shift+E on Windows/Linux):

- Projects: Logical groupings of related packages and connections
- Connections: Managed database connections (no local credentials needed)
- Packages: Published semantic models with version history
Alternative: Sign In via VS Code
Instead of using the CLI, you can log in directly through VS Code:- Open the Credible Service Panel in the Explorer view
- Click the Sign In button
- Complete authentication in your browser
- Back in VS Code, click Add New Org to connect to your organization
- Enter your organization name and select a project
The CLI login is recommended for most users as it’s faster and works across all VS Code workspaces automatically.