First you would use an S17+ control board because it's unlocked and available for modification of firmware.
Next you would become a Linux God who can compile code and create shell scripts.
Then, you would tear apart a test jig to understand how to send commands to the hashboard and receive the nonce.
Once you have the nonce you have to know how to send that to your pool for credit. Somewhere around the second or third step you're going to figure out how to fiddle with little things like frequency and voltage too get your desired effects.
That's just a high level, back of the envelope, look at the top of the iceberg.