Create Knowledge Source
The owner's address, such as https://github.com/your-organisation, or the same on your GitHub Enterprise Server. A repository's address also works, and selects that one repository.
The repository's clone address, such as https://dev.azure.com/your-org/your-project/_git/your-repo. One repository per source.
The project's address on dev.azure.com, such as https://dev.azure.com/your-org/your-project. An address on visualstudio.com is not accepted.
Your Jira site's address, such as https://your-org.atlassian.net, with nothing after it.
Leave empty: nothing is read from this field for Google Calendar.
The Directory (tenant) ID of your organisation's Microsoft Entra tenant, copied from the Overview page of the app registration. It is an ID, not a web address.
Your Atlassian site's address, such as https://your-org.atlassian.net, without /wiki: it is added for you.
Enter https://app.shortcut.com. Shortcut is read at one fixed address whatever is entered here, but the connection test asks for a value.
The Directory (tenant) ID of your organisation's Microsoft Entra tenant, copied from the Overview page of the app registration. It is an ID, not a web address.
The Directory (tenant) ID of your organisation's Microsoft Entra tenant, copied from the Overview page of the app registration. It is an ID, not a web address.
Optional. The email address of the Google Workspace user that shared drives and folders are read as, which needs domain-wide delegation. Leave it empty to read them as the service account itself, which sees only what is shared with its own address.
That is a github.com address. The GitHub card reads code, issues and pull requests from one owner with one token; the Git card reads this repository's commits only.
GitHub needs a fine-grained personal access token, issued for the organisation you are connecting, with read-only access to the repositories this source reads.
Accepted credential types: Personal Access Token
  1. On GitHub, open your account menu → Settings → Developer settings → Personal access tokens → Fine-grained tokens, and press Generate new token.
  2. Resource owner: the organisation, not your own account. A token issued under your account cannot see the organisation's private repositories. If the organisation is not offered, an organisation owner must first allow fine-grained tokens under its Settings → Personal access tokens.
  3. Repository access: Only select repositories, picking the ones this source will read, or All repositories if you leave the Repositories list empty.
  4. Permissions → Repository permissions → Add permissions, each set to Read-only, for the switches you turn on under What to read:
    • Contents, if the Code switch is on
    • Issues, if the Issues switch is on
    • Pull requests, if the Pull Requests switch is on
    Search for “contents”, not “code”. Metadata is added as Read-only by itself. No organisation permissions are needed: nothing is ever written to GitHub.
  5. Generate the token and copy it (GitHub shows it once), then save it as a Personal Access Token credential with New beside the credential list. If the organisation approves tokens, an owner has to approve this one before it can see anything.
A classic token also works, with the repo and read:user scopes. Prefer a fine-grained one: it reaches only this organisation and the repositories you picked.
What to create depends on where the repository is hosted. It is only cloned and read: nothing is ever pushed.
Accepted credential types: Basic Authentication Personal Access Token System Managed
  1. Azure DevOps: User settings → Personal access tokens → New Token, with the Code (Read) scope. Save it as a Personal Access Token credential.
  2. GitLab, Bitbucket and other hosts: create a token with read access to the repository in your account settings, and save it as a Basic Authentication credential, with your username on that host as Username and the token as Password.
  3. A public repository needs no token: choose a System Managed credential and it is cloned anonymously.
  4. Create the credential with New beside the credential list, choosing the type named above for your host.
The connection test can verify repositories on GitHub and Azure DevOps only. On another host, run an analysis to confirm the credential works.
Azure Boards needs an Azure DevOps personal access token that can read the project's Analytics. Work items are only read: nothing is ever written to Azure DevOps.
Accepted credential types: Personal Access Token
  1. Sign in to dev.azure.com, open User settings (beside your profile picture) → Personal access tokens, and press New Token.
  2. Organization: the one that holds this project. Scopes: Custom defined, then Analytics → Read. Nothing else is needed; Work Items (Read) alone does not reach Analytics.
  3. Press Create and copy the token (Azure DevOps shows it once), then save it as a Personal Access Token credential with New beside the credential list.
If the connection test is refused although the token is valid, the account that created it lacks the View analytics permission in the project.
Jira takes an Atlassian API token together with the email address of the account it belongs to, saved as a Basic Authentication credential. Issues are only read: nothing is ever written to Jira.
Accepted credential types: Basic Authentication
  1. Sign in at id.atlassian.com and open Security → Create and manage API tokens. Press Create API token, not Create API token with scopes: a scoped token is not accepted at your site's address.
  2. Name it, choose an expiry date you will remember to renew, and copy the token: Atlassian shows it once.
  3. Save a Basic Authentication credential with New beside the credential list: Username is the account's email address, Password is the token.
