These guides serve as a good place to start
The grinder you use, coffee you choose, and yes, even the water from your sink, can alter the taste in the cup. Every machine is different, so you'll want to think of these parameters more as guidelines than law.