Add or Edit a Source
- Amazon S3 Source
- Box (Personal) Source
- Box Business V2 Source
- Box Business Legacy Source
- Confluence Cloud Source
- Confluence Legacy Source
- Confluence Self-Hosted Source
- Database Source
- Dropbox (Personal) Source
- Dropbox Business Source
- Exchange Enterprise Source
- Exchange Online (Personal) Source
- File System Source
- Generic REST API Source
- Gmail for Work Source
- Gmail (Personal) Source
- Google Drive (Personal) Source
- Google Drive for Work Source
- Jira Software Cloud Source
- Jira Software Self-Hosted Source
- Jive Cloud Source
- Jive Server Source
- Lithium Source
- Microsoft Dynamics 365 Source
- OneDrive for Business Source
- Push Source
- RSS Source
- Salesforce Source
- ServiceNow Source
- SharePoint Online Source
- SharePoint Online Legacy Source
- SharePoint Server Source
- Sitecore Source
- Sitemap Source
- Twitter Source
- Web Source
- YouTube Source
- Zendesk Source
Add or Edit a Google Drive Source
Google Drive is a cloud-based file storage and synchronization service designed to store, share, and edit files with colleagues. When you have the required privileges, you can add the content of a personal Google Drive account to your Coveo organization. Coveo Cloud indexes your Google Drive files to make them searchable only by you, the source creator. By default, your personal Google Drive source starts a refresh every 15 minutes to index Google Drive file changes (additions, modifications, or deletions).
Members with the required privileges could use the View all content option in the Content Browser, edit and rebuild your source, or set your content security to Shared to see your personal Google Drive content (see Browse All the Content of Your Organization Index and Content Security). Also, setting your content security to Shared allows any user (authenticated or not) that can access your search interface to see the source content. It is thus recommended to only create personal Google Drive sources for Google Drives that contain no sensitive data.
When you create the source, you authorize the Coveo organization to read your Google account using OAuth 2.0, a protocol that authorizes access without giving your password.
You can always revoke the Coveo organization OAuth 2.0 authorization (
Coveo Cloud Platform) from your Google account (see the Google item Revoke third-party access to your account information).
Source Features Summary
|Google Drive version||Latest cloud version||Following available Google Drive releases|
|Searchable content type||Files|
Perform OAuth Protocol With Another Google Account
When you want to create a source using a Google account that is not in your company’s domain or simply not the account you are currently signed in with:
By default, the source content will be available only to you, the source creator.
In the Add a Source of Searchable Content panel (main menu, under Content, select Sources > Add Source button), click Google Drive, and then Google Drive (personal).
In the Request for Permission dialog that appears, in the top right corner, click the drop-down menu, and then click Add Account.
In the Sign In dialog, enter the email and password of the user whose Google Drive content you want to make searchable.
Back in the Request for Permission dialog, click Allow.
Add or Edit a Google Drive Personal Source
Ensure you are signed in with a Google account that is from the same domain as the Google Drive content you want to include (see Perform OAuth Protocol With Another Google Account).
If not already in the Add/Edit a Google Drive Source panel, go to the panel:
To add a source, in the main menu, under Content, select Sources > Add Source button > Google Drive, and then Google Drive (personal).
To edit a source, in the main menu, under Content, select Sources > source row > Edit in the Action bar.
In the Configuration tab, enter appropriate values for available parameters:
A descriptive name for your source under 255 characters (not already in use for another source in this organization).
User email (non-editable text area)
The email of the user whose Google Drive you want to make searchable and with which you performed the OAuth 2.0 protocol the first time.
In the Content to Include section, consider selecting the following options:
Select this option checkbox when you want to include custom properties that Google applications or your custom applications added on items.
Including custom properties significantly increases communication traffic between the source and the Google Drive. This, in turn, significantly increases crawling time.
Select this option checkbox when you want to include the items in the chosen Google Drive trash.
- In the Access tab, determine whether each group and API key can view or edit the source configuration (see Understanding Resource Access):
- In the Access Level column, select View or Edit for each available group.
- On the left-hand side of the tab, if available, click Groups or API Keys to switch lists.
If you remove the Edit access level from all the groups of which you are a member, you will not be able to edit the source again after saving. Only administrators and members of other groups that have Edit access on this resource will be able to do so. To keep your ability to edit this resource, you must grant the Edit access level to at least one of your groups.
Optionally, consider editing or adding mappings (see Manage Source Mappings).
You can only manage mapping rules once you build the source (see Add or Edit a Source).
Complete your source addition or edition:
Click Add Source/Save when you want to save your source configuration changes without starting a build/rebuild, such as when you know that you want to do other changes soon.
In the Sources page, you must click Start initial build or Start required rebuild in the source Status column to add the source content or make your changes effective, respectively.
Click Add and Build Source/Save and Rebuild Source when you are done editing the source and want to make changes effective.
Once the source is built or rebuilt, you can review its content in the content browser (see Inspect Items With the Content Browser).
Review the default refresh schedule in which a source refresh starts every 15 minutes (see Edit a Source Schedule).