Like when you find a wild Pokemon and catch it, then start training it. Just making sure... It starts at zero, right?
Yes ,it starts at zero ,but the pokémon has already a certain amount of IVs.