Skip to content

Commit 2dd3b07

Browse files
docs: sync agent connector docs from airbyte-agent-connectors repo (#74720)
Co-authored-by: ian-at-airbyte <187576150+ian-at-airbyte@users.noreply.github.com>
1 parent 3331e10 commit 2dd3b07

2 files changed

Lines changed: 15 additions & 7 deletions

File tree

docs/ai-agents/connectors/harvest/AUTH.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ In open source mode, you provide API credentials directly to the connector.
1515

1616
| Field Name | Type | Required | Description |
1717
|------------|------|----------|-------------|
18-
| `access_token` | `str` | Yes | Your Harvest OAuth2 access token |
18+
| `client_id` | `str` | Yes | N/A |
19+
| `client_secret` | `str` | Yes | N/A |
20+
| `refresh_token` | `str` | Yes | Your Harvest OAuth2 refresh token |
1921
| `account_id` | `str` | Yes | Your Harvest account ID |
2022

2123
Example request:
@@ -26,7 +28,9 @@ from airbyte_agent_harvest.models import HarvestOauth20AuthConfig
2628

2729
connector = HarvestConnector(
2830
auth_config=HarvestOauth20AuthConfig(
29-
access_token="<Your Harvest OAuth2 access token>",
31+
client_id="<client_id>",
32+
client_secret="<client_secret>",
33+
refresh_token="<Your Harvest OAuth2 refresh token>",
3034
account_id="<Your Harvest account ID>"
3135
)
3236
)
@@ -67,7 +71,9 @@ Create a connector with OAuth credentials.
6771

6872
| Field Name | Type | Required | Description |
6973
|------------|------|----------|-------------|
70-
| `access_token` | `str` | Yes | Your Harvest OAuth2 access token |
74+
| `client_id` | `str` | Yes | N/A |
75+
| `client_secret` | `str` | Yes | N/A |
76+
| `refresh_token` | `str` | Yes | Your Harvest OAuth2 refresh token |
7177
| `account_id` | `str` | Yes | Your Harvest account ID |
7278

7379
`replication_config` fields you need:
@@ -87,7 +93,9 @@ curl -X POST "https://api.airbyte.ai/api/v1/integrations/connectors" \
8793
"connector_type": "Harvest",
8894
"name": "My Harvest Connector",
8995
"credentials": {
90-
"access_token": "<Your Harvest OAuth2 access token>",
96+
"client_id": "<client_id>",
97+
"client_secret": "<client_secret>",
98+
"refresh_token": "<Your Harvest OAuth2 refresh token>",
9199
"account_id": "<Your Harvest account ID>"
92100
},
93101
"replication_config": {

docs/ai-agents/connectors/harvest/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ See the official [Harvest API reference](https://help.getharvest.com/api-v2/).
130130

131131
## Version information
132132

133-
- **Package version:** 0.1.0
134-
- **Connector version:** 1.0.1
135-
- **Generated with Connector SDK commit SHA:** 374d05b13c1242b8077216e6603cdff3ec4179b8
133+
- **Package version:** 0.1.1
134+
- **Connector version:** 1.0.2
135+
- **Generated with Connector SDK commit SHA:** fa799851ff5cfa0791f3b7367a2ff2f803ccc4c2
136136
- **Changelog:** [View changelog](https://github.com/airbytehq/airbyte-agent-connectors/blob/main/connectors/harvest/CHANGELOG.md)

0 commit comments

Comments
 (0)