How to replace a mechanical Potentiometer with arduino controlled digital Pot?

comdirect:
change over to i2c from spi its much easier. there are several i2c versions out there.

May you send a link on this versions? Because I don't know how to do this and didn't see a code with this