Mapbox in Cesium

I’ve been looking for a way to display a mapbox map with cesium and the only thing I found is the MapboxImageryProvider. However, when creating the viewer, there is no option to add an imagery provider anymore and the imageryLayers is undefined after instantiating a viewer. How can I use this class to add the map to the viewer? Or is there some other functionality that I missed?

Thanks.