For the complete documentation index, see llms.txt. This page is also available as Markdown.

Knowledge connectors

Connecting SharePoint, Confluence, KnowledgeOwl, and Zendesk so the Assistant answers from existing documentation.

A knowledge connector links the Assistant to a documentation system the organization already runs, so answers can draw on material that is already written and maintained. Four systems can be connected: SharePoint, Confluence, KnowledgeOwl, and Zendesk.

The list of knowledge sources available to connect in the Userlane portal
SharePoint, Confluence, KnowledgeOwl, and Zendesk can be connected as knowledge sources.

This article covers connecting one source for the organization and switching it on for a single application. At the end, an end user searching in that application sees results from the connected system alongside guides and announcements.

What each connector reaches

The setup is the same for all four connectors. What differs is how each one authenticates and, more importantly, whose permissions decide what the Assistant can see.

Source
Authenticates with
Content scope follows

SharePoint

A registered Entra ID application, using application permissions[^2]

The registered application

Confluence

An API token

The Confluence user the token belongs to

KnowledgeOwl

An API key and a project ID

The KnowledgeOwl project the key belongs to

Zendesk

An API token

The Zendesk user the token belongs to

For Confluence, KnowledgeOwl, and Zendesk the identity behind the token is the access control. Create an account or project specifically for the connection, restrict it to the spaces or categories that should be searchable, and generate the token from that account. Anything the account can read becomes answerable.

SharePoint has two further limits. It works with SharePoint Online only, not on-premise. And Graph reaches page names, titles, page text, lists, and list items, but not wiki pages and not content embedded as images or attached documents.

Connect the source for the organization

A source is connected once for the whole organization. Switching it on for individual applications is a separate step, which means one connection can serve several applications.

Where this lives. Connection settings sit in the global settings for the account, not in the settings for a single application.

1

Prepare the account or application in the source system

Follow the source system's own instructions for creating credentials. Set permissions before generating anything, because the credential inherits whatever access the account has at that moment.

An Entra ID administrator registers Userlane as an application in the tenant linked to SharePoint. The registration needs application permissions rather than delegated permissions, with Sites.Read.All on Microsoft.Graph as the minimum. An administrator has to grant consent, and has to grant it again every time the application's permissions change.

Collect four values: the URL of the SharePoint subsite the connection should search, the tenant ID, the application (client) ID, and the client secret. Copy the secret value, not its ID, at the moment it is generated. It is shown once.

The client secret carries an expiry date. Note that date somewhere the team will see it. When the secret expires, the connection stops returning results until a new secret is generated and entered.

Create a Confluence user for the connection and give it access only to the spaces that should be searchable. Generate an API token from that user's account.

The number of API tokens available is limited per workspace, so share tokens across teams where that is practical. Some Confluence plans do not allow token generation at all. A workspace that is not reachable by third-party applications over the internet cannot be connected.

Collect three values: the Confluence workspace URL, the user's email address, and the token.

Create a KnowledgeOwl project for the connection and set its permissions and restrictions before generating anything. The connection inherits the access of the project the API key is generated for.

Collect three values: the knowledge base URL, the API key, and the project ID. The project ID is the string at the end of the knowledge base administration URL, after /articles/id/.

Create a Zendesk user for the connection and restrict it to the content that should be searchable. Generate an API token from that user.

Collect three values: the Zendesk URL, the user's email address, and the token.

2

Open the integration settings for the account

Open the global settings for the account and find the list of sources available to connect. Select the system to connect.

3

Enter the connection details

Complete the form with the values collected in step 1. Every connector asks for the URL of the source system. For SharePoint that URL points at a single subsite rather than the whole tenant, which makes it the main control over what the connection can reach.

Connectors also take a name for the connection. Set it deliberately when more than one connection of the same type exists, because the name is what appears later when switching the connection on per application.

4

Save and connect

Saving tests the connection immediately. A successful test moves the connection into the list of connected sources. A failed test returns an error naming the cause, usually an unreachable URL or a rejected credential.

A connection can be edited or removed later from the same list.

Activate the connection for an application

A connected source stays inactive until it is switched on for an application. Repeat this for every application that should use it.

  1. Adjust the reader-facing text first, in the text customization settings. Connected sources introduce labels for document results and for the preview window, and those labels reach end users the moment the connection goes live. Setting them beforehand avoids showing default wording that does not match the organization's own terminology.

  2. Open the search settings for the application.

  3. Confirm that search is available in the Assistant for this application. A connection cannot return anything if search is switched off.

  4. Enable the connection by name.

Troubleshooting

Problem
Likely cause
What to do

Saving the connection fails

The URL is wrong, or the credential was rejected

Read the error under the fields. For SharePoint, confirm administrator consent was granted after the last permissions change

The connection saves but no results appear

The connection is not switched on for this application, or search is switched off for it

Check both controls in the application's search settings

A SharePoint connection that worked stops returning results

The client secret has expired

Generate a new client secret in the Entra ID application registration, then edit the connection and enter it

Results are missing content that exists in the source

The credential's account cannot reach it. For SharePoint, the content type is out of scope

Widen the account's permissions, or accept the Graph limits on wiki pages and embedded content

A reader sees the preview but cannot open the original

The source system requires a login, and the reader does not have one

Expected behavior. The preview is the fallback

The connection cannot reach the source system at all

The source system restricts inbound traffic by IP address

Allow the public IP that Userlane connects from. Confirm the current address with Userlane support before opening a rule, because it depends on how the account is hosted

Results do not match the source system's own search

Userlane queries the source API live and applies its own ranking

Expected behavior. The two result sets are not comparable

Relevant articles

The AssistantConnect your own AI serviceAI features: what data is processed and whereEnvironment prerequisites

FAQ

Which systems can be connected as a knowledge source?

SharePoint, Confluence, KnowledgeOwl, and Zendesk.

Is a knowledge source connected once, or once per application?

A source is connected once for the organization, then activated separately for each application that should use it.

Does the SharePoint connector apply each end user's SharePoint permissions?

No. The SharePoint connector returns what the registered Entra ID application can read. It does not check the permissions of the person asking.

Does a SharePoint connection need maintenance after setup?

Yes. The Entra ID client secret expires. The connection stops returning results until a new secret is generated and entered.

Does Userlane store a copy of connected content?

No. Userlane queries the source system's API for each request and does not index the content.

Can the SharePoint connector reach an on-premise SharePoint installation?

No. The connector works with SharePoint Online only.

Can an end user open the original document from a result?

Yes, if they have a login for the source system. Without one, they can read the preview inside the Assistant but cannot open the original.

Last updated

Was this helpful?