Home
Home
German Version
Support
Impressum
25.2 Release ►

Start Chat with Collection

    Main Navigation

    • Preparation
      • Connectors
      • Create an InSpire VM on Hyper-V
      • Initial Startup for G7 appliances
      • Setup InSpire G7 primary and Standby Appliances
    • Datasources
      • Configuration - Atlassian Confluence Connector
      • Configuration - Best Bets Connector
      • Configuration - Box Connector
      • Configuration - COYO Connector
      • Configuration - Data Integration Connector
      • Configuration - Documentum Connector
      • Configuration - Dropbox Connector
      • Configuration - Egnyte Connector
      • Configuration - GitHub Connector
      • Configuration - Google Drive Connector
      • Configuration - GSA Adapter Service
      • Configuration - HL7 Connector
      • Configuration - IBM Connections Connector
      • Configuration - IBM Lotus Connector
      • Configuration - Jira Connector
      • Configuration - JVM Launcher Service
      • Configuration - LDAP Connector
      • Configuration - Microsoft Azure Principal Resolution Service
      • Configuration - Microsoft Dynamics CRM Connector
      • Configuration - Microsoft Exchange Connector
      • Configuration - Microsoft File Connector (Legacy)
      • Configuration - Microsoft File Connector
      • Configuration - Microsoft Graph Connector
      • Configuration - Microsoft Loop Connector
      • Configuration - Microsoft Project Connector
      • Configuration - Microsoft SharePoint Connector
      • Configuration - Microsoft SharePoint Online Connector
      • Configuration - Microsoft Stream Connector
      • Configuration - Microsoft Teams Connector
      • Configuration - Salesforce Connector
      • Configuration - SCIM Principal Resolution Service
      • Configuration - SemanticWeb Connector
      • Configuration - ServiceNow Connector
      • Configuration - Web Connector
      • Configuration - Yammer Connector
      • Data Integration Guide with SQL Database by Example
      • Indexing user-specific properties (Documentum)
      • Installation & Configuration - Atlassian Confluence Sitemap Generator Add-On
      • Installation & Configuration - Caching Principal Resolution Service
      • Installation & Configuration - Mindbreeze InSpire Insight Apps in Microsoft SharePoint On-Prem
      • Mindbreeze InSpire Insight Apps in Microsoft SharePoint Online
      • Mindbreeze Web Parts for Microsoft SharePoint
      • User Defined Properties (SharePoint 2013 Connector)
      • Whitepaper - Mindbreeze InSpire Insight Apps in Salesforce
      • Whitepaper - Web Connector - Setting Up Advanced Javascript Usecases
    • Configuration
      • CAS_Authentication
      • Configuration - Alerts
      • Configuration - Alternative Search Suggestions and Automatic Search Expansion
      • Configuration - Back-End Credentials
      • Configuration - Chinese Tokenization Plugin (Jieba)
      • Configuration - CJK Tokenizer Plugin
      • Configuration - Collected Results
      • Configuration - CSV Metadata Mapping Item Transformation Service
      • Configuration - Entity Recognition
      • Configuration - Exporting Results
      • Configuration - External Query Service
      • Configuration - Filter Plugins
      • Configuration - GSA Late Binding Authentication
      • Configuration - Identity Conversion Service - Replacement Conversion
      • Configuration - InceptionImageFilter
      • Configuration - Index-Servlets
      • Configuration - InSpire AI Chat and Insight Services for Retrieval Augmented Generation
      • Configuration - Item Property Generator
      • Configuration - Japanese Language Tokenizer
      • Configuration - Kerberos Authentication
      • Configuration - Management Center Menu
      • Configuration - Metadata Enrichment
      • Configuration - Metadata Reference Builder Plugin
      • Configuration - Mindbreeze Proxy Environment (Remote Connector)
      • Configuration - Personalized Relevance
      • Configuration - Plugin Installation
      • Configuration - Principal Validation Plugin
      • Configuration - Profile
      • Configuration - Reporting Query Logs
      • Configuration - Reporting Query Performance Tests
      • Configuration - Request Header Session Authentication
      • Configuration - Shared Configuration (Windows)
      • Configuration - Vocabularies for Synonyms and Suggest
      • Configuration of Thumbnail Images
      • Cookie-Authentication
      • Documentation - Mindbreeze InSpire
      • I18n Item Transformation
      • Installation & Configuration - Outlook Add-In
      • Installation - GSA Base Configuration Package
      • JWT Authentication
      • Language detection - LanguageDetector Plugin
      • Mindbreeze Personalization
      • Mindbreeze Property Expression Language
      • Mindbreeze Query Expression Transformation
      • SAML-based Authentication
      • Trusted Peer Authentication for Mindbreeze InSpire
      • Using the InSpire Snapshot for Development in a CI_CD Scenario
      • Whitepaper - AI Chat
      • Whitepaper - Create a Google Compute Cloud Virtual Machine InSpire Appliance
      • Whitepaper - Create a Microsoft Azure Virtual Machine InSpire Appliance
      • Whitepaper - Create AWS 10M InSpire Appliance
      • Whitepaper - Create AWS 1M InSpire Appliance
      • Whitepaper - Create AWS 2M InSpire Appliance
      • Whitepaper - Create Oracle Cloud 10M InSpire Application
      • Whitepaper - Create Oracle Cloud 1M InSpire Application
      • Whitepaper - MMC_ Services
      • Whitepaper - Natural Language Question Answering (NLQA)
      • Whitepaper - SSO with Microsoft AAD or AD FS
      • Whitepaper - Text Classification Insight Services
    • Operations
      • Adjusting the InSpire Host OpenSSH Settings - Set LoginGraceTime to 0 (Mitigation for CVE-2024-6387)
      • app.telemetry Statistics Regarding Search Queries
      • CIS Level 2 Hardening - Setting SELinux to Enforcing mode
      • Configuration - app.telemetry dashboards for usage analysis
      • Configuration - Usage Analysis
      • Deletion of Hard Disks
      • Handbook - Backup & Restore
      • Handbook - Command Line Tools
      • Handbook - Distributed Operation (G7)
      • Handbook - Filemanager
      • Handbook - Indexing and Search Logs
      • Handbook - Updates and Downgrades
      • Index Operating Concepts
      • Inspire Diagnostics and Resource Monitoring
      • Provision of app.telemetry Information on G7 Appliances via SNMPv3
      • Restoring to As-Delivered Condition
      • Whitepaper - Administration of Insight Services for Retrieval Augmented Generation
    • User Manual
      • Browser Extension
      • Cheat Sheet
      • iOS App
      • Keyboard Operation
    • SDK
      • api.chat.v1beta.generate Interface Description
      • api.v2.alertstrigger Interface Description
      • api.v2.export Interface Description
      • api.v2.personalization Interface Description
      • api.v2.search Interface Description
      • api.v2.suggest Interface Description
      • api.v3.admin.SnapshotService Interface Description
      • Debugging (Eclipse)
      • Developing an API V2 search request response transformer
      • Developing Item Transformation and Post Filter Plugins with the Mindbreeze SDK
      • Development of a Query Expression Transformer
      • Development of Insight Apps
      • Embedding the Insight App Designer
      • Java API Interface Description
      • OpenAPI Interface Description
    • Release Notes
      • Release Notes 20.1 Release - Mindbreeze InSpire
      • Release Notes 20.2 Release - Mindbreeze InSpire
      • Release Notes 20.3 Release - Mindbreeze InSpire
      • Release Notes 20.4 Release - Mindbreeze InSpire
      • Release Notes 20.5 Release - Mindbreeze InSpire
      • Release Notes 21.1 Release - Mindbreeze InSpire
      • Release Notes 21.2 Release - Mindbreeze InSpire
      • Release Notes 21.3 Release - Mindbreeze InSpire
      • Release Notes 22.1 Release - Mindbreeze InSpire
      • Release Notes 22.2 Release - Mindbreeze InSpire
      • Release Notes 22.3 Release - Mindbreeze InSpire
      • Release Notes 23.1 Release - Mindbreeze InSpire
      • Release Notes 23.2 Release - Mindbreeze InSpire
      • Release Notes 23.3 Release - Mindbreeze InSpire
      • Release Notes 23.4 Release - Mindbreeze InSpire
      • Release Notes 23.5 Release - Mindbreeze InSpire
      • Release Notes 23.6 Release - Mindbreeze InSpire
      • Release Notes 23.7 Release - Mindbreeze InSpire
      • Release Notes 24.1 Release - Mindbreeze InSpire
      • Release Notes 24.2 Release - Mindbreeze InSpire
      • Release Notes 24.3 Release - Mindbreeze InSpire
      • Release Notes 24.4 Release - Mindbreeze InSpire
      • Release Notes 24.5 Release - Mindbreeze InSpire
      • Release Notes 24.6 Release - Mindbreeze InSpire
      • Release Notes 24.7 Release - Mindbreeze InSpire
      • Release Notes 24.8 Release - Mindbreeze InSpire
      • Release Notes 25.1 Release - Mindbreeze InSpire
      • Release Notes 25.2 Release - Mindbreeze InSpire
    • Security
      • Known Vulnerablities
    • Product Information
      • Product Information - Mindbreeze InSpire - Standby
      • Product Information - Mindbreeze InSpire
    Home

    Path

    Sure, you can handle it. But should you?
    Let our experts manage the tech maintenance while you focus on your business.
    See Consulting Packages

    Installation and Configuration
    Box Connector


    IntroductionPermanent link for this heading

    Using the Box Connector, files and folders from Box can be indexed with their metadata.

    Configuring BoxPermanent link for this heading

    • To index Box, the Box Crawler requires an app and a user with permissions to all Box content to be indexed.

    Creating the appPermanent link for this heading

    You can create a new app in the Box Dev Console. To do this, click Create New App under My Apps and select Custom App. For Authentication Method, select Server Authentication (Client Credentials Grant) and give the app a name. Then click “Create App” to create the app.

    In the Configuration area of the created app you can then view and retrieve the Client ID and the Client Secret. These are needed for the option "OAuth Credential" in the MMC.

    Using JWT Server AuthenticationPermanent link for this heading

    For enhanced security, you can also select “Server Authentication (with JWT)” when creating the custom App.

    When using “Server Authentication (with JWT)” additionally to all the other steps, you will need to either generate a Public/Private Keypair or upload a public RSA Key. When generating a Keypair, it is important to save the (encrypted) private key as well as the encryption passphrase, since Box won’t store these and you need them for the Mindbreeze InSpire configuration.

    Also note down the Client ID and Client Secret, since they are also required for the authentication.

    Scopes and PermissionsPermanent link for this heading

    In addition, the "App Access Level" and "Application Scopes" options must be set in the Configuration area. The Box Crawler requires App + Enterprise Access and the following “Application Scopes”:

    • Read all files and folders stored in Box
    • Write all files and folders stored in Box (Note: This is required to download file content. See Box API Documentation. Mindbreeze Connector will never modify, delete or upload files)
    • Manage users (Note: This is required to download user permissions. See Box API Documentation. Mindbreeze Connector will never modify, delete or create users)
    • Manage groups (Note: This is required to download group permissions. See Box API Documentation. Mindbreeze Connector will never modify, delete or create groups)

    In addition, the option "Make API calls using the as-user header" must be activated in the "Advanced Features".

    Authorizing the AppPermanent link for this heading

    After that you can click on "Review and Submit" in the Authorization section of the app so that the app can be approved by the admin. The authorization can be done in the Admin Console under the tab Apps -> Custom Apps Manager.

    Configuring MindbreezePermanent link for this heading

    Open the Mindbreeze Management Center in the browser to start configuration.

    Index configurationPermanent link for this heading

    In the Indices tab, add a new index using the +Add Index button. Select the desired Index Node and Client Service and specify the data source Box in the Data Source field. Then confirm your entries with the Apply button.

    Configuring the data sourcePermanent link for this heading

    Now configure the data source.

    Legend:

    • Properties marked with *: mandatory field, these must be configured explicitly
    • Properties not specially marked: optional fields
    • Fields marked with (Advanced Settings) are only displayed if the "Advanced Settings" view is enabled in the configuration. This is only necessary in special use cases.

    Connection SettingsPermanent link for this heading

    Enterprise Id*

    The Enterprise ID of your Box instance. You can find it in the Box Admin Console under "Account & Billing". Alternatively, you can go to https://www.box.com/master/settings and log in as Enterprise Admin.

    Box URL*

    The URL of your box instance, e.g. https://myorganization.app.box.com/

    OAuth Credential*

    The OAuth 2 credential created in the Network tab.
    The following must be configured for this:

    In tab Network:

    Name

    The name of this credential to be displayed.

    Client ID

    The Client ID of the created app.

    Client Secret

    The generated Client Secret of the created app.

    Private Key File Path

    A path pointing to a .pem file on the InSpire machine containing the private key needed for JWT authentication.


    This has to be specified, when “Server Authentication (with JWT)” was selected, while the Box Custom App was set up.

    Private Key Decryption Password

    The credential type “Password” created in the “Network” tab used to decrypt the private key.


    This only has to be specified, if the private key is encrypted. The following must be configured for this:

    In the Network tab (Section “Credentials”):

    Name

    The name of this credential to be displayed.

    Type

    Password

    Password

    The encryption passphrase which was used to encrypt the private key.

    Page Size
    (Advanced Setting)

    The maximum number of elements that are fetched per API request. If this is increased, fewer requests may need to be made to the API, but it may result in increased memory usage.

    The maximum number is 1000.

    Log All Requests
    (Advanced Setting)

    If enabled, all requests to the Box API are written to a "request-log.csv" file.

    Crawler SettingsPermanent link for this heading

    User Emails*

    E-mail addresses of the users whose content is to be indexed.

    All content to which the specified users have access is indexed.

    If you want to have precise control over which content is indexed by the crawler, you can create a separate user who can see all the content to be indexed. More on this in the chapter Creating a crawling user.

    Excluded Files/Folders (regex)

    If this option is configured, those files and directories that match the specified pattern (Regular Expression) will be ignored.

    The regex is applied to the full path, e.g. Parentfolder/Childfolder/MyFile.docx

    Excludes have higher priority than includes (i.e. if a document is both included and excluded, it will not be indexed).

    Maximum File Size (MB)
    (Advanced Setting)

    The maximum size of files (in MB) whose content is to be indexed. If a file exceeds this size, it will be indexed without the file content and only with the metadata.

    Index Only Files
    (Advanced Setting)

    If enabled, folders are not indexed as documents.

    Fetch Custom Metadata
    (Advanced Setting)

    If enabled, the custom metadata is additionally fetched for all files and folders. If you do not use these, you should disable this option to speed up the crawl run.

    Included Files/Folders (regex)
    (Advanced Setting)

    If this option is configured, only those files and directories are indexed which match the specified pattern (Regular Expression).

    The regex is applied to the full path, e.g. Parentfolder/Childfolder/MyFile.docx

    If this option is left empty, everything will be included.

    Excludes have higher priority than includes (i.e. if a document is both included and excluded, it will not be indexed).

    Configuring the principal resolution servicePermanent link for this heading

    In the new or existing service, select the Box Principal Resolution Service option in the Service setting. For more information about additional configuration options and how to create a cache and how to do the basic configuration of a cache for a Principal Resolution Service, see Installation & Configuration - Caching Principal Resolution Service.

    Connection SettingsPermanent link for this heading

    These configuration options are described in the chapter Crawler Settings.

    AppendixPermanent link for this heading

    Creating a crawling userPermanent link for this heading

    If you want to have precise control over which content is indexed by the crawler, you can create a separate user who can see all the content to be indexed.

    A new user can be created in the Admin Console in the menu item Users & Groups.
    To give this user access to all folders that are to be indexed, there are two options:

    • You add the user directly under "Select folders this user can access" to the desired folders to which he should have access rights.
      For this, the corresponding column "Access Level" must be set to "Viewer".
    • You add the user to the desired groups under "Select groups this user is in:" that have access rights to specific folders.
      For this, the corresponding column "Access Level" must be set to "Member".

    This user must then also be activated via a login so that it can be used by the Box crawler.

    TroubleshootingPermanent link for this heading

    Error: Invalid Grant - Current date/time MUST be before the expiration date/time listed in the 'exp' claimPermanent link for this heading

    When authenticating against a box app using “Server Authentication (with JWT)” your InSpire machine has to have the current time configured. When you are seeing this error, your machine is likely behind in time. It is best to configure a NTP for this – see the documentation here.

    Download PDF

    • Configuration - Box Connector

    Content

    • Introduction
    • Configuring Box
    • Configuring Mindbreeze
    • Appendix

    Download PDF

    • Configuration - Box Connector