Destinations
Connect MotherDuck as a destination
Create a MotherDuck Read/Write access token, connect MotherDuck to an Artie pipeline as a destination, and share the replicated database with your organization.
Required settings
Artie asks for these values. Each field name matches its label in the Artie dashboard.
| Field | What to enter |
|---|---|
| Token | A MotherDuck access token of type Read/Write Token. See Create an access token. |
| Database name | The MotherDuck database Artie writes to. |
| Schema name | The schema Artie writes to. With Multiple schemas, Artie uses the source schema names instead. |
Create a dedicated MotherDuck account for pipeline writes: a service account, or a regular account such as [email protected]. Only the owner of that account can access the data it writes. To give your team access, share the data with your team.
Create an access token
Follow the steps for the type of account Artie writes with.
MotherDuck covers this in its access token documentation.
- In MotherDuck, go to Settings, then Access Tokens.
- Select Create token.
- Enter a Name for the token.
- Set Token type to Read/Write Token. Artie needs this type to write data.
- Select Create token.

MotherDuck covers this in its service accounts guide.
- In MotherDuck, go to Settings, then Service Accounts.
- Select Create service account.
- Open the new service account and generate an access token.
- Set Token type to Read/Write Token. Artie needs this type to write data.
- Select Create token.

Add MotherDuck to a pipeline
When you create a pipeline, the Destination section of the setup has these steps.
Choose the destination
In Choose destination, select MotherDuck.
Review the preparation guide
Prepare destination shows the access token and sharing instructions from this page. Select Continue.
Artie skips this step when the pipeline reuses an existing MotherDuck connector.
Enter the token
In Connect and verify, paste the access token into Token.
A pipeline that reuses an existing MotherDuck connector shows an Existing connector notice instead. That connector’s connection details can’t be changed in this step.
Choose the database
In Database name, select the database Artie writes to.
To create a database, type its name and select Create “NAME”, where
NAMEis the name you typed.Choose the schema
In Schema name, select the schema Artie writes to. To create a schema, type its name and select Create “NAME”.
If your source has schemas, a Schema control appears with two options, One schema and Multiple schemas.
One schema writes all tables to the schema in Schema name. For source tables outside the default schema, Artie prepends the source schema name to the destination table name.
Multiple schemas writes each table to a schema with the same name as its source schema. Schema name prefix (optional) adds a prefix to each schema name.
Verify the destination
Select Verify destination. Artie shows “Destination verified”.
If the pipeline has no tables yet, the button reads Test connection. A passing test shows “Connection works. Choose tables to finish verifying the destination.”
The setup has no Network access step for MotherDuck, because MotherDuck destinations don’t support SSH tunnels.
Advanced options
Advanced options in Connect and verify holds optional destination settings. With a PostgreSQL, Oracle, CockroachDB, Amazon Keyspaces or Snowflake source, it includes DOUBLE for variable numerics under Data types. Turn it on to store numeric columns without a fixed precision as DOUBLE instead of TEXT.
Edit an existing pipeline
Select Edit pipeline, then open the Destination: MotherDuck tab.
The schema fields are locked while the pipeline is running. Pause the pipeline to change them, then move its tables to the new schema in MotherDuck.
Verify the database in MotherDuck
Once your pipeline is running, log in to MotherDuck with the account that created the access token. The database you chose in Database name appears in the databases list.
If the token belongs to a service account, impersonate the service account to see the database. Impersonation requires the Admin or Builder role.
Share data with your team
Only the account that owns the token can access the pipeline database. To give your team read-only access, create an organization share and have each team member attach it. MotherDuck describes shares in its sharing documentation.
Create an organization share
If the token belongs to a service account, impersonate the service account before you create the share.
- Select the ⋮ menu next to your pipeline database, then select Share.
- Set Who has access to Anyone in my organization.
- Turn on Discoverable and Auto-updating.
- Select Create share.

Attach the share
Each team member finds the shared database under Shared with me in their MotherDuck workspace and selects Attach.

Data types
Artie maps its own types to these MotherDuck types. Artie’s typing library covers how source types become Artie types.
| Artie type | MotherDuck type |
|---|---|
| Float, double | DOUBLE |
| Small integer | SMALLINT |
| Integer | INTEGER |
| Big integer, or an integer of unknown size | BIGINT |
| Decimal with a precision up to 38 | DECIMAL(precision, scale) |
| Decimal with a precision over 38 | TEXT |
| Decimal without a fixed precision | TEXT, or DOUBLE when DOUBLE for variable numerics is on |
| Boolean | BOOLEAN |
| String | TEXT |
| UUID | UUID |
| Date | DATE |
| Time | TIME |
| Timestamp without a time zone | TIMESTAMP |
| Timestamp with a time zone | TIMESTAMP WITH TIME ZONE |
| Interval | INTERVAL |
| Array of UUIDs | UUID[] |
| Any other array | TEXT[] |
| Struct or JSON | JSON |
Was this page helpful?
- Need help? Message us on Slack or email [email protected].
- Want a walkthrough? Book a demo.
- LLM? Read llms.txt.