Thru axle adapters are available from Tacx, Wahoo & Robert Axle Project to mount a bike on a trainer. Depending on what you want out of this endeavor you may be happy with a basic one like the Tacx Blue Twist or Blue Matic. If you want more hardcore training then a Smart trainer like the Tacx Neo or Wahoo Kickr along with a subscription to Zwift or FulGaz may be in order. I would visit an LBS in your area for a demo. They really can be incredible.