Knowledge sources
Connect an Outline wiki, a documentation website, a SharePoint site or Slack channels so their content is synced into the workspace knowledge base.
A knowledge source is somewhere your content already lives. AINOX PLATFORM copies it into the workspace knowledge base ahead of time, so the assistant can answer from it and cite it. There are four kinds of source:
| Kind | What it syncs |
|---|---|
| Outline | A subtree of an Outline wiki — a document and its children, or a whole collection. |
| Website | A documentation site, crawled from a seed URL by following links. |
| SharePoint | A document library on a SharePoint site, or selected folders within it. |
| Slack | Answered threads from the channels you name — one thread becomes one document. |
Every kind ends up in the same list and shares the same settings — auto-sync schedule, import policy, reviewers — plus image OCR for every kind except SharePoint. Beyond that, they differ only in what the connection form asks for. Outline, SharePoint and Slack sources also sign in with a credential (an API token, a certificate or a bot token), which is saved once for the whole workspace and can be reused by several sources.
This page covers adding a source of each kind, configuring how its documents enter the knowledge base, choosing who reviews them, managing the saved credentials, and removing a source again.
Prerequisites
- The Manage knowledge sources workspace permission — owners and admins have it. Without it the page shows an access-denied notice.
- Whatever the source itself needs: nothing for a public documentation website, a personal API token for an Outline wiki, a Microsoft Entra app registration with a certificate for SharePoint, or a Slack app's bot token for Slack.
- The source must be reachable from the platform. Adding one runs a connection check first, and a source that cannot be reached is not created.
The Knowledge Sources page
Click the gear icon (Admin) near the bottom of the left rail, then Knowledge Sources under Documents & Knowledge in the admin sidebar. The page has two tabs at the top: Sources, the list of every source in the workspace, and Credentials, the saved credentials those sources sign in with. New Knowledge Source sits at the top right.
On Sources, each source is a card showing where it points, how it is scoped, when it was added and last synced, how many documents it holds, its auto-sync schedule and its import policy, with a Sync now button. The Default import policy card sits above the list.

