Connect to your ulta.com account. Then, your Member ID will appear under your Ulta Beauty Rewards or Dashboard section However, if your account wasn't connected, you may call Guest Services here to obtain the Member ID or take a look at the back of a purchase receipt from the store.
ulta.com/giftcards