Sex is whatever you want it to be.
The term 'having sex' is a broad one, and is often perceived as penetration, this narrative ostracizes many. Always remember that you can characterise it as best fits you. Sex is whatever you (and your partner) define it as being.