What’s in this Quick Start?
This Quick Start guides you through the end-to-end Credible workflow, focusing on a familiar and powerful pattern: a data modeler defines trusted business logic in VS Code using our AI Copilot, and a data analyst explores the governed data model using Malloy’s no-code Explorer query builder. This mirrors the proven modeler → analyst workflow popularized by tools like DBT and Looker — now reimagined for the AI era. You will learn how to:- Build a semantic model using the Credible AI Copilot in VS Code
- Create a view to validate your model
- Publish your work to the Credible service for broader use
- Explore your semantic model using the no-code Explorer to answer business questions
Step 0: Get Set Up
Before starting, make sure:- A Credible admin set up your organization. (self-service demo coming soon)
- You have a basic understanding of Malloy, the semantic modeling language Credible is built on. View Malloy Docs →
Install the VS Code Extension
- In VS Code, go to the Extensions view (
Cmd+Shift+X
) - Search for
Credible
and install the extension
Log in to Credible Service in VS Code
- In the VS Code Explorer sidebar, expand “Credible Service.”
- Click “Sign In”
- Click ”+ Add new organization” and enter the organization name provided by your Credible admin
- Complete the login flow in your browser by authenticating with you email or Google account
- When redirected back to VS Code, select the project:
quick-start
Credible Service
Panel in VS Code is where you can view your organization’s projects, connections, and packages in the Credible service. For example:

quick-start
project, you can see you have access to a “bq_demo” connection. The connection is managed by the Credible service and is not stored locally, but the Credible VS Code extension will discover it in your project and allow you to use it in your local models—thus eliminating the need to store database credentials locally.
Step 1: Build a Semantic Model
At the core of Credible is the semantic model—a governed, versioned interface that defines how your data should be understood and used. Think of it as a an API for your data: it captures not just structure, but business meaning. You’ll use the Credible AI Copilot in VS Code to generate your first model using existing catalog metadata, query logs, and the structure of your data warehouse.Open the Credible Chat Panel
Open the Credible Chat Panel. You will initially see it on the left in Activity Bar. To open the AI Copilot chat, click on the Credible icon. To view the File Explorer, the Credible Service Panel and the Chat (along with your file), we recommend moving the chat over to the right panel by dragging and dropping the Credible Chat into a panel on the right, as shown in the screencast below:Generate Your Semantic Model
Open the Credible chat and ask the Credible AI Copilot to help you build a model on the ecommerce dataset. For example: Build a semantic model of our ecommerce data to analyze sales by brand or product and user spend by age bucket.Review and Adjust Your Model
After the model is generated, review and approve the edit to move the model into your malloy file. The ecommerce dataset has four tables:order_items
, users
, products
, and inventory_items
. You should see Malloy sources for each table with dimensions, measures, and join relationships connecting them logically.

Step 2: Create a View
Creating views is a powerful way to validate your semantic model and define reusable analyses. We’ll use the AI Copilot’s autocomplete feature to create a simple view that calculates sales by brand.Step-by-Step Instructions:
- Find the
order_items
source in yourecommerce.malloy
- Below the dimensions and measures, start typing
view: sales_by_brand
and pause (be sure to include a space after brand to trigger the copilot) - Wait for the copilot suggestion - it should suggest a complete view definition with a measure for total sales by brand. Adjust as desired & resolve any errors
- Add a
# bar_chart
tag above the view to make it display as a bar chart - Click “Run” above the view execute the query. Results will display on the right
Create a Nested View
You can also create nested views to drill down into your data:Troubleshooting
If autocomplete isn’t working: add a space/tab after typing, wait 2-3 seconds, and ensure you start with valid Malloy syntax likeview:
.
Step 3: Publish to the Credible Service
Publishing makes your model a governed, versioned asset—like a software package—that can be safely used by AI agents, applications, and dashboards. The version number is the key to managing changes over time.- VS Code
- CLI
- Check the version: Open the
publisher.json
file and confirm the version is set to0.0.1
for this initial publish - Open Local Packages panel: In the VS Code explorer, expand “Credible: Local Packages”
- Click Publish: Click the publish button next to your package
- Confirm the deployment: Refresh the “Credible Service” panel to verify that version
0.0.1
of your model now appears
Voila!
Your semantic model is now:- Governed and version controlled
- Discoverable and queryable via APIs and notebooks
- Ready for use by analysts, embedded apps, dashboards, or AI agents
Step 4: Explore your Semantic Model
Now that you’ve published your semantic model to the Credible platform, it’s time to see how data consumers can analyze data in the no-code Explorer UI (built on Malloy’s open source Publisher & Explorer functionality). This is where your work as a data modeler becomes a launchpad for analysts, product managers, and other data consumers to ask meaningful questions — without writing a single line of SQL.Open the Data Explorer and Run a Saved View
-
Access your model: Navigate to
https://<your-org>.admin.credibledata.com/quick-start
, log in, and open yourecommerce
package. Go to Models →ecommerce.malloy
and select theorder_items
source tab. -
Run an analysis: In the Views section, click on
sales_by_brand
, then click “Run” to execute the query.
Create a Nested Query
Now let’s build a query from scratch using clicks: Clear the query panel, addbrand
as Group By and total_sales
as Aggregate, then click + to add a nested query with user_age_group
and total_sales
.
✅ You’ve just created a nested query that breaks down sales by brand and age group.
🎉 What You’ve Accomplished
✅ Defined business logic in a semantic model (with AI assistance)✅ Validated the model and saved a view
✅ Published the package organization-wide
✅ Explored data with nested analysis through a no-code interface (no SQL required) You’ve experienced the power of Credible: one semantic model that works everywhere — from modeling to exploring, enabling developers and analysts to work together on the same trusted foundation.