Use the scaffold tool to generate JSON Schema, Python boilerplate, and AI implementation context for a new connector
Scaffold a Connector
The metadata scaffold-connector command generates all the boilerplate files for a new connector: JSON Schema, test connection definition, Python source files, and a CONNECTOR_CONTEXT.md that any AI agent can use to implement the connector.
Prerequisites
Set up the development environment first:
cd OpenMetadatapython3.11 -m venv envsource env/bin/activatemake install_dev generate
Interactive Mode
Run the scaffold tool with no arguments to enter interactive mode:
This file drives code generation for Python Pydantic models, Java models, TypeScript types, and UI forms. The scaffold generates it with correct $ref patterns for auth, SSL, filters, and capability flags.
After scaffolding, follow the Build with AI guide to implement the connector using your preferred AI tool.Or continue manually with the existing guides: