How do I get the knee to bend?
Have you linked the bone and your mesh? if so have you selected automatic weights when doing so? ( just the way I like to do it )

If you don't want to use automatic weights, just select the parts in the mesh, in the editor mode, and the bone, then link them.
( I'm not a pro, please take what I say with a grain of salt, it might not work! )