Set the instant pot on the SAUTE function, let it heat up. Add olive oil.
When the oil is hot, add in the chopped onions and garlic and sauté it for a minute or two until the onion turns light brown.
CANCEL the SAUTE button.
Next add the chicken stock followed by salt, chili flakes, taco seasoning, and cumin powder. Add the chicken.
Add the corn, beans, followed by enchilada sauce, and tomato. DO NOT STIR.
Close the lid and pressure valve. Select the PRESSURE COOK button on HIGH PRESSURE and cook for 10 minutes.
Once the pressure-cooking cycle is over, quickly release the pressure by manually moving the valve from SEALING to VENTING position.
Open the lid carefully and select the CANCEL button.
Remove the chicken into a bowl and shred the chicken with the help of a fork.
Select the SAUTE button
Add in the shredded chicken, let the broth bubble up for a few minutes.
Once done CANCEL the SAUTE button.
Serve hot in individual bowls and top it with chopped avocado, tortilla chips, lime wedge, and a dollop of sour cream.