In career mode, you get your first invitational event when you win 8 races. Does not have to be 8 in a row or in the same class.
There are other invites to unlock with certain requirements but winning 8 races will most likely be the first one you get.