On the Connes–Kasparov isomorphism, I