All you do is spawn it, you do this by holding CTRL and SHIFT and C (without the and's) and then type in testingcheatsenabled true' then you hold CTRL and SHIFT and C (without the and's) and type in buydebug and then go into buy mode, and then go into the different categories and spawn it.
When they give you an opportunity to make your friend real, the rainbow gem pops up randomly. What you do is check the map once every day. It will eventually show up. You just have to wait a while. When it does, it will be easy to locate as you have the opportunity.