Things to think about:.
1: be sure to fuse the wire you run. check the manufactures spec sheet, I think most of them run about 2 or 3 amps so something like a 5 amp fuse should be about right.
Keep in mind you will want to operate the solenoid after the engine is shut down so you can relieve pressure in the circuit before you disconnect the hydraulic quick connects. Be sure your wire run is fully protected and will not chafe on the frame of the tractor. I recommend some of the black wire loom to run the wiring in to help protect it. you can buy it at automotive stores or even Wally World.
There are often unused connections on the fuse block but you will need a voltmeter or at least a test lamp and understand how to use it. These are the same skills you would have used to hook up a CB radio or stereo back in the day...