Mock it up in your kart, then sharpie marker where you want it bent.
Put it in a vise and bend once, then check. Repeat if necessary.
You may need to make a couple of bends in a couple different spots.
Try to have as little as possible. Measure and mark twice, bend once.
I use a steel bar that slips over the rod to bend it in the correct spot.
If it is Aluminum make sure you never over bend it, because aluminum doesn’t like to bend back, once it is bent in one direction. Steel is more forgiving.
If you need to cut it, try to cut it on the right hand threaded side. It’s easier to tap ,if necessary. Unless you have a left-handed m8 tap.