It is summoned using the /summon command and a spawn egg (there is a possibility to craft and extract as loot).