File Search Box Configuration
Note: File Search requires User Ingestions to map Box user profiles to Moveworks user profiles, and mirror your Box access controls (ACLs). If User Ingestion has not been set up previously, or if this is your first time integrating Box with Moveworks, please contact your Customer Success team for assistance with configuration.
1. Create Box App and Grant Scopes
Creating an app
-
Log in to https://cloud.app.box.com/developers/console.
-
Select Create New App.
-
Select Custom App.
The reason for Selecting Custom App is as follows:- Per Box docs, Limited Access Apps can only use a handful of endpoints, which do not include all the endpoints we require.
- Per Box docs, Custom Apps provides the flexibility necessary for Moveworks to provide File Search and enforce your source Box permissions.
-
Name your application under App Name, i.e. “Moveworks”.
-
In the Description field, select “Integration" (or another field of preference).
-
Select Next.
-
Under Purpose, select “Integration” (or another field of preference).
-
Under Categories, select “Productivity” (or another field of preference).
Select Auth Method, and Create app
-
Select “Server Authentication (Client Credentials Grant).
-
The Server Authentication Auth method provides the best and most secure option:
-
File Search functions via server-side operations to ingest your files and your source file ACL permissions.
-
Ensuring server to server interactions without exposing user credentials.
-
Simplifies credential management, as only a single set of credentials (client ID and secret) are used for authentication.
-
-
Grant Moveworks the necessary scopes for your App
-
Go to the Configuration Tab for your App.
-
Select App + Enterprise Access.
-
We need App + Enterprise access because we need to be able to ingest all of your organizations’ User profiles – these User profiles are essential for enforcing ACL permissions in our File Search product, and our validations that users can never access files they don’t have access to via File Search.
-
-
Continue below on the configuration page, and select the below Application Scopes:
- “Read all files and folders stored in Box”
- “Write all files and folders stored in Box”
- Write file access, like suggested in the screenshot, is required to download files.
- “Manage users”
- Manage users is to get list of users for identity mapping from Moveworks to Box.
- “Manage groups”
- Group ingestion is used to enforce permissions when they are granted access to certain internal groups, and allows us to map access to the users within those groups.
Retrieve the Client ID, Client Secret, and Enterprise ID
After this stage, you should have retrieved the Client ID, Client Secret, and Enterprise ID, and forwarded to your representative at Moveworks.
-
Scroll to the OAuth 2.0 Credentials Section.
-
Select your Client ID, and and save it for yourself – you’ll need this later.
-
Select Fetch Client Secret, and and save it for yourself – you’ll need this later.
-
-
Go to the General Settings Tab.
-
Scroll down to Enterprise ID, and save it for yourself – you’ll need this later.
-
Authorize your App
-
Review and Submit your app for Authorization, by navigating to the Authorization Tab.
-
Select Review and Submit.
-
Accept the request by navigating here: https://app.box.com/master/custom-apps.
- In our image below it is “Reauthorize App”, but you should see an option that says “Authorize app” – select Authorize App.
Share Folders with the Authorized App created for Moveworks
-
Go to your Folders in Box, and open the Share button of your desired Box Folders
-
Grab the Service Account ID email for the App, which can be found in the General Settings tab for the app you created
(Optional) Send credentials to your Customer Success partners
If you do not yet have access to Moveworks Setup to Self-Serve your File Search ingestions, please forward the following information to your Customer Success partners:
- Your saved credentials: Enterprise ID, Client ID, and Client Secret
- The URLs of the folders for which you have shared access and wish to ingest
Your Customer Success partners can configure the rest of your setup for you afterwards.
2. Create Connector in Moveworks Setup (Coming Soon)
Coming soon, you will be able to self-serve your File Ingestions via Moveworks Setup. Until then, your Customer Success team will configure your File Ingestions, using the credentials you provided in previous steps.Alternatively, if you have access to Moveworks Setup, you can also Self-Serve
If you have not created a Box connector with the Enterprise ID, Client ID, and Client Secret that you have saved for the Application we just created, you will now create a Connector for ingesting Files from your Box folders:
- Log into your Moveworks Self-Serve Admin Portal.
- Go to the System Connectors Tab.
- Select Create New.
- Select Box.
- Input a Connection Name, Enterprise ID, Client ID, and Client Secret.
- Hit Save.
3. (Self-Serve Path) Configure File Ingestion Steps in Moveworks Setup
You can now configure your File Ingestion using the Connector you’ve created!
- Navigate to the Enterprise Search → Answers → File Ingestion.
- Select the Box Connector and provide a Name your File ingestion config.
- Continue to the Ingestion Details page and Specify each Folder, using the Folder IDs.
- Please double check that each Folder has been shared access with the Custom App that you have built for Moveworks.
- Please double check that you have entered each Folder ID correctly.
- For example, if the Share link for your Box folder is: https://<>.app.box.com/folder/123, input 123 into the Start Folder IDs field.
- 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.
- Save the File Ingestions.
4. Launch File Search to your employees (if not already)
- Refer back to the main File Search Self-Serve guide: File Search Self-Serve Configuration.
Updated 3 months ago