How is configured the Bandwidth for a UE?

How is configured the Bandwidth for a UE?

Question is for Bandwidth not for BWP.

Do you mean cell bandwidth?

Yes, whether UE will operate on 50 MHz or 100 MHz.

Cell bw UE get to know from sib1.