> For the complete documentation index, see [llms.txt](https://docs.getdot.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getdot.ai/integrations/databases/motherduck-and-duckdb.md).

# 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 v1.4.0.

## 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/tree/main/dot/dot/integrations/support.md).
