It is recommend to be at least 18-24” away from the header collector. Also install it on the exhaust where it has the best clearance from the ground and the chassis. It could be right before you muffler.
That is not always true. Some cars and trucks it is better for the cutout to be further back to maintain the exhaust velocity. Could be right before your rear muffler.