get a residence permit at benin

A Nigerian and right now I want to know how I can get a residence permit at benin,  how much and the duration of time of getting it