Integrating CesiumJS viewer into WordPress

I have many models I would like to display from a WordPress theme, however I don't really know where to start, or how to approach this problem.

Create a plugin and invoke the viewer with shortcodes? Integrate it into the theme?

Has anyone integrated CesiumJS into a wordpress site?

I’ve definitely seen CesiumJS in wordpress before. If you can embed an iFrame, I think the easiest way is to make a Sandcastle (https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/), click “open in new window”, and embed that.

Otherwise a plugin is probably what you want, and you can load CesiumJS from our servers like in the getting started tutorial:

https://cesium.com/docs/tutorials/getting-started/