Very beginner question

Is hej pronounced like Americans say hi?

I listened to it on a couple of sites online, and it sounded exactly the same to me. But maybe I'm missing something.