All connectors are now defined as JSON Schemas. [Here](https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-spec/src/main/resources/json/schema/entity/services/connections/metadata/openMetadataConnection.json)
and reach the OpenMetadata server. The workflow is modeled around the following [JSON Schema](https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-spec/src/main/resources/json/schema/metadataIngestion/workflow.json).
You can find all the definitions and types for the `serviceConnection` [here](https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-spec/src/main/resources/json/schema/entity/services/connections/database/clickhouseConnection.json).
-`hostPort`: Enter the OpenMetadata 0.9 Server Config. Must include API end point ex: `http://localhost:8585/api`
-`includeTables`: Include tables for migration
-`includeUsers`: Include users for migration
-`includeTopics`: Include topics for migration
-`includePipelines`: Include pipelines for migration
-`includeGlossaryTerms`: include glossary terms for migration
-`includeTags`: Include tags for migration.
-`includeMessagingServices`: Include messaging services for migration.
-`includeDatabaseServices`: Include database services for migration.
-`enableVersionValidation`: Enable the server OpenMetadata and client OpenMetadata version validation. For migrating the metadata this has to be set to `false`
-`limitRecords`: Limit the number records that is fetched by 0.9 OpenMetadata API (1 to 1000000, default = 10).
### Stage Configuration
```yaml
stage:
type: migrate
config:
dirPath: <DirectoryPathtostoredata>
```
The data while migrating from the 0.9 to 0.10 version needs to be stored in a file directory. in the dir Path field
enter a valid file directory path to store the metadata.
### BulkSink Configuration
```yaml
bulkSink:
type: migrate
config:
dirPath: <DirectoryPathtostoredata>
```
The `dirPath` needs to be set as the same passed in stage config, which contains the file directory path where the
metadata is stored.
### Workflow Configuration
The main property here is the `openMetadataServerConfig`, where you can define the host and security provider of your
OpenMetadata installation.
For a simple, local installation using our docker containers, this looks like: