Finitely generated and integral equals finite

Statement
Let $$f:R \to S$$ be a homomorphism of commutative unital rings. Then $$f$$ is a finite morphism if and only if $$f$$ is finitely generated and integral.