There are no magical settings. Just get the image bright, but not overexposed and you are ready to go. As Sun is bright the gain will be likely lowest and exposure very short.
Note that color cameras may not give the best image when imaging the Sun (depending what solar setup you have).