I used to remember how to do this, now I can't find it again.

How do I get the IME number again, and how do I enter the code ?