A rolling bearing can be used to connect two shafts. The only additional information needed, compared to above, is to define the inside and outside shaft for that rolling bearing.
The bearing inner ring is assumed to be fixed on the inside shaft, and the bearing outer ring is assumed to be fixed on the outside shaft. The type of the bearing (fixed bearing, placed on left/right side, etc) defines how the axial forces are transmitted between the shafts through the bearing. Rolling bearings never constrain y-axis rotation, so different rotation speeds between the connected shafts are permitted.
Due to the fact that both moments and forces need to be transmitted through a connecting element, we strongly suggest that you perform an inner geometry bearing calculation when using rolling bearings as connecting elements.