Stormy is right, that you should attempt to find a bonsai class. That's where I started and got some really good information, as well as walking away with a wired and potted plant.
The bonsai isn't going to grow much after it's potted. So you shouldn't pot till the trunk is approximately the size you want it to be. Keep in mind that bonsai are supposed to mimic old trees. Especially for an upright, you'll want a tapered trunk. The height of an upright should be approx. 6 times the diameter of the trunk. So if you're shooting for around 25cm, then the diameter of the trunk, near the base, should be approx. 4cm.
You can also keep in mind that branches thicken as they need to support more growth. Many people will even put their future bonsai in the ground and let it grow vigorously, pruning with bonsai in mind. You can do the same thing in a pot and I've seen a couple of bonsai guys on youtube.com who had one in soil for years before turning it into bonsai. Sometimes people let he plant grow much taller than they want it, but this causes the base to thicken. They'll lop off the top an let a branch become the new top. Eventually, with repetition and work, it'll be a short, thick trunked bonsai. There are different ways to go about it.
Something else to consider is transitioning to the pot. Some people will take a potted plant and put it in a shallower tub with the bonsai media. This is a transition between the super shallow pot and the original pot. It requires more care, but has a buffer where the final pot might not. It also helps train the roots more shallow.