createConnection
Generate an authorization URL to connect and select documents from supported platforms like Notion, Google Drive, or Dropbox for content ingestion into SourceSync.ai's knowledge base.
Instructions
Creates a new connection to a specific source. The connector parameter should be a valid SourceSync connector enum value. The clientRedirectUrl parameter is optional and can be used to specify a custom redirect URL for the connection. This will give you a authorization url which you can redirect the user to. The user will then be asked to pick the documents they want to ingest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clientRedirectUrl | No | ||
| connector | Yes | ||
| name | Yes | ||
| namespaceId | No | ||
| tenantId | No |