Creating a New Integration
Integration with MotherDuck is almost the same as integrating with DuckDB, which means you can do it from any language or framework!
There are a few differences:
- Use
"md:"
or"md:my_database"
connection string instead of the local filesystem path. - Pass
motherduck_token
configuration property (through the config dictionary, connection string parameter or environment variable). - Pass
custom_user_agent
to identify the new integration.
User-agent guidelines
- The format is
integration/version(custom-metadata1;custom-metadata2)
where the version and metadata sections are optional. - Avoid using spaces in integration and version sections.
- multiple custom metadata sections should be separated by semicolons.
Some examples:
my-integration
my-integration/2.9.0
my-integration/2.9.0(linux_amd64)
my-integration/2.9.0(linux_amd64;us-east-1)