Simply call Dogmeat over, initiate a trade and give him the dog-friendly items. Then press the corresponding button to equip him with a piece of armor (Triangle on PS4, Y on Xbox One, and T on PC) just like you would do on any other companion