The token sees only what its account can browse in Jira, so use an account that can browse every project this source reads. The same credential works for Confluence on the same site.
Google Calendar needs the JSON key of a Google Cloud service account, and every calendar this source reads must be shared with that service account. Events are only read.
Accepted credential types: Service Account (JSON Key)
  1. In the Google Cloud console (console.cloud.google.com), pick or create a project, then APIs & Services → Library → Google Calendar API → Enable.
  2. IAM & Admin → Service Accounts → Create service account. It needs no roles: its access to calendars comes from sharing them with it.
  3. Open the service account → Keys → Add key → Create new key → JSON. The file downloads once. If creating a key is refused, an organisation policy blocks it and a Google Cloud administrator has to allow it.
  4. In Google Calendar, open each calendar's Settings and sharing → Share with specific people, and add the service account's email address (it ends in iam.gserviceaccount.com) with See all event details.
  5. Save a Service Account (JSON Key) credential with New beside the credential list, and upload the key file under Service Account Key.
  6. Under Calendars, enter each calendar's Calendar ID, from its Settings and sharing → Integrate calendar. Not primary: to a service account, that is its own empty calendar.
If Google Calendar will not share with the service account's address, your Google Workspace administrator restricts sharing outside your domain and has to allow it for these calendars.
Outlook Calendar reads through a Microsoft Entra app registration in your organisation's tenant, holding the Calendars.Read application permission. It has to be set up by an administrator who can grant admin consent. Events are only read.
Accepted credential types: OAuth 2.0
  1. In the Microsoft Entra admin center (entra.microsoft.com), open App registrations → New registration. Single tenant is enough.
  2. API permissions → Add a permission → Microsoft Graph → Application permissions → Calendars.Read, then press Grant admin consent. A delegated permission will not do: nobody is signed in when the source is read.
  3. Certificates & secrets → New client secret. Copy its Value, not its Secret ID, now: it is shown once.
  4. Save an OAuth 2.0 credential with New beside the credential list: Client ID is the Application (client) ID from the app's Overview, Client Secret is the secret's value.
  5. Put the Directory (tenant) ID, from the same Overview, in Tenant ID.
Calendars.Read as an application permission can read every calendar in the tenant. An Exchange Online administrator can limit the app to the mailboxes this source reads.
Confluence takes an Atlassian API token together with the email address of the account it belongs to, saved as a Basic Authentication credential. Pages are only read: nothing is ever written to Confluence.
Accepted credential types: Basic Authentication
  1. Sign in at id.atlassian.com and open Security → Create and manage API tokens. Press Create API token, not Create API token with scopes: a scoped token is not accepted at your site's address.
  2. Name it, choose an expiry date you will remember to renew, and copy the token: Atlassian shows it once.
  3. Save a Basic Authentication credential with New beside the credential list: Username is the account's email address, Password is the token.
The token sees only the spaces its account can view, so use an account that can view every space this source reads. A Jira credential for the same Atlassian site works here too.
Shortcut needs an API token created by a member of the workspace this source reads. Stories are only read: nothing is ever written to Shortcut.
Accepted credential types: Personal Access Token
  1. In Shortcut, with that workspace open, go to Settings → Account → API Tokens, name a token and press Generate Token. Copy it: Shortcut shows it once.
  2. Save it as a Personal Access Token credential with New beside the credential list.
A token belongs to one workspace and reads as the member who created it.
OneDrive reads through a Microsoft Entra app registration, in one of two ways: app-only, which can read any user's OneDrive or SharePoint library in the tenant and needs an administrator's consent; or signed in as you, which reads only your own OneDrive and usually needs no administrator. Files are only read.
Accepted credential types: OAuth 2.0
  1. In the Microsoft Entra admin center (entra.microsoft.com), open App registrations → New registration, in the tenant whose files this source reads. Single tenant is enough.
  2. App-only: API permissions → Add a permission → Microsoft Graph → Application permissions → Files.Read.All and Sites.Read.All, then press Grant admin consent. Under Certificates & secrets, create a New client secret and copy its Value.
  3. Signed in as you: Microsoft Graph → Delegated permissions → Files.Read and User.Read, and under Authentication turn Allow public client flows on. No secret is needed.
  4. Save an OAuth 2.0 credential with New beside the credential list: Client ID is the Application (client) ID from the app's Overview, Client Secret is the secret's value, or any placeholder when signed in as you, since it is then never read.
  5. Put the Directory (tenant) ID, from the same Overview, in Tenant ID. Signed in as you, enter me under Drives, save the source, then press Sign in to OneDrive on its edit page.
  6. To read only part of a drive, press Choose folders under Folders and tick the folders to read. A ticked folder is read with everything inside it, and a drive with nothing ticked is read in full.
