How to set AUX as GPIO to control a relay module?

Hello,
I want to set Pixhwak’s AUX as GPIO to control a relay module. I’m using PX4 firmware v1.8.2. Can anyone tell me how to do this?
Thanks in advance.