I’m assuming you’re adding the widget in a blueprint’s components list?
If so, drag it onto the skeletal mesh to attach it to the mesh, then from the details panel click the magnifying glass next to the Parent Bone textbox to choose which bone to attach it to, then adjust the location and rotation of the widget component.