It would help to know the chainrings you currently have on the bike. I’m guess the outer ring is a 42 or 44.
First step is to test if the outer ring will mount in the middle position without hitting the chainstay. Obviously if the ring is larger than 42 and hits, you’ll need to calculate if a 42t will hit.
The middle ring is the chainline and you need to get a crank with the same chainline. Or you can just run using the middle chainring position.
You’ll need shorter chainring bolts or have to mount a bash guard, or the tabs cut off of another ring.
John