# Connect a data source

Connections are the first piece of platform state your dashboards depend on, and the clearest illustration of the split: the dashboard is code your agent writes and can rewrite in a minute; the connection is a credential, a network path and an introspected schema that somebody configured once and that has to keep working for a year.

You set a connection up once. From then on every surface queries through it — your agent over MCP, your code over the SDKs, the in-app assistant, and every published dashboard.

## What you can connect[​](#what-you-can-connect "Direct link to What you can connect")

Vibedasher has **21 connection types**, all offered in the app's connector picker.

### Databases and warehouses[​](#databases-and-warehouses "Direct link to Databases and warehouses")

| Source             | In the picker | Incremental loads |
| ------------------ | ------------- | ----------------- |
| PostgreSQL         | yes           | yes               |
| MySQL              | yes           | yes               |
| SQL Server (MSSQL) | yes           | yes               |
| Oracle             | yes           | yes               |
| Redshift           | yes           | yes               |
| Snowflake          | yes           | yes               |
| BigQuery           | yes           | yes               |
| Athena             | yes           | yes               |
| MongoDB            | yes           | no                |
| Cassandra          | yes           | no                |
| DynamoDB           | yes           | no                |

### SaaS and file stores[​](#saas-and-file-stores "Direct link to SaaS and file stores")

| Source                | In the picker | Incremental loads |
| --------------------- | ------------- | ----------------- |
| Salesforce            | yes           | no                |
| HubSpot               | yes           | no                |
| Marketo               | yes           | no                |
| Mailchimp             | yes           | no                |
| Google Sheets         | yes           | no                |
| Google Analytics      | yes           | no                |
| Azure Data Lake       | yes           | no                |
| Google Cloud Storage  | yes           | no                |
| Google Search Console | yes           | yes               |
| YouTube Analytics     | yes           | yes               |

### Flat-file upload[​](#flat-file-upload "Direct link to Flat-file upload")

Upload accepts **CSV** (`.csv`) and **Excel** (`.xlsx`, `.xls`).

**Parquet is not an upload format.** Vibedasher stores your data as Parquet internally, but it is not something you can upload. If your data is already Parquet, land it in a store Vibedasher can query, or convert it to CSV.

## Incremental loads need a SQL dialect[​](#incremental-loads-need-a-sql-dialect "Direct link to Incremental loads need a SQL dialect")

The **Incremental loads** column above is not a product decision, it is a mechanical one. An incremental load works by rewriting your extraction query to add a watermark predicate, and that rewrite needs a SQL dialect the platform can parse. Eight connectors have one — PostgreSQL, MySQL, SQL Server, Oracle, Redshift, Snowflake, BigQuery and Athena.

Google Search Console and YouTube Analytics have no SQL: their reports are requested by date range, so an incremental load asks only for the days since the last one.

Every other connector, including MongoDB, DynamoDB and the other SaaS sources, refreshes by **full reload**. That is correct, just more expensive: budget for it on a large source, and see [Keep your data fresh](/features/data/keep-data-fresh.md) for what `effectiveMode` reports back.

## Add a connection[​](#add-a-connection "Direct link to Add a connection")

1. Open the app at [cloud.vibedasher.com](https://cloud.vibedasher.com) and go to **Connections**.
2. Choose the source type and fill in the connection details — or upload your file.
3. Run **Test connection**. This actually opens the connection; it is not a field-format check.
4. Save. Vibedasher introspects the schema so agents and the query engine know which tables and columns exist.

Editing a connection later

Stored credentials are masked in the UI. When you edit a connection, **leave a masked field untouched to keep the existing value** — the platform detects the mask on the way back in and preserves what it already has, rather than overwriting your password with a row of dots.

You can also do all of this from code:

```
schema = client.connections.get_schema(connection_type, connection_id)

tables = client.connections.list_tables(connection_type, connection_id)
```

```
const schema = await client.connections.getSchema(connectionType, connectionId);

const tables = await client.connections.listTables(connectionType, connectionId);
```

The full set — `create`, `list`, `get`, `update`, `updateMetadata`, `delete`, `test`, `getSchema`, `listTables`, `getTableSchema`, `validateQuery` — is in the **[API Reference](/reference/vibedasher-sdk-api.md)**.

## Who may manage a connection[​](#who-may-manage-a-connection "Direct link to Who may manage a connection")

Connections are **not** covered by the folder access-rights model — there is no per-connection grant. The rules are simpler:

* Any **creator** or **admin** may create a connection. A **viewer** may not.
* Only the connection's **owner** or an **admin** may update or delete it.
* A connection is not visible to the rest of the account the way a shared folder is.

If you need a connection several people can manage, an admin should own it. See [Who can see what](/features/governance/access.md) for the rest of the permission model.

## Datasets[​](#datasets "Direct link to Datasets")

A connection is a route to your data; a **dataset** is the thing dashboards actually read. You create datasets from a connection — a table, or the result of a query.

Each dataset gets a `cleanSQLName` alias, which is the table name your agent writes SQL against. A dataset moves through `PENDING → DOWNLOADING → PROCESSING → READY`, and a dashboard built on one that has not reached **READY** will have nothing to draw. Wait for `READY`.

Datasets are living state, not one-off imports: trigger a **refresh** to bring one forward, and run **dbt projects** downstream of it. Dashboards pick up refreshed data through the same query engine, with no rebuild.

## Next step[​](#next-step "Direct link to Next step")

Point your agent at the dataset — **[Build with your agent (MCP)](/build-with-an-agent.md)** — or **[point your agent at it](/build-with-an-agent.md)**. Then set up **[refreshes](/features/data/keep-data-fresh.md)** so it stays true.

## Reference[​](#reference "Direct link to Reference")

* [`create-connection`](/reference/create-connection.md), [`test-connection`](/reference/test-connection.md), [`get-connection-schema`](/reference/get-connection-schema.md), [`create-dataset`](/reference/create-dataset.md)
