Turn your Instant Pot to sauté mode. Add a little oil and cook the onions and garlic until soft and fragrant, about 2 to 3 minutes.
Place chicken on top of the onions. Sprinkle cumin, chili powder, smoked paprika, salt, and pepper over it. Stir a little so the spices coat the chicken.
Add white beans, corn, and diced green chilies. Pour in chicken broth. Do not stir too much, just layer nicely.
Close the lid and set the valve to sealing. Cook on high pressure for 15 minutes. Let it naturally release for 10 minutes, then quick release the remaining pressure.
Remove chicken and shred with two forks. Toss shredded chicken back into the pot.
Stir in sour cream or Greek yogurt. Add cheese if you want extra creaminess.
Top with fresh cilantro or avocado slices. Serve warm.