# Configuring HealthStream CredentialStream for Integration

This section describes the configurations that must be performed to support the following features:

## Aggregation of Custom Attributes

The HealthStream CredentialStream connector source supports aggregation of additional attributes from the following APIs:

- Demographics All
- Demographics Facilities
- Demographics Credentials
- Demographics Organization
- Demographics Specialties
- Screen Extender/Demographics

To add additional attributes, complete the following:

1. Add the attribute name in the Account schema.
2. Apply the appropriate JSON path query for the attribute on this page.

   For example:

   > **Screenshot**
   >
   > [![JSON Path Example](<https://documentation.sailpoint.com/connectors/healthstream_credentialstream/saas/help/img/json_path_example.png>)](<https://documentation.sailpoint.com/connectors/healthstream_credentialstream/saas/help/img/json_path_example.png>)

> [!NOTE]
>
> - Custom Attribute should not have same name as out of the box connector attribute
> - Out-of-the-box connector attribute will not be respected in JSON Path Mapping
> - For Screen Extender name of attribute should be in format `<attributename\>__Screen_Ext`

## Filter by Custom Criteria

HealthStream CredentialStream Connector also supports filtering based on custom attribute, to leverage this functionality perform the following steps:

1. Add the attribute name in the Account Schema.
2. Apply appropriate JSON path query for the attribute in the JSON Path Schema Mapping section

Specify the exclusion field and its corresponding values in the "Exclude Provider by Custom Criteria" field

> [!NOTE]
>
> **Screenshot**
>
> [![Filter by Custom Criteria](<https://documentation.sailpoint.com/connectors/healthstream_credentialstream/saas/help/img/filter_by_criteria.png>)](<https://documentation.sailpoint.com/connectors/healthstream_credentialstream/saas/help/img/filter_by_criteria.png>)

> [!NOTE]
>
> - Aggregation of records Based on Custom Criteria is only supported for the attribute that are part of Screen Extender/Demographics API
> - Null value is not supported as custom criteria
> - Multiple Attributes with corresponding values can be added, it will be considered as an OR logic between them i.e. Provider will be skipped if it satisfy any one of the conditions
