# Update the MENDER\_TENANT\_TOKEN

**URL:** <https://hub.mender.io/t/update-the-mender-tenant-token/5362>\
**Category:** General Discussions\
**Tags:** yocto\
**Created:** [November 4, 2022, 4:32pm UTC](https://hub.mender.io/t/update-the-mender-tenant-token/5362 "2022-11-04T16:32:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pierrer](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@pierrer](https://hub.mender.io/u/pierrer)\
**Post date:** [November 4, 2022, 4:32pm UTC](https://hub.mender.io/t/update-the-mender-tenant-token/5362/1 "2022-11-04T16:32:32Z")

</div>

Hello,  
I just need some clarification with the MENDER\_TENANT\_TOKEN variable.

Is it possible to change it ? Currently client A use its token, but at the end we would like to use the client B. Is changing the token in the Yocto configuration enough ? Is it that simple ? Or is there some possibles issues ?

In my mind, changing the token should work, but I want to be sure 🙂  
Thank you !

---

<div class="post-metadata">

**Author:** ![lramirez](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/lramirez/32/1195_2.png) [@lramirez](https://hub.mender.io/u/lramirez)\
**Post date:** [November 4, 2022, 6:01pm UTC](https://hub.mender.io/t/update-the-mender-tenant-token/5362/2 "2022-11-04T18:01:41Z")

</div>

Hello @pierrer,

The variable `MENDER_TENANT_TOKEN` is linked with the mender account in the server side. So if you change that value on the client, then your device will be pointing to another account in the server.  
I am curious, what are you trying to achieve?

BR,  
Luis

---

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [November 6, 2022, 8:56pm UTC](https://hub.mender.io/t/update-the-mender-tenant-token/5362/3 "2022-11-06T20:56:00Z")

</div>

Hi @pierrer,

You mean that now (during development, presumably) you are building with the TOKEN of client A. Once that stage is completed, you would reuse the build for client B, e.g. production. Right?

In that case, yes. Just change the variable in the build, rebuild to pick it up, and thats it.

Greetz,  
Josef

---

<div class="post-metadata">

**Author:** ![pierrer](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@pierrer](https://hub.mender.io/u/pierrer)\
**Post date:** [November 7, 2022, 8:18am UTC](https://hub.mender.io/t/update-the-mender-tenant-token/5362/4 "2022-11-07T08:18:32Z")

</div>

Hi @lramirez and @TheYoctoJester ,

Thank you for your answers. That’s right, the goal was to go in production with a client B.

Best regards
