We use the sh.shardCollection() method, specifying the full namespace of the collection and the target index or compound index to use as the shard key. If you shard a populated collection, only one chunk is created initially. The balancer then migrates ranges from that chunk if necessary according to the configured range size.