Build and Manage Business Apps
Business apps let your team create lightweight web tools directly in chat with Leina. Each app includes a web frontend, a dedicated backend, and a persistent database hosted on its own subdomain, with access control and version rollback managed in Leina Console.
Use Business apps for recurring internal workflows that outgrow shared spreadsheets and chat threads, such as sample tracking, buyer request intake, supplier quote collection, or order exception boards. For a public brand site aimed at overseas buyers and SEO, use Export Websites.
Common use cases
| App example | Who fills it in | Who views and updates records | What it replaces |
|---|---|---|---|
| Sample and creator gifting tracker | Marketing or creator outreach team | Team members only | Scattered gifting spreadsheets |
| Buyer request or after-sales intake | Public form for customers | Signed-in team members only | Requests buried in email or chat |
| Supplier quote and lead-time board | Procurement team or invited suppliers | Procurement and operations team | Repeated quote tables across threads |
| Order exception collaboration board | Operations and fulfillment staff | Team members only | Manual status updates in group chat |
Create your first version in chat
Start with a small first version whose fields and behavior you can verify before adding extra features.
- Open the Build Internal Business Apps scenario in Leina Console to launch or resume the guided flow.
- State four details clearly: who uses the app, what fields to record, what views are needed, and who is allowed to open each view.
- Ask Leina to build and deploy a reviewable first version.
You can adapt this prompt directly in chat:
Build a team business app for tracking overseas creator samples and delivery progress.
1. Record form:
- Fields: Creator handle, Platform (TikTok / Instagram / YouTube), Sample SKU, Tracking number, Status (Pending / Shipped / Published), Owner, and Notes.
- Require Creator handle, Sample SKU, and Status before saving.
2. Team board view:
- Display saved records in a filterable table sorted by newest first.
- Allow team members to update Status, Tracking number, and publish link.
3. Access control:
- Restrict access to signed-in team members only.
Confirm database persistence works before sharing the live link.
Verify the app before sharing
Before sending the app URL to your team or customers, check three essentials using dummy test records first:
- Database persistence: Submit a test record, refresh the page, then sign into the same team from a separate browser profile (or inspect the app’s data backend in Leina Console) to confirm the entry is stored in the backend database rather than local browser storage.
- Validation and edits: Try submitting empty required fields to verify error handling, then update an existing record to confirm changes save cleanly without overwriting other entries.
- Access control and data separation: Check both app-level visibility (Team only vs. Public) and backend data permissions. If your app combines a public submission form with a staff view, verify with test records that anonymous visitors can submit without reading or modifying records while signed-in team members can view them. See the customer request app verification guide before collecting real customer data.
Manage apps in Leina Console
Open Leina Console via More tools → Business apps to manage deployed apps:
- Open and inspect: View live status (
Online,Updating,Paused), subdomain link, and access scope. - Access settings: Switch visibility between Team only and Public according to who needs access.
- Versions and rollback: Every update creates a new deployment version. Roll back to an earlier working version if a change breaks the layout. Rollback restores only the front-end release; backend code and database data stay unchanged, so backend logic issues must be fixed separately.
- Usage and backend settings: Review storage and usage quotas in the app’s Console detail page. Non-sensitive backend settings for a Space can be managed through
oo spaces env(via CLI or Leina in chat) and apply only to that Space’s backend deployment. Never pasteAPI_KEYs, access tokens, or other secrets into chat or pass them as command arguments; follow the OO CLI Spaces command reference to pass secrets via standard input withoo spaces env set <space> <name> --stdin.
Permissions and billing
- Only a team creator or admin can manage visibility, roll back deployments, resume paused apps, or delete an app.
- Each hosted business app is billed monthly from the team balance and is paused if renewal fails. Recovery is time-limited: top up and resume before the grace deadline (
graceUntil) shown on the app’s detail page in Leina Console (or via the OO CLI Spaces reference), or the app and its backend data will be permanently deleted. Check pricing and usage for general account billing rules. - For a detailed walkthrough of testing a customer-facing form plus internal staff view, read How to specify and verify an AI-built customer request app.