Place the boneless chicken breasts at the bottom of the crockpot.
In a mixing bowl, combine the chopped onion, minced garlic, drained white beans, diced green chilies, corn, cumin, chili powder, salt, and black pepper. Stir the mixture well.
Pour the mixture over the chicken in the crockpot.
Add the chicken broth to the crockpot, ensuring that the chicken breasts are submerged.
Cover the crockpot and cook on low heat for 6 hours or until the chicken is fully cooked and tender.
Once cooked, remove the chicken breasts from the crockpot, shred them using two forks, and return the shredded chicken to the pot.
Stir in the sour cream to add creaminess and adjust seasoning if necessary.
Serve hot, garnished with chopped cilantro and a wedge of lime on the side.