To apply an optimisation profile to a skeletal mesh you just need to use the node "ApplySkeletalOptimisationProfile".
void AHellscapeBaseCharacter::BeginPlay()
{
USkeletalRateOptimisationLibrary::ApplySkeletalOptimisationProfile(GetMesh(), "Character");
Super::BeginPlay();
}