# Connecting SailPoint and Box SaaS

To connect SailPoint with Box, perform the following tasks:

## Adding the Source in SailPoint

To connect to SailPoint, perform the following steps. Once the connection is made, you can configure it to meet your company's needs.

> [!IMPORTANT]
>
> By default, the provisioning feature is **disabled**, and the connector only supports read-only operations. To support provisioning operations, you must manually enable the feature in the source configuration.

**To configure a new source:**

1. Sign in to SailPoint.
2. Go to **Admin \> Connections \> Sources**.
3. Select **Create New**.
4. Search for the connector by entering the name in the search box, and then select **Configure**.
5. In the **Source Name** field, enter a unique and descriptive name for your source. Source names cannot exceed 128 characters.
6. In the **Description** field, provide additional details about the source to help distinguish it from similar sources. This field allows a maximum of 2,000 characters.
7. In the **Source Owner** field, begin typing the name of an owner. Matches appear after you type two or more letters. For more information, refer to [Assigning a Source Owner](<https://documentation.sailpoint.com/saas/help/sources/index.html#assigning-a-source-owner>).
8. (Optional) Select a governance group to grant its members [source](<https://documentation.sailpoint.com/saas/help/common/users/user_levels.html#source-sub-admin-user-level>) or [role](<https://documentation.sailpoint.com/saas/help/common/users/user_levels.html#role-sub-admin-user-level>) sub-admin level oversight of the source and its access. For more information, refer to [Creating and Managing Governance Groups](<https://documentation.sailpoint.com/saas/help/common/users/governance_groups.html>).
9. If this source represents a primary system containing your organization's personnel records, select the **Authoritative Source** checkbox. For more information, refer to [Creating Identity Profiles](<https://documentation.sailpoint.com/saas/help/setup/identity_profiles.html>).
10. Select **Continue**. The source is created, and you are navigated to the **Source Setup \> Base Configuration** page. Continue to configure your connected source there.

## Base Configuration

Provide the base configuration parameters. Information you entered in the Create New Source dialog is automatically entered into the fields in the Base Configuration page. You can edit this information if necessary.

1. Enter a unique name and description for the source.
2. In the **Source Owner** dropdown list, select the identity that owns this source.

   - To find a source owner, begin entering their name.
3. (Optional) If enabled for your organization, select the **Use a Credential Provider** checkbox to manage the source's authentication using a credential provider.

   > **Note**
   >
   > To add a credential provider, go to **Admin \> Connections \> Credential Providers**. For more information about credential providers, refer to [Credential Providers](<https://documentation.sailpoint.com/connectors/help/credential_providers.html>).
4. Configure the authentication to allow SailPoint to connect to the source. Refer to [Connection Settings](<#connection-settings>) for more information.
5. (Optional) In the **Governance Group for Source Management** dropdown list, select a governance group to associate with this source. For more information about governance groups, refer to [Associating Governance Groups with a Source](<https://documentation.sailpoint.com/saas/help/common/users/governance_groups.html#associating-a-governance-group-with-a-source>).
6. (Optional) Choose whether to enable or disable provisioning for the source. Provisioning is disabled by default.

   - **Enable Provisioning** - Set the toggle to **Enabled** to allow the source to create, update, and deactivate accounts in the connected source system.
   - **Disable Provisioning** - Set the toggle to **Disabled** to disable provisioning for the source. Disabling provisioning will prevent the creation, updating, or deactivating of accounts on this source.
7. Select **Save**.

## Connection Settings

Provide the information required to connect and interact with the source. The Box SaaS connector supports the following authentication types:

- OAuth 2.0 with JWT Key Pair Authentication
- Client Credentials Grant

For more information on configuring this feature, refer to the [Prerequisites](<https://documentation.sailpoint.com/connectors/box/saas/help/index.html#authentication>) topic.

### Key Pair Authentication

> [!NOTE]
>
> **Screenshot**
>
> [![Key Pair Authentication](<https://documentation.sailpoint.com/connectors/box/saas/help/img/key_pair_auth.png>)](<https://documentation.sailpoint.com/connectors/box/saas/help/img/key_pair_auth.png>)

To configure connection settings, complete the following:

1. Select **Key Pair Authentication** as the **Authentication Type**.
2. Enter the Box **Enterprise ID** for a token specific to an enterprise.
3. Enter the Box **Public Key ID** generated by Box and provided upon submission of a Public Key.
4. Enter the **Client ID** and **Client Secret** for the source.
5. Enter the **Private Key** text used for encrypting the JWT assertion and the **Private Key Password** used to decrypt the private key.
6. Select **Save**.

### Client Credentials

> [!NOTE]
>
> **Screenshot**
>
> [![Client Credentials](<https://documentation.sailpoint.com/connectors/box/saas/help/img/cc.png>)](<https://documentation.sailpoint.com/connectors/box/saas/help/img/cc.png>)

To configure connection settings, complete the following:

1. Select **Client Credentials** as the **Authentication Type**.
2. Enter the Box **Enterprise ID** for a token specific to an enterprise.
3. Enter the **Client ID** and **Client Secret** for the source.
4. Select **Save**.

## Aggregation Settings

Configure settings related to aggregation.

For more information about aggregation, refer to [Loading Account Data](<https://documentation.sailpoint.com/saas/help/accounts/loading_data.html>).

> [!NOTE]
>
> **Screenshot**
>
> [![Aggregation Settings](<https://documentation.sailpoint.com/connectors/box/saas/help/img/aggregation_settings.png>)](<https://documentation.sailpoint.com/connectors/box/saas/help/img/aggregation_settings.png>)

To configure your aggregation settings, complete the following:

1. (Optional) Select **Delta Aggregation** to enable delta aggregation. Delta aggregation is based on the event type. For more information on event type, refer to [Enterprise Events](<https://developer.box.com/reference>). By default, the following event types are supported:

   - DELETE\_USER
   - NEW\_USER
   - EDIT\_USER
   - GROUP\_ADD\_USER
   - GROUP\_REMOVE\_USER

   To add another event type or remove ones from the above list, set the `deltaUserEventsList` attribute using the SailPoint REST API. For example, you could add `SAMPLE_EVENT_TYPE` to the list.

   > **Note**
   >
   > For more information on SailPoint's REST APIs, refer to [Best Practices: REST API Authentication](<https://developer.sailpoint.com/docs/api/authentication/>) and [REST API - Update Source (Partial)](<https://developer.sailpoint.com/docs/api/update-source-v-1/>) in the SailPoint Developer Community.
2. (Optional) Select **Disable Group Membership** to disable the fetching of group members during account aggregation.
3. (Optional) Enter the **Page Size** to specify the number of records returned per page. The default is 100.
4. Select **Save**.

## Activity Insights Settings

SailPoint pulls in activity data in the form of events like user logins, password changes, and content updates within the application. You can view an identity’s activity data within an application to discover trends for that user.

> [!IMPORTANT]
>
> Contact your SailPoint Customer Success Manager (CSM) for more information on Activity Insights. For more information on utilizing activity data, refer to [Activity Insights](<https://documentation.sailpoint.com/saas/help/ai/activity_insights/index.html>).

Activity Insights Settings allows you to gather account information and activity data from Box. To enable Activity Insights for the Box application, refer to [Prerequisites](<https://documentation.sailpoint.com/connectors/box/saas/help/index.html#prerequisites>) for more information.

To configure Activity Insights, complete the following:

> [!NOTE]
>
> **Screenshot**
>
> [![Activity Insights Settings](<https://documentation.sailpoint.com/connectors/box/saas/help/common/assets/img/activity_insights.png>)](<https://documentation.sailpoint.com/connectors/box/saas/help/common/assets/img/activity_insights.png>)

1. Go to **Activity Insights Settings**.
2. Select **Enable Activity Insights** to view access to data insights on source and application activity such as logins and other app-specific events.
3. Select **Save**.

## Review and Test

Perform a test to confirm the connection to SailPoint.

1. Go to **Review and Test**.
2. Confirm that the entries in each field are correct.

   If you note any mistakes, return to the section and make corrections.
3. Select **Test Connection**.

## SailPoint Application Onboarding

SailPoint application onboarding enables you to easily onboard new applications and create sources following the successful onboarding of a discovery source. To use this feature, continue to **Discovered Applications** in the SailPoint user interface.

For more information, refer to [Application Onboarding](<https://documentation.sailpoint.com/saas/help/ai/app_onboarding/index.html>) in the SailPoint SaaS documentation.
