inputmanager

So I have my own custom input manager, problem is, I want to use the new UI buttons in unity 4.6 and have a keybind feature for the users to change the keys. Problem is, I dont really know how to go about it, anyone know how to do this?