I think I would attach the press stud first, and then the button as it will be easier less difficult to manipulate the sewing thread around the press stud, and will need to be sewn by hand.
Make sure the press studs are strong enough, ie big enough, to do the job and then choose flat buttons