How to Use Relay Ports to control Mesa Boogie Mark V

Hi all. I have a Mesa Boogie Mark V and an MC6 pro.
The amp has a giant footswitch. I’d love to be able to control my amps 3 channels, clean, dirt, and more dirt, also solo and EQ (reverb would be great too).

Does anyone have experience doing the above with a Mark V?

Can I use the 8 pin midi from my amp (that controls my amp pedal) into the relay port?
Or do I need to use the 4 trs outs on the back of my amp somehow into the relay port?

Then how do I set up ccs or PCs?
I tried reading the manual for Relays but it’s beyond me.

The easiest way would be to use your Mark V with that or similar gizmo https://emcustom.eu/amp-midi-switcher-interface.html.

Thnx so much. This looks great. But it’s been sold out for ages. Do you know if this voodoo lab device would do the same thing ?

Voodoo Lab Control Switcher MIDI Amp Channel Switcher

https://www.sweetwater.com/c771--Amp_Access_Other?highlight=ContSwitcher&utm_source=google&utm_medium=organicpla&seoslug=voodoo-lab-control-switcher-midi-amp-channel-switcher&catrollup=4/622/626/771&mrkgadid=&mrkgcl=28&mrkgen=gpla&mrkgbflag=1&mrkgcat=drums&percussion&acctid=21700000001645388&dskeywordid=&lid=58700008501175174&dsproductgroupid=&product_id=ContSwitcher&prodctry=US&prodlang=en&channel=online&storeid=&device=m&network=x&matchtype=&adpos=largenumber&locationid=9061086&creative=&targetid=&campaignid=20426646913&awsearchcpc=&gad_source=1&gclid=CjwKCAiAlJKuBhAdEiwAnZb7lY7gtE2sqqzT9amHVWrWER42Mw1RFu94DOxykzpgW2c5jWK5HngXfBoCrbUQAvD_BwE&gclsrc=aw.ds