Skip to content

MotherDuck (Source)

Install

See the Install guide for the full setup, including Windows PowerShell.

curl -fsSL https://install.skippr.io/install.sh | shClick to copy

Reads from a MotherDuck database.

Configuration

yaml
source:
  kind: motherduck_source
  motherduck_token: ${MOTHERDUCK_TOKEN}
  database: my_database
  tables:
    - raw.events
FieldDefaultDescription
motherduck_token(required)MotherDuck token (or set MOTHERDUCK_TOKEN)
databaseDatabase name
tables(optional)Tables to extract
queryCustom SQL query (overrides tables)

CLI

bash
skippr connect source motherduck-source \
  --motherduck-token "$MOTHERDUCK_TOKEN" \
  --database my_db \
  --tables main.customers,main.orders
FlagDescription
--motherduck-token(required) MotherDuck token (or set MOTHERDUCK_TOKEN)
--databaseDatabase name
--tablesComma-separated list of tables
--querySQL query instead of table list

Authentication

For security best practices, we strongly advise against storing the token in skippr.yaml. Use environment variable interpolation instead: replace the motherduck_token value with your own ${ENV_VAR} reference.

The relevant part of skippr.yaml looks like this:

yaml
source:
  kind: motherduck_source
  motherduck_token: ${MOTHERDUCK_TOKEN}

Set the env var before running skippr:

macOS / Linux

bash
export MOTHERDUCK_TOKEN="md:..."

Windows PowerShell

powershell
$env:MOTHERDUCK_TOKEN = "md:..."

Windows Command Prompt

cmd
set MOTHERDUCK_TOKEN=md:...
bash
export MOTHERDUCK_TOKEN="md:..."

Permissions or Network Requirements

The token must have access to the selected MotherDuck database and tables. The machine running skippr also needs outbound network access to MotherDuck.

Troubleshooting

SymptomFix
authentication failedVerify MOTHERDUCK_TOKEN and confirm the token still has access to the selected database.
tables not foundCheck the database name and table list or query.

Next steps

Install

See the Install guide for the full setup, including Windows PowerShell.

curl -fsSL https://install.skippr.io/install.sh | shClick to copy