Skip to main content
First time creating a connector? Read this first.
Send processed data from Unstructured to MotherDuck.

Requirements

You will need:
  • A MotherDuck account.
  • A MotherDuck access token for the account.
  • A database in the account. You can run commands to manage MotherDuck databases, schemas, tables, and more in the MotherDuck UI or for example by connecting to MotherDuck with the DuckDB CLI.
  • A schema in the target database.
    • Create a schema.
    • You can list available schemas and their parent catalogs by running the following command in the MotherDuck UI or the DuckDB CLI:
    The MotherDuck connector uses the default schema name of main if not otherwise specified.
  • A table in the target schema.
    • Create a table.
    • You can list available tables in a schema by running the following commands in the MotherDuck UI or the DuckDB CLI, replacing the target catalog and schema names:
    The MotherDuck connector uses the default table name of elements if not otherwise specified. For maximum compatibility, Unstructured recommends the following table schema:
    You can list the schema of a table by running the following commands in the MotherDuck UI or the DuckDB CLI, replacing the target catalog, schema, and table names:

Examples

To create a MotherDuck destination connector, see the following examples. For more information on working with destination connectors using the Unstructured API, see Destination endpoints.

Configuration settings

Replace the preceding placeholders as follows:
name
string
required
A unique name for this connector.
database
string
required
The name of the target MotherDuck database.
db_schema
string
required
The name of the target schema within the database.
table
string
default:"elements"
The name of the target table within the schema.
md_token
string
required
The access token value within the MotherDuck account that has the appropriate access to the target database, schema, and table.

Learn more