An introductory tutorial on how to use the constrained density functional theory (CDFT) module in the CP2K open-source quantum chemistry and solid state physics software package. The talk was given at the CP2K UK User meeting on January 12, 2018, at the University of Lincoln.