View a markdown version of this page

Box - Amazon Bedrock

Box

Box is a cloud content management and file sharing service for storing, sharing, and collaborating on files and folders. You can connect your Box enterprise as a data source for your managed knowledge base to crawl files and folders.

Supported features

  • Crawl files and folders

  • Automatic detection of common document fields (such as title, author, and created or modified dates)

  • Inclusion content filters for specific files and folders (OAuth 2.0 authentication)

  • Maximum file size filtering

  • Incremental content syncs for added, updated, and deleted content

  • Client Credentials Grant (2LO) and OAuth 2.0 (3LO) authentication

  • Document-level access control (ACLs), with Client Credentials Grant authentication

Authentication methods

A Box data source supports two authentication methods. Choose one before you begin, because it determines the credentials you create and whether you can use document-level access control. We recommend Client Credentials Grant authentication for new data sources.

Box authentication methods
Method How it authenticates When to use Setup
Client Credentials Grant (CCG) — recommended The connector authenticates as a Box app using the Client Credentials Grant (2LO) flow, with enterprise-wide access. No user sign-in. Crawling content across your Box enterprise, and any data source that uses document-level access control. Set up Client Credentials Grant authentication
OAuth 2.0 (OAUTH2) The connector authenticates as a Box app on behalf of a specific user (3LO), and crawls the content that user can access. Crawling content for a specific user. Not supported with document-level access control. Set up OAuth 2.0 authentication

Prerequisites

In Box, make sure you:

In your AWS account, make sure you:

How to set up a Box data source

Setting up a Box data source involves the following steps:

  1. Set up authentication. Follow the page for your chosen method to create the Box app credentials and store them in AWS: Set up Client Credentials Grant authentication for Box or Set up OAuth 2.0 authentication for Box.

  2. Connect the data source. Create the Box data source in the knowledge base using the AWS Management Console or the API. See Connect a Box data source.

  3. (Optional) Enable document-level access control. Filter query results by each user's Box permissions. Requires Client Credentials Grant authentication. See Document-level access controls.