Box integrates with Slack in two ways:
- Box for Slack enables you to interact with your Box content from within Slack.
- Box File Picker enables you to import files from Box into Slack directly from the Slack application.
Box for Slack
The Box for Slack integration provides greater visibility and granular control into how Slack accesses and manages Box content and metadata. The Box for Slack integration enables you to access Box content from directly within the Slack client. This integration:
- displays file thumbnails and the file title for Box links shared in Slack;
- enables instant permissions – enables your account holders to grant extended permissions if everyone in a Slack channel or group does not have permission in Box to access content;
- enables creation of default instant permissions - enables your account holders to define the default adjustment of shared link settings for a shared Box file. With this option enabled and configured, when someone in a Slack conversation or channel does not have access to the shared Box file, Box automatically applies the default permissions defined by the account holder;
- enables slash commands (/box recents, /box favorites, /box search);
- provides granular control settings for Box admins;
- allows Box to be the content layer for Slack - you can also use Box as the Custom Files Store in Slack, where Box acts as the single content layer supporting all your conversations. See Box as the Content Layer for Slack to learn more;
- provides users with the Share with Slack option for files browsed and previewed from Box Web. See this article to learn more; and
- allows users to receive Box event notifications in Slack.
When a Box link is posted in Slack, the default setup is that basic file metadata (file name, thumbnail) and part of its textual representation are sent to Slack. With that, a rich content card can be opened, and Slack can index the file contents for its search purposes. As an admin, you can choose to opt out of these. Any content sent and viewable within the Slack interface is saved on Slack servers and follows Slack's channel permission model – not Box's file and folder permission model. The admin console enables you to control what content the Box for Slack integration shares through Slack.
Box File Picker
Box File Picker enables you to use Slack to import a file from Box with a Slack shortcut. This integration is owned by Slack, not Box.
To require people to store all content shared with Slack in Box, turn off native file uploads and sharing, or consider setting Box as the content layer for Slack. To do this, please contact feedback@slack.com or your designated Slack CSM.Installing the Box for Slack integration
You must enable this integration in two places:
- the Box admin console
- the Slack App directory
This integration is available only to Box Enterprise and above customers and users.
Part 1: Enabling Box for Slack in the Box admin console
- From your admin console, navigate to the Integrations tab. Scroll down to the Individual Integration Controls section and search for Slack.
- When the entry for Box for Slack displays, change the status to Available or Added by default.
- To change additional configuration settings, hover your pointer over the Box for Slack app and click Configure. For the best user experience, follow Steps 4-6.
- To see when a file is shared in a Slack channel, in File Preview in Box, toggle the Enable Box Activity Stream slider to On.
- To display a content card (file preview) of the first page of a Box file when shared, toggle the Enable file thumbnails slider to On.
- If you leave this toggle off, Slack displays the generic file type icon in place of a thumbnail image of the first page of the file.
Participants who join or are added to Slack channels can view that channel's previously added Box File Thumbnails as part of a Slack channel's history.
- To enable your Box account holders to join the Box for Slack integration without manually authorizing the app to access their Box account, under Admin Delegated Authorization select an enablement option. The Box account of an authorized Slack user is recognized based on either:
- the user's existing Box webapp session, or
- the user's allowlisted Slack Org/Workspace profile e-mail address.
- To enable Slack to index and store text content from shared Box files, toggle the Enable context indexing for Slack search slider to toggle On. This improves search accuracy when you search within Slack.
- If you leave this toggle off, Slack only indexes and stores the file name.
- To enable the Share with Slack option for files you browsed or previewed in Box Web, toggle the Share with Slack slider to On.
- For more robust security settings, enable Steps 10-11 (if applicable).
- To add an additional layer of security before displaying a content card (file preview) of a Box file when shared, toggle the Enforce additional permissions check before file display slider to On. The file preview will be available only if:
- everyone in the channel or group are authenticated into Box, and
- everyone in the channel can view/access the shared file.
- Optionally, restrict the integration to work only with specific Slack workspaces (that is, place certain domains on an allow list).
- To restrict the integration to specific Slack organizations, in the Restrict to specific Slack Enterprise Grid Org ID allowlist box, type your organization’s Slack Enterprise Grid Org IDs. This option is available only to Slack Enterprise Grid customers. Separate multiple IDs with commas.
- To restrict the integration to specific Slack workspace domains (such as acme.slack.com, acme-marketing.slack.com, and so on), in the Restrict to specific Slack workspaces allowlist box, type in the specific Slack domains. Separate multiple domains with commas.
-
To allow any Box for Slack integration to connect to your Box enterprise, leave clear the Restrict to specific Slack Enterprise Grid Org ID allowlist and Restrict to specific Slack workspaces allowlist options above.
- If you complete this option you connect one Box EID to one or more Slack enterprise organizations.
- Only people from these Slack enterprises can access your Box enterprise.
- Only people from these Slack domains can access your Box enterprise.
- When you’re done, click Save.
Part 2: Enabling Box for Slack in the Slack App directory
- Follow Slack’s standard instructions for enabling a third-party app in Slack for your workspace.
- Navigate to the Slack app store and search for “Box.” Then enable the integration.
- When you’re done, the option to add Slack becomes available to everyone for whom you’ve enabled the integration. When one person installs the integration in their workspace, the integration becomes available to everyone else in that workspace.
- Review Slack’s instructions for individual account holders to add Slack to their respective workspaces.
Part 3: Enabling Box AI for Slack
- From the admin console, go to Integrations, then scroll to Individual Integration Controls and search Box for Slack.
- Click Configure on Box for Slack.
- Toggle on for “Enable Box AI for Slack”
- To show “Ask Box AI” under a shared file, toggle on the option.
- Decide if your users can remove Box AI responses:
- Toggle on “Allow anyone to remove Box AI responses”.
- Enabling this setting will allow anyone within the organization on Slack Enterprise to remove the response.
- If not enabled, only enterprise admins can remove Box AI responses.
- Toggle on “Allow anyone to remove Box AI responses”.
- If applicable, add Organization IDs under Restrict Box AI features to specific Slack Enterprise Grid Org ID allowlist.
- If applicable, add workspace IDs under Restrict Box AI features to specific Slack workspace allowlist.
- Click Save.
Enabling Box AI in Slack’s AI App assistant view:
Once you have Box AI in Slack configured and enabled, you can additionally use Box for Slack as a Slack assistant app in a private chat window. To get started, follow this link to grant the Box app proper authorizations in Slack.
Keeping Box File Representation Up To Date in Slack
Add a predefined app in your enterprise setup to ensure any changes to a shared file’s name, thumbnail, or text contents are automatically reflected in Slack.
Slack Content Sync
To enable Slack content sync in your Box enterprise, you need to first ensure that your installation of Box for Slack is up to date. To do so:
- Log in as a Box Admin.
- Open https://account.box.com/app-api/slack-v2/install and complete the authorization process:
- Click Allow in the Slack app permission screen,
- Click Grant access to Box in the Box app permission screen.
- Add the Slack Content Sync Platform App:
- Open the Admin console,
- Go to Integrations > Platform Apps Manager,
- Select Add Platform App,
- Fill in all the required fields,
- Enter the following value in the Client ID field: 8axm246j2h6emlz59yttvv3wlfvoo2z7.
- Click Next and review the information.
- Click Authorize if all settings are correct.
Slack Content Sync now appears on the app list.
Next, navigate tohttps://account.box.com/app-api/slack-v2/install and start the authorization process:
- Click Allow in the Slack app permission screen.
- In the Box app permission screen, you should see the Manage skill rules scope added to your personal authorization. Only the Box admin account you use requires this additional scope.
- Click Grant access to Box.
You can now see below information in the Box app onboarding message (in the Messages tab of the Box app in Slack):
Slack content sync has been enabled. Box for Slack will keep Box file representation up to date when it changes in your enterprise.
Box for Slack starts monitoring for shared file updates within an hour. The file representation is kept up to date for 1 year since it is last posted in Slack.
Deactivate Content Sync
To deactivate the Content Sync feature, disable the platform app you authorized, and reauthorize Box for Slack.
Setting Box as Custom File Store for Slack
To learn more, see this article.
Turning on Box File Picker in Slack
To activate this feature, activate Box File Picker for Slack in Box Admin Console and also enable the Box File Picker app from the Slack app directory.