Switch on the Instant Pot, press saute, and pour in the ghee. When the ghee is hot, add the whole spices.
Add in sliced onions and fry till translucent.
Put the tomatoes in and fry them till soft.
Blend the cilantro, green chilies, and mint to a paste.
Add this paste into the Instant Pot. Fry a little bit and add the chicken.
Mix it well, add salt to taste. Cook until the chicken is almost done.
Add in drained rice and coconut milk or water. The amount of liquid is 1½ times every cup of rice. In this case, we are using 3 cups rice so the liquid will be 4½ cups. Take into account any liquid in the Instant Pot before adding the coconut milk or water.
I added only 3½ cups as there was already 1 cup of liquid in the pot.
Squeeze the juice of 1 lime into the Pot.
Check for salt, if needed add more.
Close the Instant Pot and pressure cook on high for 4 minutes.
Once the Instant Pot beeps after the 4 minutes, press cancel, and do a quick release of steam after 10 minutes.
Open your Instant Pot, mix gently, and transfer to a serving dish.
Enjoy your Instant Pot Spanish Pulao with some Raita.