Skip to main content
A connection is a secure, managed link to a database or warehouse. Connection configurations are stored in a Credible environment, and every package in that environment can use them. Credentials never leave the Credible service — all access, for modeling and for serving, is proxied through the platform, making Credible a secure perimeter around your databases. Credible supports BigQuery, Snowflake, PostgreSQL, Trino, Databricks, MySQL, DuckDB, and MotherDuck.

Prerequisites

  • Admin access to an organization in the Credible platform, in order to create environments and connections. If you don’t have it, ask your organization administrator to set up connections for you.

Setup Process

  1. Access your organization at https://your-org.app.credibledata.com
  2. Select your environment from the left sidebar under Packages & Connections
  3. Click ”+ Add Connection” in the Connections section
  4. Choose your data source type and fill in the connection details:
Connection names cannot contain spaces or hyphens. Use underscores instead (e.g., my_connection).
BigQuery Connection
  1. Test the connection
  2. Click Next: Configure Scope
Connection details - step 1 of the connection wizard

Configure Scope for AI-Assisted Modeling

Next, select which schemas and tables to index for AI-assisted modeling: Configure scope - select tables for AI indexing
  • Browse schemas on the left, select tables on the right
  • Use Select All to include all tables in a schema, or pick individual tables
  • Check “Do not include any tables for AI-assisted modeling” if you only need the connection for manual queries
These indexing limits apply to AI-assisted model creation:
  • 100 tables per schema for metadata indexing
  • 25 tables or fewer for automated join inference
You can manually write Malloy models for any size dataset. Published models are indexed separately for analysis.
Click Update Connection to save. You’ll see an indexing status page confirming the connection is being indexed: Connection indexing status

CLI Option

Use the Credible command-line tool for programmatic connection management and automation.
  1. Install the CLI:
  2. Login to your organization:
  3. Add a connection:
    The connection file should be a JSON file containing an array of connection objects. See the CLI reference for detailed connection file formats and examples.
  4. Configure scope (optional): Control which tables are indexed for AI-assisted modeling with scope flags on cred add connection. Tables are referenced as {dataset/schema}.{table}, and * matches all tables in a schema:
    --include-tables and --exclude-tables are mutually exclusive (and cannot be combined with --skip-indexing).
Scope flags apply at connection creation. To change the scope of an existing connection, edit it in the Credible App (see Configure Scope above).

Next Steps

With your data connected, pick how you want to build models:

Build & Publish

Build models with the agent in your browser — no setup, recommended to start

Developer Overview

Build in your IDE with your preferred coding agent