Add in the following order to your Instant Pot: beans, corn, onion/garlic/spices, chicken, cream cheese, chicken broth.
1
Pressure cook for 20 minutes, then natural release for 10 minutes.
2
3
Remove the chicken, then use two forks to shred it; place it back into the Instant Pot.