@@ -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
2123Example request:
@@ -26,7 +28,9 @@ from airbyte_agent_harvest.models import HarvestOauth20AuthConfig
2628
2729connector = 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": {
0 commit comments