# Getting tenant Id as null from 'TenantAwareDataSource' in multi tenancy mode

**URL:** <https://forum.flowable.org/t/getting-tenant-id-as-null-from-tenantawaredatasource-in-multi-tenancy-mode/5079>\
**Category:** Flowable Engine\
**Created:** [December 16, 2019, 12:14pm UTC](https://forum.flowable.org/t/getting-tenant-id-as-null-from-tenantawaredatasource-in-multi-tenancy-mode/5079 "2019-12-16T12:14:56Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![filiphr](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/filiphr/32/315_2.png) [@filiphr](https://forum.flowable.org/u/filiphr)\
**Post date:** [July 22, 2020, 6:31am UTC](https://forum.flowable.org/t/getting-tenant-id-as-null-from-tenantawaredatasource-in-multi-tenancy-mode/5079/5 "2020-07-22T06:31:04Z")

</div>

Hey @prashant,

I would suggest reading [Building your own Flowable Spring Boot application](https://blog.flowable.org/2018/12/19/building-your-own-flowable-spring-boot-application/) blog post and checking out our [spring-boot](https://github.com/flowable/flowable-examples/tree/master/spring-boot-example) example.

The reason why you are not seeing the REST APIs is because you do not have the needed dependencies on the classpath.

You need:

```auto
<dependency>
    <groupId>org.flowable</groupId>
    <artifactId>flowable-spring-boot-starter-process-rest</artifactId>
    <version>6.5.0</version>
</dependency>

```

in order to have the rest APIs for the process engine available

---

_[View the full topic](https://forum.flowable.org/t/getting-tenant-id-as-null-from-tenantawaredatasource-in-multi-tenancy-mode/5079)._
