relay option setup for matek f405 std

Hi quick question, i have a Matek F405 STD flight controller on my quad copter. Everything runs good and flys mission very well, just wondering during a mission i want to stop at a waypiont and activate a relay from command DO_SET_RELAY. Anyone know how i might set that up on this hardware. cheers.