Skip to content

Commit 6ccad03

Browse files
docs: fix connector config field names in hosted tutorial (#72392)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: ian.alton@airbyte.io <ian.alton@airbyte.io>
1 parent dbfc424 commit 6ccad03

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/ai-agents/quickstarts/tutorial-hosted.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,9 @@ Once you have a scoped token, create a connector with your API credentials. Airb
8686

8787
- Additional configuration fields that may or may not be mandatory, depending on the source. If applicable, these fields are explained in the reference docs for your connector.
8888

89-
- `source_config`: Connector-specific configurations for direct connectors.
90-
9189
- `credentials`: Authentication information for your connector.
9290

93-
- `environment`: Connector-specific configurations for replication connectors.
91+
- `environment`: Connector-specific configurations for the connector.
9492

9593
This is what the request looks like when you're using a personal access token. See more examples in the [authentication docs](/ai-agents/connectors/github/AUTH).
9694

@@ -101,7 +99,7 @@ curl -X POST "https://api.airbyte.ai/api/v1/integrations/connectors" \
10199
-d '{
102100
"connector_type": "github",
103101
"external_user_id": "<external_user_id>",
104-
"source_config": {"repositories": "airbytehq/airbyte"},
102+
"environment": {"repositories": "airbytehq/airbyte"},
105103
"credentials": {"token": "<GitHub personal access token (fine-grained or classic)>"}
106104
}'
107105
```

0 commit comments

Comments
 (0)