What to ask your IT department for first
Neural Factory reads Drive through a Google Cloud service account: an account that belongs to an application instead of a person. Whoever manages your Google Cloud projects can set it up. Ask them for:Connect Google Drive
Open the knowledge base
Add a Google Drive source
Enter the service account
Enter a folder
Choose when it syncs
- Every X hours, from 1 to 23 hours;
- Daily, Weekly or Monthly, at an hour and minute you pick;
- Custom, with a cron expression.
Click Create
What is synced
- PDF files only, in the folder and its subfolders.
- Files in the Drive trash are not indexed.
- Each sync adds new PDFs, replaces changed ones, and removes the documents of PDFs that left the folder.
- SaaS: files that would take you past your plan’s page allowance are skipped, and the source shows a warning saying how many. A changed file keeps its indexed version until the new version fits.
Sync now or change the connection
- To sync now, open the row’s actions menu on the knowledge base page and click Sync Now, or open the source and click Sync. Only one sync of a source runs at a time.
- To change the connection, open the source and click Edit. The private key is not shown. Leave Private Key and Private Key ID empty to keep the current ones. Saving a change to the service account or the folder starts a sync, which checks the new values.
If something goes wrong
When a sync fails, the source’s status shows Error (hover it to see the reason) and the source’s page shows a Sync Error banner.Authentication failed. Please verify the service account credentials (client email, private key) and that the Drive API is enabled.
Authentication failed. Please verify the service account credentials (client email, private key) and that the Drive API is enabled.
Access denied. Please ensure the service account has been granted access...
Access denied. Please ensure the service account has been granted access...
Google Drive folder or file not found. Please verify the folder ID.
Google Drive folder or file not found. Please verify the folder ID.
No files found to sync
No files found to sync
N file(s) were not added: they would pass your plan's page allowance. (SaaS)
N file(s) were not added: they would pass your plan's page allowance. (SaaS)
Failed to access Google Drive: ...
Failed to access Google Drive: ...