You need to use some other application that works as a guitar amp, that also is compatible with apogee jam and that offers background audio.
The only one I tested is Ampkit but I'm sure there are other ones.
You need to follow the same instructions provided for iRig in the settings of iReal b.