To attract one, plant a fruit tree — any kind will do. Once a Raisant visits, you then need to make it a resident by feeding it three pieces of fruit, again of any type.
If you own the game, the in-game journal has more detail and is worth a look.