Guides
Turn SharePoint and Google Drive into a Q&A knowledge base with Duaer
Connect SharePoint, Google Drive, Notion, Jira, Salesforce, Zendesk and more to the Duaer knowledge base. Files stay put; answers cite the source.
Do the files have to move?
No. Duaer only reads and indexes them. Files stay where they are and people keep editing them there. When you disconnect a source, its content leaves the index.
How do you connect Microsoft 365 (OneDrive and SharePoint)?
- In your company’s Microsoft admin portal, register an app with the read-only permissions Files.Read.All and Sites.Read.All, and grant admin consent. For members of SharePoint site groups to find what is shared with their group, also grant SharePoint’s AllSites.Read (delegated).
- As an owner or admin, open Data sources in the sidebar in Duaer, select Add source and choose Microsoft 365 files, then create a credential for that app.
- Click Connect. After “Connected. Indexing has started.”, give it a little time.
- Ask a question whose answer is in a SharePoint file and check that the source points to that file.
How do you connect Google Drive?
- Have a Google Drive OAuth2 credential, or a Google OAuth2 credential with the drive.readonly scope. For members of Google groups to find what is shared with their group, also add the admin.directory.group.member.readonly scope and connect with a Google Workspace admin account.
- On the Google Drive card, choose the credential and click Connect.
- Only files that account can read are indexed. Make sure it can read whatever people should be able to ask about.
A file's description, custom properties and labels are indexed with it, so a search for a label value finds the file: a search for Procurement finds files whose Contract · Type label says Procurement. After a search, pick Contract · Type under Field and Procurement under Value to see only those files. Reading labels takes the drive.labels.readonly scope as well; without it everything else is indexed and the Data sources card lists the missing scope. A file whose labels or description alone changed is read again on the next pass.
How do you connect Notion?
- In Notion, create an internal integration (or use a public one through a Notion OAuth2 API credential). Under its capabilities, turn on Read content and Read user information including email addresses.
- In Notion, share the pages and databases people should be able to ask about with the integration (the ••• menu › Connections).
- As an owner or admin, open Data sources in the sidebar in Duaer, select Add source and choose Notion, then choose a Notion API credential holding the integration secret and click Connect.
- Pages and database items are indexed with their properties and nested blocks.
Notion does not tell other apps who a page is shared with. Duaer opens Notion pages to its members whose email is a member of the Notion workspace; guests and people outside the workspace do not find them. Which pages Duaer reads is decided by what you share with the integration.
How do you connect Confluence and Jira?
- In Atlassian, create an API token for an account that can read the spaces and projects people should be able to ask about. For Jira, the account needs the global permission Browse users and groups.
- In Duaer, create a Jira Software Cloud API credential with that account’s email, the API token and the site address, https://<your-site>.atlassian.net.
- As an owner or admin, open Data sources in the sidebar, select Add source and choose Confluence, then choose the credential and click Connect; do the same for Jira. One credential serves both.
Each person finds only what Atlassian lets them read. A Jira issue opens to the people who may browse its project, and issues with a security level are left out. A Confluence page or blog post opens to those who may read its space, narrowed by its own view restrictions and those of its parent pages. People are matched by email, so someone who hides their email in their Atlassian profile does not find these items; the source card counts the items this affects.
How do you connect Salesforce?
- In Duaer, create a Salesforce OAuth2 API credential and sign in with a Salesforce account that can read accounts, contacts, opportunities, cases and Knowledge articles.
- As an owner or admin, open Data sources in the sidebar, select Add source and choose Salesforce, choose Knowledge source under Add as, then choose the credential and click Connect.
Duaer indexes accounts, contacts, opportunities, cases and published Knowledge articles, up to 1,000 of each, the most recently changed first. Each record follows Salesforce’s own record access: Duaer members are matched by email to active Salesforce users, and a member finds a record when Salesforce lets their user read it. Knowledge articles open to every member matched to a Salesforce user; data categories are not applied. Members who are not Salesforce users do not find these items.
More in Search Salesforce in your knowledge base.
How do you connect HubSpot?
- In Duaer, create a HubSpot OAuth2 API credential, or a HubSpot Service Key credential with a private app’s access token. The app needs read access to companies, contacts, deals, tickets and owners.
- As an owner or admin, open Data sources in the sidebar, select Add source and choose HubSpot, choose Knowledge source under Add as, then choose the credential and click Connect.
Duaer indexes companies, contacts, deals and tickets, up to 1,000 of each, the most recently changed first. A record is found by its owner, members on the owner’s teams, and the owners and admins of the Duaer organization. A record without an owner is found by owners and admins only. Members are matched by email to HubSpot users.
More in Search HubSpot in your knowledge base.
How do you connect Zendesk?
- In the Zendesk Admin Center, turn on API token access for an admin account, or set up a Zendesk OAuth client.
- In Duaer, create a Zendesk API credential with the subdomain (acme for acme.zendesk.com), that admin’s email and the API token, or use a Zendesk OAuth2 API credential.
- As an owner or admin, open Data sources in the sidebar, select Add source and choose Zendesk, then choose the credential and click Connect.
Duaer indexes the 2,000 most recently updated tickets with their comments, internal notes included, and up to 1,000 published Help Center articles. Drafts are left out; without Help Center, only tickets are indexed. Tickets follow the agent’s role: admins and agents who see all tickets find every ticket; agents limited to their groups, their organization, tickets assigned to them, or tickets they requested find only those; agents always find the tickets assigned to them. Articles follow their user segment, and public articles are found by the whole organization. Members are matched by email to active agents and admins; end users find nothing.
More in Search Zendesk tickets and articles.
How do you connect ServiceNow?
- In ServiceNow, have an account that can read users, groups, roles, user criteria, knowledge articles, incidents, requested items and the journal.
- In Duaer, create a ServiceNow Basic Auth API credential with the instance subdomain (acme for acme.service-now.com), the user name and the password, or use a ServiceNow OAuth2 API credential.
- As an owner or admin, open Data sources in the sidebar, select Add source and choose ServiceNow, then choose the credential and click Connect.
Duaer indexes published knowledge articles (up to 1,000) and the 2,000 most recently updated incidents and requested items with their comments and work notes. Articles follow ServiceNow user criteria; incidents and requested items are found by the caller or requester, the assignee, members of the assignment group, and users with the itil or admin role. Members are matched by email to active ServiceNow users.
More in Search ServiceNow in your knowledge base.
How do you connect GitHub?
- In GitHub, create a personal access token: a classic token with the repo, read:org and read:user scopes, or a fine-grained token with read access to contents, issues, pull requests and metadata. The account must see the repositories people should be able to search.
- In Duaer, create a GitHub API credential with that token; for GitHub Enterprise, also fill in the server (for example https://git.acme.com/api/v3). A GitHub OAuth2 API credential works too.
- As an owner or admin, open Data sources in the sidebar, select Add source and choose GitHub, then choose the credential and click Connect.
Duaer indexes issues and pull requests with their comments, and Markdown files on the default branch, from the 100 repositories pushed to most recently; code is not indexed. Public repositories are found by the whole organization; a private repository by members with read access on GitHub, matched by their public email or their verified email in the organization.
More in Search GitHub in your knowledge base.
How do you connect Box?
- In Duaer, create a Box OAuth2 API credential and authorize it with a Box account that sees the folders people should search: an admin, or a co-admin with access to managed users' content.
- As an owner or admin, open Data sources in the sidebar, select Add source and choose Box, then choose the credential and click Connect.
Duaer walks folders from the root and indexes up to 5,000 files. A file is found by its owner and the collaborators of the file and of every folder above it, group members included; a shared link open to the company or to anyone opens it to the whole organization.
More in Search Box in your knowledge base.
How do you connect Dropbox?
- In Duaer, create a Dropbox OAuth2 API credential with full Dropbox access and authorize it with a Dropbox account that is a member of the shared folders people should search, or use a Dropbox API credential with an access token.
- As an owner or admin, open Data sources in the sidebar, select Add source and choose Dropbox, then choose the credential and click Connect.
Duaer indexes up to 5,000 files the connected account sees: its own folders and the shared folders it belongs to. A file is found by the members of its shared folder and of the file itself; a link open to the team or to anyone opens it to the whole organization; a file shared with nobody is found by the connected account only. Other members' private folders that are not shared with that account are not read.
More in Search Dropbox in your knowledge base.
How do you connect Yuque?
- In Duaer, create a Yuque API credential: for Token, a personal token from Yuque Settings › Tokens with read access to knowledge bases and teams, or a team token; with a Yuque space, set Yuque Address to the space's address, for example https://your-space.yuque.com.
- As an owner or admin, open Data sources in the sidebar, select Add source and choose Yuque, then choose the credential and click Connect.
Duaer indexes the published documents of up to 500 knowledge bases the token reads. A knowledge base open to anyone or to the whole space is found by the whole organization; a team's own, only by the team's members Yuque gives an email for.
More in Search Yuque in your knowledge base.
How do you connect DingTalk Docs?
- Connect the DingTalk robot first, under Data sources in the sidebar, with the DingTalk Robot credential of your company's DingTalk app.
- In the DingTalk developer console, give that app the permissions Wiki.Workspace.Read, Wiki.Node.Read, Storage.File.Read and Document.Workbook.Read, plus permission to read member details in the directory, then publish the app.
- An owner or admin opens the DingTalk source and checks Include DingTalk Docs knowledge bases in search.
Duaer reads the knowledge bases and documents each member sees, as that member: whoever may read a document in DingTalk finds it in Duaer, and employees do nothing. Members are matched to Duaer accounts by their DingTalk email or company email; people who are not matched find nothing from DingTalk Docs.
DingTalk documents are read in full, DingTalk spreadsheets from A1:Z200 of their first three sheets, and other files such as PDFs by title. It syncs every 6 hours, or at once with Index now. Permissions the app lacks are shown in red on the source card; unchecking it removes every DingTalk document from search.
How do you connect Kingsoft Docs?
- In the WPS 365 developer console, create an in-house app and note its App ID and App Key.
- In Duaer, create a WPS 365 API credential with that App ID and App Key.
- An owner or admin opens Data sources in the sidebar, selects Add source, chooses Kingsoft Docs, picks the credential and clicks Connect. The panel shows the callback address.
- Back in the WPS 365 developer console, register that address under Security › User authorization callback, apply for the user permissions kso.user_current_id.read, kso.file.read and kso.file.search, then publish the app.
- Each employee opens Knowledge on the portal and clicks Connect Kingsoft Docs under My documents, once.
Duaer lists the files each connected employee can see, as that employee: their own, those shared with them and their teams'. A file is found only by the connected employees who can see it; employees who have not connected find nothing from Kingsoft Docs, even when a file is shared with them.
Smart documents, Word (docx) files and PDFs are read in full; spreadsheets, presentations and other files are found by title. It syncs every 3 hours, right after an employee connects or disconnects, and at once with Index now. A connection lasts a year; employees then connect again.
How do you connect Tencent Docs?
- On the Tencent Docs open platform, create an app and note its Client ID and Client Secret.
- In Duaer, create a Tencent Docs API credential with that Client ID and Client Secret.
- An owner or admin opens Data sources in the sidebar, selects Add source, chooses Tencent Docs, picks the credential and clicks Connect. The panel shows the callback address.
- Back on the Tencent Docs open platform, register that address for the app (HTTPS), apply for the permissions scope.drive.readonly, scope.doc.readonly, scope.sheet.readonly and scope.user.info.base, and wait for the app to be approved.
- Each employee opens Knowledge on the portal and clicks Connect Tencent Docs under My documents, once.
Duaer reads, as each connected employee, the files in the folders of their My documents and the files they viewed lately. A file is found only by the connected employees who can see it; a file shared with someone that is not in their folders is found by them once they have opened it.
Online documents and sheets are read; slides, forms and other files are found by title. It syncs every 3 hours and right after an employee connects or disconnects. A connection lasts a year; employees then connect again.
Can Ask Duaer answer questions about data in our warehouse?
Yes. An owner or admin adds Data Q&A under Data sources in the sidebar: chooses a Snowflake, BigQuery or Databricks credential, the BigQuery project and dataset, the Databricks SQL warehouse ID and catalog and schema (for example main.sales), or the Snowflake schema, clicks Load tables and checks the tables or views to open, then chooses who can ask: everyone in the organization, departments (from the connected directories) or members.
- Employees ask Ask Duaer on the portal, for example “return rate by region last quarter”. Duaer writes one read-only query over the opened tables and runs it with that credential; the answer gives the key numbers, with a chart, the result table and the SQL under it, exportable to Excel. Only the person who asked sees the result, kept for 30 days.
- Writes, several statements, tables outside the dataset, system catalogs and external query functions are refused and never run.
- Each query runs at most 60 seconds, scans at most 10 GB on BigQuery by default and keeps up to 1000 rows; each person may ask 50 questions a day unless an admin changes it on the dataset.
- What people can see is what the opened tables hold; for row-level differences, open views.
- Under a result, Save as metric adds it, with a name and a refresh (every hour, day or week), to My metrics on the home page: the latest values and their change since the refresh before. It opens to the full chart and table and can be shared with colleagues who may ask the same dataset. Refreshes do not count toward the daily questions; a failed refresh keeps the last values and shows why. Each person keeps at most 20.
Can I find my earlier Ask Duaer conversations, and does it remember me?
Yes. History in the side menu of the employee portal lists all your conversations by date and searches their titles, your questions and Duaer's answers; open one to go on, rename it, or delete it with its messages. Conversations are kept until you delete them, and you only see your own.
- Ask Duaer remembers what is lastingly useful about your work, such as the region you look after or the measures and formats you prefer, and uses it in later conversations. Each time, the answer ends with Remembered: … and an Undo.
- My memory, from the top right of History or Manage beside Remembered, lists what is kept: edit, delete one or all, or turn memory off.
- Passwords, keys and ID, card or account numbers are never kept. Each person keeps at most 50, and only they see them; admins do not.
- Owners and admins can turn off Ask Duaer remembers what employees tell it under Duaer employee portal in the organization settings: nothing new is kept and what was kept is not used.
Can employees search their own mail and calendar?
Yes, each for themselves. Nobody’s mailbox is read through an admin account.
- An owner or admin registers the company’s OAuth app once: in Google Cloud for Gmail and Google Calendar, or in Microsoft Entra for Outlook. In Data sources in the sidebar, select Add source and choose Gmail and Google Calendar or Outlook mail and calendar, then add the redirect URI shown on the panel.
- On that panel, choose a Google OAuth2 API or Microsoft OAuth2 API credential holding the app’s client ID and secret, and click Connect.
- Each employee opens Knowledge on the portal, clicks Connect Gmail or Connect Outlook, and grants read-only access to their own account.
Duaer then indexes that person’s inbox and sent mail of the last 90 days and their calendar events from 90 days back to 180 days ahead. Attachments are not read; only their file names are kept. Only that employee finds these items. They can disconnect on the same page, and everything from their mailbox leaves the index. When someone leaves the organization, their access and items are removed.
Does Duaer prepare me for meetings?
Yes. Employees who connected Gmail, Outlook, Feishu or DingTalk Calendar see their remaining meetings today under Today’s meetings on the portal home page. Prepare shows who attends with their titles and departments, related documents, and a summary with key points, each citing its source.
- Before the meeting: by default 15 minutes before it starts, the preparation is sent once in your usual chat tool (Feishu, WeCom, Slack or Teams, else email). Change it to 5, 30 or 60 minutes, or off, at the top right of Today’s meetings.
- Ask Duaer: ask “What meetings do I have today?” or “Prepare me for this afternoon’s Acme meeting.”
- Only what you may read is used, and sensitive content is masked as in knowledge answers. Cancelled, declined and all-day events are not meetings. Preparations are kept for 30 days.
- Gmail, Outlook, Feishu and DingTalk calendars are supported, recurring meetings included. For Feishu and DingTalk, each employee opens Knowledge on the portal and clicks Connect Feishu Calendar or Connect DingTalk Calendar to grant access to their own calendar once; if access ends, it shows as not connected until they connect again. WeCom’s API cannot read employees’ own schedules, so it is not supported.
- For Feishu and DingTalk calendars, an admin first grants permissions to the company app already connected to Duaer: in Feishu, the user permissions calendar:calendar:readonly and offline_access, with https://<your portal address>/rest/work/knowledge/feishu/callback added as a redirect URL; in DingTalk, the calendar read permission Calendar.Event.Read and the personal information permission Contact.User.Read, with https://<your portal address>/rest/work/knowledge/dingtalk/callback added under Login and sharing.
Can meeting transcripts be searched?
Yes. A transcript is found by its organizer and the attendees who are Duaer members, as the meeting tool shows it to them. Meetings of the last 90 days are read.
A meeting in the search results shows its organizer and first attendees. Click More to see every attendee, the documents attached to or linked in the invitation, and the transcript lines that match your search; Open full transcript goes to the meeting tool. Documents come from the attachments of the Google Calendar or Outlook event, links in the invitation, and links in a Zoom meeting’s agenda. Only documents that are in the knowledge base and that you may read are shown. Feishu Minutes has no attachments, so it shows none. Meetings read before this feature are not read again, so they show no documents.
- Zoom: in the Zoom App Marketplace, create a Server-to-Server OAuth app that may read users, cloud recordings, past meeting participants, meetings and their registrants. In Duaer, create a Zoom Server-to-Server OAuth API credential with its account ID, client ID and client secret, and connect it on the Zoom meetings card. Duaer reads the cloud recording transcripts of every user on the account. Each meeting is found by its host, the participants, and members who were invited or registered. When Zoom does not list a meeting’s participants, only the host finds it; when it does not list the invitees, only the host and participants do, and the Data sources card says so.
- Google Meet and Teams: on the Gmail and Google Calendar card or the Outlook mail and calendar card, tick the meeting transcripts option. Employees then connect their mailbox again on the portal to grant read-only access to their meetings; each employee’s own meetings are read. For Teams, an administrator first grants consent for OnlineMeetings.Read and OnlineMeetingTranscript.Read.All in Microsoft Entra.
What happens to the to-dos in a meeting?
For a meeting from the last three days, Duaer reads the transcript for to-dos: what is to be done, who owns it and by when, when that was said. The organizer gets one card listing them, with Send to owners and Don’t send. Only after Send to owners does each owner get a card of their own; a to-do without an owner goes to the organizer. Meetings read when a source is first connected get no card, so nobody is flooded.
What about WeCom WeDrive?
After connecting a credential on the WeCom card, click Add space and enter a WeDrive space ID, or click Create knowledge space.
What are the limits?
- Each Google, Microsoft, Notion, Confluence or Jira source reads up to 5,000 files, pages or issues and up to 200,000 characters per file. Microsoft sources read up to 100 drives. Salesforce and HubSpot read up to 1,000 records of each kind; Zendesk up to 2,000 tickets and 1,000 articles; ServiceNow up to 1,000 articles and 2,000 incidents and requested items each; GitHub up to 100 repositories, with 500 issues and pull requests and 200 Markdown files each; Box up to 5,000 files; Dropbox up to 5,000 files.
- Files over 20 MB or in other formats are indexed by title only.
- Permissions follow the source and are re-read every hour; in Google Drive and Microsoft 365, removed shares and group member changes take effect within 5 minutes. Google groups and SharePoint site groups are expanded with an optional grant, and up to 500 groups have their members re-read per pass. Notion pages follow workspace membership, not each page’s sharing.
How is this different from building Drive Q&A on the canvas?
Build a Duaer chatbot that answers from Google Drive docs builds the retrieval flow yourself on the canvas, for people who want to shape each step. The knowledge base is ready-made: connect and ask, with permissions and citations already handled.
Questions
Will Duaer change files in our drive or SharePoint?
No. Duaer reads files with read-only permissions to index them. It doesn’t write or move anything.
How soon does Duaer pick up a changed SharePoint file?
Duaer reads changed files every 10 minutes. To hurry it, click Index now on the source card.
In this section
How to build an AI assistant on your company documents with Duaer (no code)
You can build an AI assistant on your company documents without code. In Duaer, connect the places your documents already live and let the knowledge base index them. People then ask in plain words, and each answer cites its sources and uses only what that person may open.
Knowledge basePermission-aware enterprise AI search: how Duaer keeps document access intact
Permission-aware enterprise AI search filters results by what each person may open in the source system, before any answer is written. Duaer follows the source’s permissions: a document shows up only for people who can open it where it lives, and answers use only those documents.
Knowledge baseAI answers with citations and no hallucination: how Duaer does it
To get AI answers with citations and without made-up facts, do three things: answer only from documents the person may read, mark which file each statement comes from, and give no answer when there is no source. The Duaer knowledge base answers this way by default.
Knowledge baseSearch Salesforce in your knowledge base with Duaer
Connect Salesforce to the Duaer knowledge base. People ask about accounts, opportunities and cases, and find only the records Salesforce lets them see.
Knowledge baseSearch HubSpot in your knowledge base with Duaer
Connect HubSpot to the Duaer knowledge base. People ask about companies, deals and tickets; a record opens to its owner, their team and admins.
Knowledge baseSearch Zendesk tickets and articles with Duaer
Connect Zendesk to the Duaer knowledge base. Agents ask about tickets and Help Center articles and find only what their Zendesk role allows.
Knowledge baseSearch ServiceNow in your knowledge base with Duaer
Connect ServiceNow to the Duaer knowledge base. People ask about knowledge articles, incidents and requests, and find only what ServiceNow shows them.
Knowledge baseSearch GitHub in your knowledge base with Duaer
Connect GitHub to the Duaer knowledge base. People ask about issues, pull requests and docs; private repositories follow GitHub read access.
Knowledge baseSearch Box files in your knowledge base with Duaer
Connect Box to the Duaer knowledge base. People ask about contracts, plans and reports, and find only the files Box shares with them.
Knowledge baseSearch Dropbox in your knowledge base with Duaer
Connect Dropbox to the Duaer knowledge base. People ask about files in shared folders, and find only what Dropbox shares with them.
Knowledge baseSearch Yuque in your knowledge base with Duaer
Connect Yuque to the Duaer knowledge base. People ask about handbooks, policies and project docs; space-wide knowledge bases are found by everyone, a team's own only by its members.
Knowledge baseSearch files in S3 and Alibaba Cloud OSS buckets with Duaer
Connect the files under a prefix of an S3 bucket, or of Alibaba Cloud OSS, Tencent COS or MinIO, to the Duaer knowledge base. People ask about the policies, manuals and reports in it; everyone in the organization finds them.
Knowledge baseSearch websites and help centres with Duaer
Connect product docs, a help centre or an intranet site to the Duaer knowledge base. People ask about what the site says and the answer links to the page; it is read again every day and everyone in the organization finds it.
Knowledge baseDuaer browser sidebar: search from any web page
The Duaer sidebar for Chrome and Edge opens your company knowledge base beside any web page: search, ask, and see what relates to the page.
AI recipesBuild a Duaer chatbot that answers from Google Drive docs
In Duaer, chunk the documents in a Google Drive folder into a vector store, then let an AI Agent retrieve the relevant pieces to answer each question.
NodesUpload a file with Google Drive in Duaer
In Duaer, Google Drive defaults to Authentication OAuth2, Resource File, and Operation Upload. Input Data Field Name defaults to data. You need a googleDriveOAuth2Api credential.