---
# System prepended metadata

title: Business Logic Frontend
tags: [ThingsBoard]

---

---
title: Business Logic Frontend
tags: ThingsBoard
---

## How to utilize your own frontend for business logic while using the ThingsBoard backend and rest-api

* swagger documentation [here](https://thingsboard.io/docs/reference/rest-api/) 
* Basically we first need to authenticate as a tenant, get a JWT token and then access our device data. 
* Posting user credential secure if we have HTTPS enable. And we only have to post it once in order to get a JWT token. Any call to the API after will only send the JWT token in the header. 

