// PART 08
Sources and indexing
“Sources” is where everything the assistant can reference is connected: repositories, models, MCP servers, mail accounts and API keys. It is not a launcher app — the capability lives as the Data Sources tab of the Integrations app, and this chapter covers the indexing side of what lands there.
Where sources live
| Section of Integrations → Data Sources | Contents |
|---|---|
| MCP Servers | Registered Model Context Protocol servers, tool counts, enable/disable |
| Repositories | Git repositories available as task context |
| Models | Language models and the active configuration |
| Accounts | IMAP accounts connected as context sources |
| API Keys | Bring-your-own keys for LLM providers |
The /sources URL resolves to the Integrations app; the legacy standalone page was removed when the tab replaced it.
From folders to collections
Indexing starts from the bot’s .gbkb/ folder. Each subfolder becomes a distinct vector collection, indexed separately and activatable independently — the folder name is the collection name used by USE KB.
When the platform processes a .gbkb folder it:
- Detects changes. Only new or modified files since the last run are processed, so unchanged content is never re-embedded.
- Extracts text. PDF extraction handles complex layouts, DOCX unwraps the underlying XML, and plain-text formats are read directly, preserving paragraph structure.
- Embeds. The extracted text is converted to a vector; which model does this depends on configuration.
- Stores. Each record carries the file path, type, bucket and tags, and is written to the vector database.
Remove a file and it disappears from search; add one and it becomes searchable.
The accuracy note that matters
Documents are indexed as whole-file records. There is no text chunking step and no overlap between chunks, which is why very long documents can lose precision — the whole file competes for one record. Structure your knowledge accordingly: a folder of focused documents retrieves better than one enormous manual.
What is not indexed
| Content | State |
|---|---|
| Documents in the supported formats | Indexed into vector collections |
| Docs-app saved documents | A separate, structure-aware citation index (see “Knowledge Base”) |
| Repositories and MCP tools | Connected as sources, not embedded as knowledge |
| Media without extractable text | Stored in Drive, referenced by name |