Skip to main content
External data-source commands connect a chatbot to third-party systems and ingest selected documents into SiteGPT knowledge.
knowledge connections is accepted as an alias for knowledge sources.

Supported connectors

Source lifecycle

1

Create a source connection

2

Authorize or select files

OAuth/picker connectors return an authorization URL. Open it, approve access, and select files when the provider shows a picker.
3

List selected source documents

4

Ingest selected documents

List sources

Status values:

Create sources

OAuth/picker sources:
Confluence:
GitHub:
Create options:
OptionDescription
--connector <connector>Required connector type.
--name <name>Friendly connection name.
--owner <owner>GitHub owner. Required for GitHub create.
--api-key <token>GitHub personal access token.
--domain <domain>Confluence domain. Required for Confluence create.
--label <label>Optional provider-visible label metadata.
--client-redirect-url <url>Optional URL to redirect to after OAuth/picker.
--metadata <json>Extra metadata object.
sources add is an alias for sources create.

Get and update a source

Authorize or select more files

Use authorize for first-time OAuth approval, reauthorization, or selecting more files for an existing picker connection:
Aliases:
  • reauthorize
  • select-files
  • picker
To add more files to an existing Google Drive, Dropbox, OneDrive, Box, or SharePoint connection, run authorize for the existing source. Do not create a duplicate connection unless you want a separate connection.

List source documents

Alias:

Ingest source documents

Ingest options:
OptionDescription
--sync <frequency>Auto-sync ingested source content. Values: NEVER, DAILY, WEEKLY, MONTHLY.
--external-id <id>Ingest a selected external document ID. Repeatable.
--document <id>Alias-style document selector for external IDs. Repeatable.
--page <id>Confluence/Notion page selector. Repeatable.
--metadata <json>Extra metadata object.

GitHub helpers

List repositories:
List files:
Ingest repository content:
--pattern is repeatable.

Confluence helpers

List spaces:
List pages in a space:
Ingest pages:

Notion flow difference

Notion selection happens inside Notion OAuth. After authorization, selected pages/databases are discovered during ingest. That means this can be normal for Notion:
If no pages were selected during OAuth, rerun authorization:

Revoke a source

Alias:
Revoking disconnects the source. It does not automatically delete already ingested knowledge documents.

Full reference