> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qxlabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connected apps and knowledge

> Choose which third-party apps an agent can call and which knowledge vaults it can search and cite, yourself or via the AI builder.

Two sections of the agent editor decide what an agent can reach: **Connected apps** for the third-party services it may call, and **Knowledge** for the vaults it can search and cite. You can set both up yourself, or let the [builder](https://docs.qxlabs.com/agents/create-an-agent/build-with-ai.md) do it, describe the job in the editor's **Chat** sidebar and it connects the exact tools and attaches the right vaults for you.

## Connected apps

In the agent editor, the **Connected apps** section picks which third-party services the agent can interact with.

* Add an app the org has already connected, or use **Connect new app** to authorize a new one on the spot.
* Expand each app to choose exactly which of its tools the agent can use (e.g. give it Gmail access).
* Set each tool to run without asking or to wait for your [approval](https://docs.qxlabs.com/agents/approvals.md), see [Scopes and permissions](https://docs.qxlabs.com/agents/scopes-and-permissions.md#set-permissions-for-one-agent).

![Connected apps section with Gmail expanded to show its accounts](https://mintcdn.com/qx-labs/1FXz21yTufvWGRBn/images/agents/apps-and-knowledge/connected-apps-list-light.png?fit=max\&auto=format\&n=1FXz21yTufvWGRBn\&q=85\&s=bd5ef19c7493251a40db51efb635b2f4)

The apps this agent can use

![Per-app tool picker for Gmail, filtered to draft tools](https://mintcdn.com/qx-labs/ZJkiVX6zo-84vXkk/images/agents/apps-and-knowledge/app-tools-picker-light.png?fit=max\&auto=format\&n=ZJkiVX6zo-84vXkk\&q=85\&s=732c37b6217d42d97a30c5f570175ee6)

Choosing which Gmail tools it can call

> [!TIP]
>
> Give agents the minimum set of tools they need. A focused toolset makes tool selection more reliable and keeps the agent fast.

## Knowledge

Attach **vaults** so the agent can search your documents and cite them. There's no separate search box: the agent searches its attached vaults on its own whenever a question needs your internal knowledge.

![Knowledge section of the agent editor listing attached vaults](https://mintcdn.com/qx-labs/ZJkiVX6zo-84vXkk/images/agents/apps-and-knowledge/knowledge-section-light.png?fit=max\&auto=format\&n=ZJkiVX6zo-84vXkk\&q=85\&s=5a732ba9c76a641a4134c408c253b431)

Click **Add knowledge** to attach a vault, then scope it to specific folders or files so the agent only searches what's relevant.

![Attach knowledge dialog listing available vaults](https://mintcdn.com/qx-labs/ZJkiVX6zo-84vXkk/images/agents/apps-and-knowledge/attach-vault-light.png?fit=max\&auto=format\&n=ZJkiVX6zo-84vXkk\&q=85\&s=d5470677767062f68641f73daa10344b)

Pick a vault to attach

![Vault scope dialog with individual files selected](https://mintcdn.com/qx-labs/ZJkiVX6zo-84vXkk/images/agents/apps-and-knowledge/scope-vault-light.png?fit=max\&auto=format\&n=ZJkiVX6zo-84vXkk\&q=85\&s=cccad71c5a9c0e6dab733cc138166932)

Scope it to folders or files

You can also turn vaults on or off for a single [chat](https://docs.qxlabs.com/agents/chat.md) from the composer's **Knowledge popover**, without changing the agent.

When your question needs a vault, the agent searches it and answers, showing numbered **sources** you can click to see the exact passages it used, so every claim traces back to a document.

![A chat answer grounded in knowledge, with a Searching knowledge tool call](https://mintcdn.com/qx-labs/ZJkiVX6zo-84vXkk/images/agents/apps-and-knowledge/grounded-answer-light.png?fit=max\&auto=format\&n=ZJkiVX6zo-84vXkk\&q=85\&s=fad25ca34cb56cc1bd94c482e3e7364c)

The agent searches your vaults to answer

![The Sources panel showing two cited PDF passages with page numbers](https://mintcdn.com/qx-labs/ZJkiVX6zo-84vXkk/images/agents/apps-and-knowledge/sources-panel-light.png?fit=max\&auto=format\&n=ZJkiVX6zo-84vXkk\&q=85\&s=a44b67b680108012318722cdd5813fa1)

Click a citation to see its sources

> [!TIP]
>
> Everything on this page is scoped, app tools, accounts, and vault folders. See [Scopes and permissions](https://docs.qxlabs.com/agents/scopes-and-permissions.md) for how scoping works and how to change it, even mid-chat.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.