MotherDuck
Last updated
Last updated
IP RESTRICTION
Make sure to allow traffic from one of the Paradime IPs in your firewall depending on the data location selected.
👉 See also: Paradime IP addresses.
To add the MotherDuck Scheduler connection, go to account settings > connections, select Scheduler Environment and enter the required fields.
In the Scheduler connection setup screen, you will need to fill in the form with the details of the connection you want to use to run dbt™️ models against a MotherDuck database.
In this example we are connecting to s3
to read/write parquet
files using an AWS access key and secret, these secrets can be stored in the user environment variable settings.
Below are list of fields and example to create a connection.
Profile Name
The profile name set in your dbt_project.yaml
. See more here.
dbt-motherduck
Profile Configuration
Here is where you can define the path to the MotherDuck database where the dbt™️ will run.
Additionally you will be able to configure any supported DuckDB extensions by listing them in the extensions
You can also set any additional DuckDB configuration options via the settings
field, including options that are supported in any loaded extensions.
MotherDuck access token
The MotherDuck service token for authentication, see more here.
This will be stored with the name motherduck_token
in your workspace environment variables.
eyJhb.....0LXgyJFE695yrZx40UhAOF9JIFX8jNLf1WOAPO42Q
Schema
The default schema used to build dbt™️ objects at runtime.
dbt_prod
When using MotherDuck we will need to persist your MotherDuck service token for authentication.
To create an access token:
Go to the MotherDuck UI
In top left click on organization name and then Settings
Click + Create token
Specify a name for the token that you'll recognize (like "Paradime")
Choose whether you want the token to expire and then click on Create token
Copy the access token token to your clipboard by clicking on the copy icon
For additional supporting docs, check MotherDuck Key features, MotherDuck SQL reference and DuckDB SQL reference.