You need to be a Moshi Member, and you need to actually own a Moshling — with both in place, one will follow you around Monstro City automatically.
There is no command to issue. If membership is active and nothing is following you, the problem is almost always an empty zoo rather than a setting you have missed.