Sram 12 speed on zwift hub trainer

Usually making sure the cassette spacing is the same between road bike and hub, making sure everything is tighten down properly, resolves most skipping and noises. Ideally the same cassette on both too. That’s the easiest way to do it else you can figure out the two index adjustments for the derailleur as you switch between the bike and hub.