how do i add shortcode to a text widget?

im using a BuddyPress Community child theme
how do i add shortcode to a text widget?
im trying to add mycred shortcode to a text widget

[mycred_buy] but is shows up as the shortcode