XWiki - Data Source

The xWiki data source connects to an xWiki instance and indexes its spaces and pages, so your assistant can answer questions over your wiki content and link back to the original page.

Info
The connector lives on the Data tab of the assistant editor. If you have not created an assistant yet, start with Create an AI Assistant.

Add the xWiki connector

Open your assistant in the editor, switch to the Data tab, click Add connector and choose xWiki.

Add connector menu with xWiki

Connect to xWiki and choose what to index

QAnswer authenticates against the wiki with basic authentication, and indexes exactly the spaces or pages you point it at — there is no separate browsing step:

  • xWiki base URL (required): the address of your xWiki instance, for example https://wiki.example.com.
  • xWiki username (required): the user QAnswer signs in as. It only ever sees pages that user can read.
  • Password (required): the password of that xWiki user.
  • Space or page links (required): one per line. Paste a link straight from your browser's address bar while browsing the wiki — QAnswer indexes that space and everything nested inside it. A REST-style path such as /wikis/xwiki/spaces/Help/* also works, for anyone who already knows it.

The Connector's name field above the form is prefilled with "xWiki". Rename it when the assistant reads from more than one wiki — the name is what you see in the connector list afterwards.

Click Finish to save the connector and start indexing the pages under each link in the background.

xWiki connector form with base URL, username, password and space links filled in
Security note
Your xWiki credentials are encrypted and stored with the connector. They are reused for later synchronizations, so you never have to enter them again.
Tip
Start with one space to check the results, then add the rest of the wiki. Indexing fewer, more relevant spaces keeps the assistant's answers focused.

Indexed pages

Back on the Data tab, the connector row shows how many pages it holds and how much space they take. Expand it to see every indexed page:

  • The Status column and the status filter show which pages finished indexing and which are still pending.
  • The search field finds a page by title inside the connector.
  • The open icon jumps straight to the original page in your xWiki instance.
  • The content icon shows the text QAnswer extracted from that page, and the row menu holds the per-page actions.
Indexed xWiki pages

Adding more spaces later

To index more of the wiki, click Add files on the connector row. The same row also lets you download the indexed content, rename the connector, or delete it with everything it indexed.

Adding another space link to an existing xWiki connector, with credentials already filled in
Note
Because the stored credentials are reused, Add files takes you straight to the space links field — no need to re-enter your xWiki username and password. If the saved credentials stopped working, you are returned to the connection step to update them.

Keeping the index up to date

xWiki pages change, so the connector can re-ingest them for you. Open Update Files on the connector row and pick how often that should happen:

  • Never: no automatic refresh — the default, and what a fresh connector is set to.
  • Now: run a refresh immediately, re-ingesting the selected pages whose xWiki version changed.
  • Daily, Weekly, Monthly: refresh on that schedule from now on. The option currently in force stays highlighted in the menu.
xWiki refresh schedule options

Troubleshooting

Connection failed

  • Check that the base URL points at your xWiki instance and is reachable from QAnswer.
  • Check that the username and password are correct and the account is enabled.
  • Confirm every pasted link or path actually points at a space or page you can reach in xWiki — a REST-style path must name an existing wiki (it defaults to "xwiki").

No pages get indexed

  • Make sure the xWiki user has read access to the pages under that space.
  • Double check the pasted link or path for typos — a misspelled space name silently matches nothing.
Tip
Every connector shares the same indexing behaviour and limits. For the whole picture, see Data sources.