Fry cut onion in little oil add little salt and pepper when frying onion. add green chillies as per your taste. add 2 cloves of cut garlic once soft add the canned beans. add salt as per taste if you like it with masala add a tea spoon of garam masala.

Enjoy