Turn Instant Pot to saute mode and heat ghee. Add onions and mix well. Cook for 2 minutes with a glass lid on.
Add ginger, garlic, cumin powder, turmeric, red chili powder, and salt. Mix well.
Add tomatoes and mix everything together. Add chickpeas and water. Mix well.
The following step to cook pot in pot rice is optional
Place a tall trivet. Add basmati rice, water, salt to a stainless steel pot. You can also add cumin seeds and bay leaf. Place a tall trivet in the Instant Pot and place the rice pot over it
Close Instant Pot with pressure valve to sealing position. Pressure cook for 4 minutes.
Allow 5-minute natural pressure release or if you have time Natural Pressure Release works too. Open the Instant Pot and set it on Saute mode.
Add garam masala and dry mango powder. Add Spinach. Mix everything together and cook for 2-3 minutes.
Soak 1 cup dry chickpeas in warm water overnight. Drain the water.
Add an extra ½ cup of water and increase the pressure cook to 25 minutes followed by a 10-minute natural pressure release.
You can also make pot-in-pot brown rice when using soaked chickpeas as they have a similar cook time to brown rice. Add 1 cup of rinsed and drained brown rice, 1.5 cups of water to a stainless steel pot, and place over the tall trivet.