To read only SharePoint libraries with least privilege, an administrator can grant Sites.Selected in place of both application permissions, and give the app read access to just the sites this source reads.
Microsoft Teams reads the documents in each team's channels, never their messages, through a Microsoft Entra app registration with three application permissions that an administrator consents to. Files are only read.
Accepted credential types: OAuth 2.0
  1. In the Microsoft Entra admin center (entra.microsoft.com), open App registrations → New registration, or reuse the app a OneDrive source reads through.
  2. API permissions → Add a permission → Microsoft Graph → Application permissions → Team.ReadBasic.All, Channel.ReadBasic.All and Files.Read.All, then press Grant admin consent.
  3. Certificates & secrets → New client secret. Copy its Value, not its Secret ID, now: it is shown once.
  4. Save an OAuth 2.0 credential with New beside the credential list: Client ID is the Application (client) ID from the app's Overview, Client Secret is the secret's value.
  5. Put the Directory (tenant) ID, from the same Overview, in Tenant ID. Test Connection then reports how many teams the app can see; none means admin consent for Team.ReadBasic.All is missing.
  6. To read only some channels or folders of a team, press Choose folders under Folders and tick them. A ticked channel or folder is read with everything inside it, and a team with nothing ticked is read in full.
Do not also point a OneDrive source at the same teams' SharePoint libraries: the same saves would be counted twice.
Google Drive needs the JSON key of a Google Cloud service account, used in one of two ways: acting as people in your Google Workspace, which an administrator authorises once and which reads the whole history of who edited each file; or as the service account itself, which reads only what is shared with it, and less of that history. Files are only read.
Accepted credential types: Service Account (JSON Key)
  1. In the Google Cloud console (console.cloud.google.com), pick or create a project, then APIs & Services → Library, and enable the Google Drive API. To act as people in your Workspace, enable the Google Drive Activity API and the People API as well.
  2. IAM & Admin → Service Accounts → Create service account. It needs no roles: what it can read comes from delegation or from sharing.
  3. Open the service account → Keys → Add key → Create new key → JSON. The file downloads once. If creating a key is refused, an organisation policy blocks it and a Google Cloud administrator has to allow it.
  4. Save a Service Account (JSON Key) credential with New beside the credential list, and upload the key file under Service Account Key.
  5. To act as people in your Workspace: in the Google Admin console (admin.google.com), a super administrator opens Security → Access and data control → API controls → Manage Domain Wide Delegation → Add new, enters the service account's Client ID (its Unique ID on the Details tab, and client_id in the key file), and these scopes, separated by commas: https://www.googleapis.com/auth/drive.metadata.readonly, https://www.googleapis.com/auth/drive.activity.readonly, https://www.googleapis.com/auth/directory.readonly
  6. Then put the email address of a Workspace user who can open the shared drives this source reads in Act as. Under Drives, enter drive: followed by a shared drive's ID, folder: followed by a folder's ID, or user: followed by a person's email address to read their My Drive, which is always read as that person.
  7. To read as the service account itself instead: leave Act as empty, share each shared drive or folder with the service account's email address (it ends in iam.gserviceaccount.com), and enter it under Drives as drive: or folder: followed by its ID. Access to view reads who last modified each file; access to edit also reads the versions Google Drive still keeps.
  8. Only if you turn Read Document Properties on: the content of files is then read, which needs https://www.googleapis.com/auth/drive.readonly among the delegation's scopes in place of drive.metadata.readonly.
  9. To read only part of a drive, press Choose folders under Folders and tick the folders to read. A ticked folder is read with everything inside it, and a drive with nothing ticked is read in full.
An ID is the last part of the address in the browser when a shared drive or folder is open. If Google Drive will not share with the service account's address, your Workspace restricts sharing outside your domain: act as people in your Workspace instead. Edits to Google Docs, Sheets and Slides are read like any other file's; their content never is.
Tick the folders this source reads. A ticked folder is read with everything inside it, including folders added to it later; a drive with nothing ticked is read in full. A knowledge asset whose signals match files outside the ticked folders stops receiving them at the next analysis.
Tick the channels and folders this source reads. A ticked channel or folder is read with everything inside it, including folders added to it later; a team with nothing ticked is read in full, including channels added to it later. A knowledge asset whose signals match files outside what is ticked stops receiving them at the next analysis.
Tick the folders this source reads. A ticked folder is read with everything inside it, including folders added to it later; a drive with nothing ticked is read in full. A knowledge asset whose signals match files outside the ticked folders stops receiving them at the next analysis.
Each switch is one kind of evidence read from every repository in scope. Code reads the commits from a clone; Issues reads issues and their comments; Pull Requests reads pull requests with their changed files, reviews and comments. At least one must be on.
Off: only file names, folders and version history (who saved which file, and when) are read. File content is never downloaded.
On: the latest version of each file of a type Knowledge Fabric can read is downloaded during analysis and discovery, to read its properties — title, subject, keywords, category, and the names it carries. For a larger file, only the small parts that hold those properties are downloaded where possible, not the whole file. Its text is not read, nothing of the file is stored after the run, and downloads are capped per run.
A source that is switched off stays configured as it is, but the analysis does not take it into consideration. Every analysis rebuilds the map from the sources that are switched on, so what this source contributed is gone from the map after the next analysis. Switching it back on brings it back at the analysis after that.
Cancel
© - KnowledgeFabric v1.6.2 Docker