Import selected Google Drive files
Google Drive import adds selected files to a knowledge base through an authorized connection. Select individual files when the knowledge base needs only part of a folder.
Before you start
Have a Google Drive account that can open the source files and an authorized Google Drive connection in StackAI. Use Create and manage connections if you need to connect it. The Google Drive integration reference covers provider-specific setup.
To begin a new connected import, open Knowledge Bases → Import from a Connection, select the Google Drive connection, and choose Next: Select files. Check the connection name and owner so you use the intended account. For a base already connected to Drive, open that base and use Select Files to update its selection.
Select the source documents
In the file picker opened by Next: Select files or Select Files, locate the source folder.

Expand nested folders when the documents you need are stored below the top level.
Select the individual documents and choose Load selected files.

Review the selection carefully so the import includes only the intended sources.
Review the imported files
Browse the imported folder structure and check each file's status.

A completed file transfer can still require indexing before the contents are searchable.
Open a document and inspect Parsed and Chunks.

Confirm that extracted passages contain the information you expect from the source file.
Change the source selection
Use Select Files to change which source files are included.

Review the selected documents and save the selection to update the import scope.
Search the imported documents
Use Evaluate to ask about a document in a nested folder.

Inspect both the returned passage and its filename to confirm the relevant source is available.
Use other questions to check documents at different folder levels.

Each result identifies the source document that supplied the passage.
If the connection or files are missing
Clear the connection-list search first. If no suitable account is available, use New Connection or Go to Connections and authorize the required account. If your organization does not offer the Google Drive provider or connector, ask its administrator to review the integration's availability and connector configuration.
If the picker reports a connection error, check its message, reconnect the account if authorization has expired, and retry. For a missing file, open it directly in Drive with the same account and confirm its location and permissions; choosing StackAI's import option does not grant new Drive access.
Important behavior
Imported documents must finish indexing before retrieval can use them.
Selecting a connected source does not grant additional access in its provider. Use an account authorized to read the selected files.
Continue
Last updated
Was this helpful?

