> 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="https://3709841693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCeRlmJf2y704TpjpubE1%2Fuploads%2Fyq6sdpYnJYZItiUTF3QQ%2Fgrafik.png?alt=media&amp;token=08816aee-536f-482d-b701-cf96d982e7f0" 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).
