It was the only side effect I had, back when I started a year ago. I bought bloating capsules and charcoal capsules, and between them I haven't needed anything else. The bloating ones work for me daily, they help my digestion and if I forget I feel it, I'm gassier, bloated and uncomfortable, with indigestion. Most days I take them and I'm fine whatever I eat. I eat everything, nothing has been cut out since around month 3.
The charcoal rescues me when the trapped wind gets painful, which happened a few times early on, and I was prone to it before Mounjaro as well. It adsorbs the gas (that's different from absorbing), and within 20-30 mins it's gone.
I've also noticed these can warn me that constipation is coming, though they never used to. If I need a hand I use a magnesium supplement, which pulls water into your gut and eases things.