# Clarification on Cesium ion and access token

**URL:** <https://community.cesium.com/t/clarification-on-cesium-ion-and-access-token/7181>\
**Category:** CesiumJS\
**Created:** [July 18, 2018, 9:00am UTC](https://community.cesium.com/t/clarification-on-cesium-ion-and-access-token/7181 "2018-07-18T09:00:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucas.city.project](https://avatars.discourse-cdn.com/v4/letter/l/258eb7/32.png) [@lucas.city.project](https://community.cesium.com/u/lucas.city.project)\
**Post date:** [July 18, 2018, 9:00am UTC](https://community.cesium.com/t/clarification-on-cesium-ion-and-access-token/7181/1 "2018-07-18T09:00:12Z")

</div>

Hi all,

Apologies if this has been asked, but I didn't see it if so. I've recently been testing v1.47 of CesiumJS and am seeing the access token warning:

This application is using Cesium's default ion access token. Please assign Cesium.Ion.defaultAccessToken with an access token from your ion account before making any Cesium API calls. You can sign up for a free ion account at [https://cesium.com](https://cesium.com).

As I understand, the access token is for using ion. I don't believe I am currently using any ion assets in my app and the access token warning shows when I just use OSM tiles and 3D-tiles hosted by myself. Is this expected behaviour? If I just continue to use CesiumJS can I legitimately manually remove this? Or should it be disappearing on its own? Or do I just register for a Community plan and then not use any ion assets?

---

<div class="post-metadata">

**Author:** ![Scott\_Hunter](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/scott_hunter/32/2006_2.png) [@Scott\_Hunter](https://community.cesium.com/u/Scott_Hunter)\
**Post date:** [July 18, 2018, 1:36pm UTC](https://community.cesium.com/t/clarification-on-cesium-ion-and-access-token/7181/2 "2018-07-18T13:36:01Z")

</div>

Cesium ion is also used by default in the geocoder. If you want to suppress the warning, you can either disable the geocoder, if you’re not using it, or configure it to use a different GeocoderService.

---

<div class="post-metadata">

**Author:** ![lucas.city.project](https://avatars.discourse-cdn.com/v4/letter/l/258eb7/32.png) [@lucas.city.project](https://community.cesium.com/u/lucas.city.project)\
**Post date:** [July 19, 2018, 7:52am UTC](https://community.cesium.com/t/clarification-on-cesium-ion-and-access-token/7181/3 "2018-07-19T07:52:55Z")

</div>

Thanks for the reply. The message still appears when I disable the geocoder though. Here is a minimal sandcastle example:

> **[Cesium Sandcastle](https://sandcastle.cesium.com/?)**
>
> The Cesium Sandcastle provides an interactive environment for testing Cesium code.

---

<div class="post-metadata">

**Author:** ![Kevin\_Ring](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kevin_ring/32/2003_2.png) [@Kevin\_Ring](https://community.cesium.com/u/Kevin_Ring)\
**Post date:** [July 19, 2018, 8:10am UTC](https://community.cesium.com/t/clarification-on-cesium-ion-and-access-token/7181/4 "2018-07-19T08:10:04Z")

</div>

You’re still getting the Ion message because you’re adding OSM on top of the Bing Maps base layer, rather than replacing it. This seems to work:  
[https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/#c=ZVBBasMwEPyK8MUpBIleXScUciqkJBDoSZeNvXVEZcnsrh3c0r9XdkhJWt12dmZnRjYMQCpyq1Zqg+z6VleEILjrMByEEOUVupcWGqRxT3FwNdLiywaVXk9eFSo/iXRcGANanEcdk5JnZQudjtSY3Ibvhycb7Gw2ODwjJb+A56vn24wt8moeNzEIuICUL5OTFT5BHc9cqHfwjMsJajBWMUW5xY7AuIURae+qj9vVlNXdVyimzr+xsmVWsowe1xfys2u7SDIVXGhtBNvOpz9hc+zTZdEV8yQszVVU1m5Qrl7Z7E8Dm6nKA3PavPfeH9wn2mxdmsS/k/kItQvNbkDyME6U0+N6ewG11qVJ43+VxOiPQDcXfwA](https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/#c=ZVBBasMwEPyK8MUpBIleXScUciqkJBDoSZeNvXVEZcnsrh3c0r9XdkhJWt12dmZnRjYMQCpyq1Zqg+z6VleEILjrMByEEOUVupcWGqRxT3FwNdLiywaVXk9eFSo/iXRcGANanEcdk5JnZQudjtSY3Ibvhycb7Gw2ODwjJb+A56vn24wt8moeNzEIuICUL5OTFT5BHc9cqHfwjMsJajBWMUW5xY7AuIURae+qj9vVlNXdVyimzr+xsmVWsowe1xfys2u7SDIVXGhtBNvOpz9hc+zTZdEV8yQszVVU1m5Qrl7Z7E8Dm6nKA3PavPfeH9wn2mxdmsS/k/kItQvNbkDyME6U0+N6ewG11qVJ43+VxOiPQDcXfwA)

---

<div class="post-metadata">

**Author:** ![lucas.city.project](https://avatars.discourse-cdn.com/v4/letter/l/258eb7/32.png) [@lucas.city.project](https://community.cesium.com/u/lucas.city.project)\
**Post date:** [July 19, 2018, 12:03pm UTC](https://community.cesium.com/t/clarification-on-cesium-ion-and-access-token/7181/5 "2018-07-19T12:03:04Z")

</div>

Ah, I see. Yes that has indeed fixed it. Thanks both!
