# Using Cesium without the Viewer

**URL:** <https://community.cesium.com/t/using-cesium-without-the-viewer/13387>\
**Category:** CesiumJS\
**Created:** [April 28, 2021, 10:00am UTC](https://community.cesium.com/t/using-cesium-without-the-viewer/13387 "2021-04-28T10:00:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![farfromrefug](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/farfromrefug/32/4605_2.png) [@farfromrefug](https://community.cesium.com/u/farfromrefug)\
**Post date:** [April 28, 2021, 10:00am UTC](https://community.cesium.com/t/using-cesium-without-the-viewer/13387/1 "2021-04-28T10:00:28Z")

</div>

I would like to test Cesium in an environment where i have only access to a gl rendering context and its rendering context. Right now i cant because the `Viewer` class is hardly bound to html.  
My question is this, is it possible to use Cesium without the `Viewer` class? Is there any example of this?

To give more context i want to test Cesium inside Nativescript which is cross platform mobile framework.  
In there we have a plugin which gives us a `WebGL2RenderingContext` context which we can pass to most webgl libs like Three / iTown / Deck.gl …  
But in the case of Cesium as the Viewer create html GUI and is bound to knockout, it wont work.

---

<div class="post-metadata">

**Author:** ![matthias-ccri](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/matthias-ccri/32/15055_2.png) [@matthias-ccri](https://community.cesium.com/u/matthias-ccri)\
**Post date:** [July 25, 2023, 7:37pm UTC](https://community.cesium.com/t/using-cesium-without-the-viewer/13387/2 "2023-07-25T19:37:23Z")

</div>

I’m struggling as well. I’m trying to use `ol-cesium` which does not expose any `Viewer` object. There are like 0 examples anywhere of using Cesium without Viewer.
