You need to Immigration center in Gharafa they will do it. You need to pay some fees. But your wife need to have valid visa & she should be reaching Qatar within 14 Days of taking the paper from immigration.