Integrate Citta Biz App

Prerequisite

You should be logged in into Banyan Tree Tenant in Citta.

Create a new React Application

You can create a new React application in a few common ways. Today, the recommended approach is Vite (faster, simpler, and modern).

1️⃣ Prerequisites

Make sure Node.js ≥ 20 is installed:


2️⃣ Create a React app using Vite

You’ll be prompted to choose:

  • Framework → React

  • Variant → React + TypeScript (recommended) or React (JS)


3️⃣ Install dependencies


4️⃣ Start the development server

Your app will run at:

Install Custom App Api

You can install custom App Api by running following command in your project root:

Create a button to open the biz-app

Here is a clean and correct way to do this in React.

Clicking on the "Open App" button should redirect to the biz-app.

Last updated