What Are The Key Factors In Obtaining A Home Mortgage Loan?

My credit isn’t bad or fair. It’s good, just below excellent. How good does your credit have to be and what other factors are key to successfully obtaining a home mortgage loan?