I do not see how they are related, since the first give us the relations between the potentials, the wavefunctions and the densities and how we can use densities to study our system and the second gives us the condition to find the ground state density