Start the Instant pot in saute mode.
Add oil to the inner pot and then add whole spices & chopped ginger to hot oil.
Then goes sliced onions and let them fry for 3 to 4 minutes.
Now add chopped veggies of your choice and stir it once.
Add cooked red beans and spice powders to the veggies mixture and mix them well.
If using canned beans, make sure to drain them very well. Else rice will turn sticky.
Drain the water from the soaked basmati rice and add it to the instant pot. If you are not soaking rice, rinse the rice and add it.
Add water to the instant pot and give it a good stir. You can check salt and adjust it at this step.
Stop the instant pot saute mode and close it with its lid. Seal the valve.
Start the instant pot on manual or pressure cook mode and cook it for 5 minutes on high pressure.
Once the Instant pot finishes cooking, wait for 10 minutes and manually release the pressure.
Open the instant pot and take the inner pot out. This will prevent the cooking of rice further.
Add chopped fresh cilantro leaves and fluff the rice and beans. Cover and keep it aside for 10 minutes.
Easy Instant pot rice and beans is ready to serve!