Prerequisites
- VS Code installed (latest version recommended)
- Modeler permissions in a Credible organization
- Database connections configured - Your organization admin should have set up connections to your data sources
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 Extensions to activate the extension
Connect to Credible
- In the VS Code Explorer sidebar, expand “Credible Service”
- Click “Sign In” and add your organization name
- Complete the login flow in your browser
- Select your project from the dropdown
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.Extension Features
The extension provides several panels and features to help you build models:- Connection Explorer: Browse your connected databases, schemas, and tables
- Local Packages: View and publish packages from your workspace
- Malloy Schema Explorer: See all sources, dimensions, measures, and views in your
.malloyfiles - Schema/Explore/Preview buttons: Above each source, use these to view structure, open the Data Explorer, or preview data
Credible Service Panel
The Credible Service Panel shows your organization’s structure:
- Projects: Logical groupings of related packages and connections
- Connections: Managed database connections (no local credentials needed)
- Packages: Published semantic models with version history
Local Packages Panel
The Local Packages Panel helps you manage packages in your workspace:
- View local package versions
- Publish packages to the Credible service
- Manage package metadata
Running Queries
You can execute queries in multiple ways:- Run button - Click Run next to any view definition
- Explore button - Open the visual query builder
- Command palette - Use
Malloy: Run Querycommand - Inline execution - Right-click on a query and select Run
