> For the complete documentation index, see [llms.txt](https://docs.quanti.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.quanti.io/connectors/custom-connectors/semantic-connector.md).

# Semantic View

The **Semantic View** is a custom connector that lets you expose external tables already present in your BigQuery project to QUANTI:'s Semantic Layer — without moving or syncing any data.

***

## How it fits in the architecture

QUANTI: connectors (File Connectors, App Connectors) feed into the Semantic Layer automatically. The Semantic View fills the gap for data that already lives in your BigQuery project but was not loaded by QUANTI: — for example an e-commerce order export, a CRM dataset, a custom analytics table, or any third-party feed loaded outside of QUANTI:.

Once exposed via the Semantic View, these external tables become part of the Semantic Layer alongside your QUANTI: data. The Semantic Layer is then made available to the **QUANTI: MCP**, which allows AI tools (Claude, ChatGPT, Copilot and others) to intelligently query and cross-reference your data.

```mermaid
flowchart LR
    subgraph ext["Other data sources"]
        extdata["External tables\nalready in BigQuery"]
    end

    subgraph qconn["QUANTI: connectors"]
        file["File Connector\nGoogle Sheets · CSV · SFTP · Webhooks"]
        app["App Connector\nGoogle Ads · GA4 · ..."]
    end

    subgraph semantic["Quanti Semantic View"]
        sc["Semantic View"]
        sl["Semantic Layer"]
        pq["Pre-built queries"]
    end

    mcp["Quanti MCP"]

    subgraph ai["AI tools"]
        claude["Claude"]
        chatgpt["ChatGPT"]
        copilot["Copilot"]
        etc["..."]
    end

    extdata --> sc
    file --> sl
    app --> sl
    sc --> sl
    sl --> pq
    sl --> mcp
    mcp --> claude
    mcp --> chatgpt
    mcp --> copilot
    mcp --> etc
```

***

## Prerequisites

* A QUANTI: project connected to a BigQuery dataset
* The external tables you want to expose must already exist in that BigQuery project
* You must have the necessary BigQuery permissions to read those tables

***

## Setup

In the QUANTI: app, go to **Custom Connectors**, click **Add custom connector** and select **Semantic View** from the list.

* **Connector Name**: Name your connector. It must be unique.
* **Dataset**: Select the BigQuery dataset that contains the external tables you want to expose.

Click **Create** to confirm. The connector is created in a single step — no authentication or scheduling is required.

***

## Adding tables

Once the connector is created, go to the **Reports** tab.

* Click **Add table**
* Select the table you want to expose from the dataset
* Choose the fields to include

You can add multiple tables to the same Semantic View, and expose as many fields as needed per table.

***

## Configuring field descriptions

Field descriptions are the most important part of the setup. They tell the MCP what each field means, how it relates to other data, and how it should be used in queries.

Open the **Semantic** panel for any added table and add a description for each field. Good descriptions should cover:

* What the field represents in business terms (e.g. "Net revenue after returns, excluding VAT")
* The unit or format when relevant (e.g. "Amount in euros", "Date in YYYY-MM-DD format")
* Any join keys that link this table to your QUANTI: connector data (e.g. "Can be joined with Meta Ads data on `date` and `country`")

The richer the descriptions, the more accurately the MCP can cross-reference your external data with your QUANTI: connector data.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.quanti.io/connectors/custom-connectors/semantic-connector.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
