OK Terrible rattling noise coming from the engine of the Bis. O further investigations turns out that new stud I bought for the exhaust has come loose and stripped the thread in the head

This I believe to repair is an engine out job and I assume I can fit a helicoil, is it M8 and can anyone recommend a supplier before I make a purchase? Unless there is another way to repair!
Thanks guys!