Plastic electrical cable bushing protects the wire from the sharp edges of metal studs Home centers and electrical suppliers carry the special electrical boxes and parts used with steel framing.
However, the connections must be made within an approved electrical box. If the wires emerge alongside a stud or other framing member, you can screw a metal box directly to the stud. However ...