# \#nodejs

**URL:** https://community.cumulocity.com/tag/nodejs/1483.md

[Latest](https://community.cumulocity.com/latest.md) · [Categories](https://community.cumulocity.com/categories.md) · [Tags](https://community.cumulocity.com/tags.md)

---

## [Microservice Best Practices: How to write a "truly" multitenant microservice in typescript](https://community.cumulocity.com/t/microservice-best-practices-how-to-write-a-truly-multitenant-microservice-in-typescript/7759)

<div class="topic-metadata">

**Author:** [@Cyril\_Poder](https://community.cumulocity.com/u/Cyril_Poder)\
**Replies:** 0\
**Last updated:** [January 17, 2024, 5:02pm UTC](https://community.cumulocity.com/t/microservice-best-practices-how-to-write-a-truly-multitenant-microservice-in-typescript/7759 "2024-01-17T17:02:14Z")

</div>

Introduction Writing a multi-tenant microservice can be tricky as you need to take care of several things: Retrieving credentials of a current tenant to access the API Handle new tenant’s subscription/unsubscription …
