en un clic
collect-credentials
// Run the authenticate script to collect credentials from the user via a browser form.
// Run the authenticate script to collect credentials from the user via a browser form.
Create a pyproject.toml for a source connector and build it as an independent Python package.
Single step only: audit a completed connector — implementation, testing & simulator validation, artifacts, security smells, cross-doc consistency — and produce a scored markdown review report. Read-mostly; does not modify connector code.
Single step only: implement the connector in Python when the API doc already exists. Do NOT use for full connector creation — use the create-connector agent instead.
Single step only: run the per-source pytest suite, diagnose failures, and fix the connector or simulator until everything passes. Branches on mode={simulate|record}. Do NOT use for full connector creation — use the create-connector agent instead.
Implement test utilities that write test data to the source system and validate end-to-end read cycles.
Set up authentication for a source connector — generate connector spec, collect credentials interactively, and validate auth.
| name | collect-credentials |
| description | Run the authenticate script to collect credentials from the user via a browser form. |
Run the authenticate.py script to collect credentials for the {{source_name}} connector. The script starts a local HTTP server that serves a browser form based on the connector spec. The user fills in their credentials in the browser and clicks Save.
connector_spec.yaml must already exist at src/databricks/labs/community_connector/sources/{{source_name}}/connector_spec.yamlCONNECTOR_TEST_CONFIG_PATH=<that path>
or by inlining its contents into CONNECTOR_TEST_CONFIG_JSON.python3.10 -m venv .venv && source .venv/bin/activate && pip install -e ".[dev]"
~/secrets/{{source_name}}.json). Pass that path as -o:source .venv/bin/activate && \
python tools/scripts/authenticate.py -s {{source_name}} -m browser \
-o ~/secrets/{{source_name}}.json
The -o flag is required for this skill — never write into the
repo. Run the script in background (Bash with timeout: 0)
because it blocks until the user submits the form.
→ http://localhost:9876
The port may differ from 9876 if that port is already in use.
Show the URL to the user via AskUserQuestion. Ask them to:
Wait for the user to explicitly confirm before proceeding. If the user reports an error, help them debug.
After confirmation, verify that the chosen output file exists. Tell the user how to point tests at it:
CONNECTOR_TEST_CONFIG_PATH=<their chosen path> pytest tests/unit/sources/{{source_name}}/
AskUserQuestion) while the script is running.