# Motherduck & DuckDB

## Motherduck

1. Get your token on [Motherduck Settings](https://app.motherduck.com/settings)

<figure><img src="/files/JIBCei4qYxVdsXHlzs6Q" alt=""><figcaption></figcaption></figure>

2. Compose your connection string

   It follows this pattern. `md:<database_name>?motherduck_token=<your_token>`\
   e.g.: `md:sample_data?motherduck_token=eyABC...`

**Notes**

The Motherduck connector requires DuckDB to be at least v.0.10.2

#### How to analyze Motherduck data in Slack in less than 3 minutes

{% embed url="<https://file.notion.so/f/f/4fa2dd81-9b45-4042-8978-01056661dbbc/23346161-92c3-43af-b58f-461cdb996a7d/motherduck-demo.mp4?downloadName=motherduck-demo.mp4&expirationTimestamp=1748282400000&id=1ffa3bb6-fe54-80ce-ac01-ee542070ea89&signature=VRq34BLIun_idszr_lSs1eDRROOOA6Z_rZONN9SOdoU&spaceId=4fa2dd81-9b45-4042-8978-01056661dbbc&table=block>" fullWidth="true" %}

## DuckDB

If you have your data in a local duckdb file you can either host it yourself (e.g. on S3) or [talk to us](https://github.com/Snowboard-Software/snowboard_software/blob/main/dot/dot/integrations/support.md).


---

# Agent Instructions: 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:

```
GET https://docs.getdot.ai/integrations/databases/motherduck-and-duckdb.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
