This work focuses on the standard protocol for preparing the externally-heated diamond anvil cell (EHDAC) for generating high-pressure and high-temperature (HPHT) conditions. The EHDAC is employed to investigate materials in Earth and planetary interiors under extreme conditions, which can be also used in solid state physics and chemistry studies.