build_connect_data_source
Create a data connector to an EXTERNAL source the app owner controls (their own database, a REST API, or a warehouse). Returns a connector_id. Does NOT bind schemas yet — run build_discover_source then build_bind_data_source. Credentials are sent to the platform and NEVER echoed back; prefer read-only DB creds / the Key Store for production. Requires a domain- or project-admin API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auth | No | api kind: {type: none|api_key|bearer|basic|oauth2, ...}. | |
| host | No | ||
| kind | Yes | Source kind. | |
| name | Yes | Connector name (unique within the project). | |
| port | No | ||
| config | No | Extra source config (e.g. warehouse account). | |
| db_type | No | database/warehouse: postgresql|mysql|mssql|oracle|mongodb|snowflake|bigquery|redshift|databricks|clickhouse|fabric. | |
| base_url | No | api kind: API base URL. | |
| database | No | ||
| endpoint | No | api kind: endpoint path. | |
| password | No | DB password — sent to the platform, never echoed. | |
| ssl_mode | No | ||
| username | No | ||
| test_first | No | Probe connectivity before creating (default true). | |
| schema_namespace | No | Namespace for schemas from this source. |