# MotherDuck

Introduction

MotherDuck is a cloud analytics platform built on top of DuckDB, designed to deliver fast and efficient data analysis in the cloud. By combining the simplicity of DuckDB with the scalability of cloud infrastructure, MotherDuck allows teams to run complex queries on larger datasets without needing extensive infrastructure. It integrates seamlessly with popular data tools, offering a user-friendly experience for data engineers, analysts, and developers who seek powerful, scalable analytics in a lightweight platform.

## Authorize MotherDuck

1. In MotherDuck, navigate to **Settings** > **General** and select **Create Token**.

<figure><img src="/files/9VLoFwXfagD55IUSQEyX" alt=""><figcaption></figcaption></figure>

2. Enter a name for your token, then click Create.

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

3. Copy the generated access token.

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

4. Log in to Stacksync and click on **Connections** > **Create new connection**.&#x20;
5. Search for MotherDuck and select it.

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

6. Paste the access token here. If you're using a database name or schema other than the default, update those settings accordingly.

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

You can now use your MotherDuck connection in a sync!


---

# 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.stacksync.com/two-way-sync/connectors/motherduck.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.
