First time creating a connector? Read this first.
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:
mainif 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:
elementsif 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:A unique name for this connector.
The name of the target MotherDuck database.
The name of the target schema within the database.
The name of the target table within the schema.
The access token value within the MotherDuck account that has the appropriate access to the target database, schema, and table.

