Shut down with relay, activating gpio in the raspberry

Hi to all people. I have a problem, and i have not find the solution. I bought astrobox touch with a license, and i want to shut down the 3d printer when it finish the job or when I think that the job is bad.
With octoprint you can active gpio in the raspberry for this, but I will can to make this in astrobox?
Thanks by the help

I resolved the issue. I show you on this picture like I got it.