

# AssociateContactToCustomerProfile
<a name="interactions-associatecontacttocustomerprofile"></a>

Associate a contact to a customer profile. Customer Profiles must be enabled for your Amazon Connect instance.

See [AddProfileKey](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_AddProfileKey.html) in the *Amazon Connect Customer Profiles API Reference*.

## Parameter object
<a name="associatecontacttocustomerprofile-parameter"></a>

A `ProfileId` and `ContactId` must be present.

```
{
    "ProfileRequestData": {
        "ProfileId": Profile being associated
        "ContactId": ContactId being associated
    },
   "ProfileResponseData": {
       None.
   }
}
```

## Results and conditions
<a name="associatecontacttocustomerprofile-results"></a>

None. Conditions are not supported.

## Errors
<a name="associatecontacttocustomerprofile-errors"></a>
+ NoMatchingError - if no other Error matches.

## Corresponding block in the UI
<a name="associatecontacttocustomerprofile-ui"></a>

[Customer profiles block](https://docs.aws.amazon.com/connect/latest/adminguide/customer-profiles-block.html) 