***

title: How to Configure Google Drive File Search
position: 2
excerpt:  Google Drive Setup Guide: Service Account with Custom Admin Role
deprecated: false
hidden: false
---------------------

For clean Markdown of any page, append .md to the page URL. For a complete documentation index, see https://help.moveworks.com/ai-assistant/enterprise-search/configure-search/configure-files/llms.txt. For full documentation content, see https://help.moveworks.com/ai-assistant/enterprise-search/configure-search/configure-files/llms-full.txt.

<Callout intent="info">
  Prerequisites

  * Ensure you've followed the steps in the
    [Google Drive Access Requirements](/service-management/access-requirements/knowledge-base-systems/google-drive-access-requirements)
    guide to configure the Google Drive Connector in Moveworks Setup.
</Callout>

### 1. Add Google Drive as an Identity Source in User Ingestion

1. Navigate to the **User Identity** module within Moveworks Setup and click 'import users'
2. Under 'Select sources to ingest employees' add Google Drive to the list of sources using the **Google Drive connector** your created in step 1 above to import the users google drive details.
3. Click **next** to advance to the next page where you will see Google Drive under **Configure selected sources**. Click the **pencil** next to the Google Drive source and then select **Gdrive Source Filter**.  You will then need to input the **Customer ID** that you previously saved into the **Google Workspace Customer ID** field.
4. Click **next** to advance to the **Set join key** page and select the appropriate field to merge the google drive record data with the data from other sources. This will typically be **primaryEmail**.

### 2.  Configure File Ingestion

*Note, if user ingestion has not been set up previously, please follow this guide on[How To Configure File Search](/ai-assistant/moveworks-classic/search/file-search/file-search-self-serve-configuration#/)*

1. In the MW Setup, go to the **Answers > Ingestions > File Knowledge Screen.**
2. Select the **Google Drive Connector** and ***provide a Name***\* your File ingestion config
3. Continue to the **Ingestion Details page** and **Specify each Folder**, using the Folder IDs
   1. Copy and paste Folder IDs in the following manner:
      1. If the URL of your Google Drive folder is \<[https://drive.google.com/drive/folders/FOLDERID](https://drive.google.com/drive/folders/FOLDERID), then input the FOLDERID
   2. You can assign a Domain to each Folder, i.e IT, HR, Finance, etc.– this Domain is used for tagging in Analytics, enabling you to filter Search usage for each of your domains
4. Select **Use Google Drive connector Only**, as this is the only connector needed for reading both files and permissions (users and groups).
5. **Save** the File Ingestion

### 3. Launch File Search to your employees (if not already)

1. Refer back to the main File Search Self-Serve guide: [File Search Self-Serve – Configuration Guide](/ai-assistant/moveworks-classic/search/file-search/file-search-self-serve-configuration).

<br />