Add a documentation website
-
Click New Knowledge Source and pick the kind of source you are connecting: Sync from Outline, Sync from website, Sync from SharePoint or Sync from Slack.
-
Sync from website opens a one-step form. Name is what the source is called inside the workspace, and Seed URL is the page the crawler starts from — it follows links from there.
-
Max pages and Max depth bound the crawl: how many pages it may fetch in total, and how many links deep it may follow from the seed. Exclude paths (one per line) drops any URL containing one of the listed path fragments, which is how you keep changelogs or other language versions out. Description is a note for your colleagues.
Keep the excluded paths and the seed compatible: the connection check requires the seed to reach at least one other page that is still in scope, so excluding everything the seed links to makes the source fail to connect. For a genuinely single-page source, set Max pages to 1 instead.
-
Auto-sync sets how often the source re-syncs on its own (Frequency and Time, in Bangkok time). Scheduling is covered on the Sync a knowledge source page.
-
Image OCR (off by default) reads the text inside images embedded in the synced pages and makes it searchable from the first sync. Each distinct image costs one OCR call, cached afterwards, so image-heavy sources sync more slowly.
-
Import policy decides what happens to the documents this source finds. Publish automatically puts them straight into the knowledge base. Require approval holds each new or changed document until a reviewer accepts it. Workspace default follows the workspace-wide setting and names the policy it currently resolves to, for example Workspace default (Publish automatically).
-
Choosing Require approval reveals a Reviewers field with an Add a reviewer… picker. It is optional: leave it empty and everyone who can manage knowledge sources reviews this source, or name specific members and the queue becomes theirs. You can change this later.
-
Click Connect at the bottom right. The platform checks the source is reachable, creates it, and starts the first sync immediately. The Knowledge source created summary repeats what you configured; Add another keeps the dialog open for the next source, and Done returns to the list, where the new source has its own card.
Find a source in the list
Once a workspace has more than a handful of sources, use the toolbar above the cards. The Search by name or URL… box matches a source's name, its URL or its description. While any filter is active, a counter such as 1 of 3 sources and a Clear button appear to the right of the toolbar.
The two dropdowns narrow the list further. All types filters by kind — Outline, Website, SharePoint or Slack. Any status filters by sync status — Synced, Partially synced, Sync failed, Syncing or Not synced yet.
Open a source's settings
Every card has a … menu at its top right. It offers Settings & sync history and Remove; a SharePoint card adds Edit synced folders between them, for changing which folders are in scope after the fact.
Settings & sync history opens the source's own page (All knowledge sources at the top goes back). The header carries its type, document count, URL and scope, its last sync and auto-sync schedule, alongside View synced files and Sync now. Below it sit the settings cards:
- Import policy, with a caption naming the effective policy.
- Image OCR, for the Outline, website and Slack kinds. SharePoint sources have no such card: their files go through the platform's regular file extraction instead.
- Reviewers.
- Credential, for a source that signs in with one — see Credentials.
Below the cards are two tabs: Documents and Sync history.
Choose who reviews the incoming documents
While a source has no reviewer mapped, the Reviewers card notes the fallback: everyone who can manage knowledge sources sees its review queue and receives its digest emails.
- Pick a member from Add a reviewer…. Any workspace member qualifies — reviewing a source does not require the manage permission, so you can hand a source to the team that owns its content.
- The member appears in the list straight away. Mapping is the grant: from now on this source's queue is theirs, and the digest emails go to them instead of to the managers. Remove a reviewer with the
✕at the end of their row.
Change a source's import policy
The Import policy card carries the same three options as the create form. Its caption, Effective policy: …, names the policy actually in force once Workspace default has been resolved.
Switching a source to a policy that publishes automatically asks first, because the change is not only forward-looking: everything currently waiting for approval is imported the moment you confirm. The Switch to “Publish automatically”? dialog names how many items that is, and notes that files a reviewer already rejected are left out — they only return if the source publishes a newer version of them. Click Change and import to confirm (with nothing waiting, the button reads Change policy); the released documents show as Importing on the Documents tab while they enter the knowledge base.
Turn on image OCR for an existing source
Switching Image OCR on from a source's page asks first in an Enable image OCR? dialog, because the whole source re-syncs with OCR applied, starting immediately, and every distinct image costs one OCR call. Images that cannot be read produce a warning without blocking the rest of the document. For a Slack source, the Slack app must also have the files:read scope, or every thread with an image fails. Click Enable and re-sync to confirm. Switching it off needs no confirmation.
Read what a source holds
The two tabs below the settings cards answer different questions about the same source.
Documents lists every document the source has produced and scores each on two axes: Against source — whether the copy in the knowledge base still matches what the source published, including documents awaiting approval and ones the source has retired — and In knowledge base — whether the assistant can currently answer from it. Needs attention counts the documents on one of those axes that are not settled, and doubles as a filter. The caption above names the sync the comparison is made against. The Source documents page covers this tab in detail.
Sync history is the record of every attempt: its status, what triggered it and who, how many documents it changed, when it started and how long it took. Click a run to see the individual documents it touched.
Set the workspace default import policy
The Default import policy card at the top of the Sources tab governs every source left on Workspace default, so you can set the rule once instead of per source.
If no source follows the default, the change is saved straight away. If any do, the Change default import policy? dialog asks what should happen to them: Apply new default keeps them following along, so the new policy governs their documents; Keep current policy pins them to the old policy and stops them following the default. When the new default publishes automatically, the dialog also names how many pending documents would be imported immediately. Cancel leaves everything as it was.
Connect an Outline wiki
Sync from Outline is a one-step form like the website one. Alongside the name it needs:
- Base URL — the address of your Outline instance.
- API token — a personal API token from Outline. Create an API token links to Outline's own instructions. The token is saved as a workspace credential that every admin can pick when adding another Outline source; it is encrypted and never shown again — only rotated.
- Root document or collection ID — the id from the Outline URL that marks the subtree to sync. For a document, the slug after
/doc/syncs that document and everything below it; for a collection, the id after/collections/syncs every document in it. A slug or a UUID both work.
The rest of the form — description, auto-sync, image OCR, import policy and reviewers — is the same as for a website.
Connect Slack channels
Sync from Slack ingests answered threads from the channels you name — each thread becomes one document, so the assistant can cite the conversation that already solved a problem. Standalone messages are not ingested; a thread needs at least one reply.
- Bot token — the token of a Slack app installed in your Slack workspace, starting
xoxb-. It needs thechannels:history,groups:historyandusers:readscopes (plusfiles:readif you turn on image OCR). Like every credential it is saved to the workspace, encrypted and never shown again. - Channel IDs — one channel id per line, such as
C0123ABCDEF. To find a channel's id in Slack, click the channel name, open View channel details, and read it from the bottom of the About tab. Invite the bot to every channel you list (/invite) — the connection check walks all of them, so a channel the bot cannot read stops the source from being created rather than failing quietly on the first sync. - Max thread age (months) — how far back to look, 6 by default. Threads older than this are skipped, so a busy support channel does not drag years of stale answers into the knowledge base.
Once created, the card and the source page name the Slack workspace the token belongs to, how many channels are configured and the lookback window. The platform reads the workspace name from the token itself — you never type it.
Connect a SharePoint site
Sync from SharePoint is a three-step wizard — Connect, Libraries, Configure — with a stepper across the top and Continue at the bottom right.
Step 1 — Connect takes the Microsoft Entra app registration details. The Setup guide row expands to explain where each one comes from.
- Tenant ID and Client ID from the app registration.
- Certificate (PEM) — one PEM file holding the certificate and its private key. This is the app's only credential for SharePoint: there is no password or secret to type. The private key is stored encrypted and never shown again.
- Site URL — the address of the SharePoint site to sync from.
- Sync source permissions — off by default. Left off, imported files are readable by the whole workspace. Switched on, imported files keep SharePoint's own access rules instead, so someone who cannot open a file in SharePoint cannot see it here or get answers from it. This is fixed at creation and cannot be switched on later, and it needs the SharePoint API permission Sites.Read.All granted separately from the Graph permission of the same name. The certificate signs those calls too.
Step 2 — Libraries lists the site's document libraries. Pick one or more; each library you pick becomes its own source.
Step 3 — Configure is where you choose Folders to sync (when you picked a single library — leave it empty to sync the entire library), then the Name, description, auto-sync, import policy and reviewers. When several libraries are picked, each source is named after the name you type plus its library.
Reuse a saved credential
The first Outline, SharePoint or Slack source you add saves its credential to the workspace automatically. Once one exists, the create form for that kind shows a Credentials picker — below Name on the Outline and Slack forms, and below the Setup guide in SharePoint's Connect step. Choose a saved credential — the form then shows its origin, its masked secret and which sources already use it — or choose Enter new credentials… to type new ones, which are saved as another credential.
A source's page shows the credential it uses in a Credential card: its name, origin, masked secret and how many sources share it. Two buttons sit at the right of the card:
- Switch points the source at another saved credential of the same kind. The platform checks the new credential against this source's location first; if it is rejected, the source keeps its current one. The button is disabled when there is no other credential of that kind.
- Manage credentials opens the Credentials tab.
For a certificate, the card also warns when expiry is close: an amber notice inside the last 30 days, naming the days left, and a red notice once it has expired, because no source using it can sync until it is rotated.
Credentials
The Credentials tab lists every saved credential with its name and origin, its masked secret, the sources that use it (Used by), who created it and when it was last rotated. A workspace without any shows an empty state.
Save a credential ahead of time
- Click New credential at the top right of the tab.
- In Used for, pick Outline sources, SharePoint sources or Slack sources. The fields change to match: Base URL and API token for Outline; Tenant ID, Client ID and Certificate (PEM) for SharePoint; Bot token for Slack.
- Optionally give it a Credential name — left blank, it is named after its origin. This is how it appears in the picker.
- Click Verify and save. The credential is checked against its origin before it is stored.
Rotate a token or certificate
Rotation happens on the credential, not on a source, because it affects every source that uses it.
- On the credential's row, click Rotate.
- Enter the new token, or choose a PEM file with the renewed certificate and its private key.
- Click Verify and save. The new secret is checked before it is saved; if it does not work, the dialog stays open with the reason and the current one keeps running, so a bad rotation cannot break a working source. On success, every source using the credential picks it up on its next sync. Documents already synced are left untouched.
This works the same way for Outline API tokens, SharePoint certificates and Slack bot tokens.
Rename or delete a credential
The … menu at the end of a row offers Rename — only the label changes, every source keeps using it — and Delete. A credential that is still in use cannot be deleted until its sources are removed or switched to another credential.
Remove a source
- Choose Remove from the card's
…menu. The Remove knowledge source? confirmation names the source and warns that its synced documents go with it. - Click Remove and the card disappears, together with the source's synced folder under Admin → Files. This cannot be undone; re-adding the source syncs everything again from scratch.
The source's credential is not removed: it belongs to the workspace, stays on the Credentials tab, and can be picked again when you re-add the source.
Notes
- Sources are synced ahead of time, not queried live. Answers use the copy in the knowledge base, so a change at the source only reaches the assistant after the next sync.
- Documents held by Require approval wait in the Review queue, where a reviewer approves or rejects them.
- Changing reviewers takes effect immediately, so a member you remove loses the queue on their next request.