How to skin a mesh for the switch bones used on UE5

Hello everyone, I’m a student using UE5 for my last school project and I have to skin my character with UE bones.

I’ve already exported the skeleton from UE to Maya in order to link it to the character, but when I get to the skinning part, well… I don’t know how to correctly skin the twist bones for the arms and the legs.

Could someone who knows how to skin properly help me?