---
title: LB Base Services LLM Docs - Table of Contents
summary: Central index for LB Base Services LLM guides, shared guidelines for coding agents, and available service offerings for new apps.
owner: LatentByte
intended_for:
  - coding agents
  - app developers
last_updated: 2026-11-16
---

# LB Base Services LLM Docs - Table of Contents

Use this index to navigate LLM-targeted documentation for LB Base Services, find shared guidelines for building apps, and discover available services for new projects.

These docs are intentionally served under `/llms/*.md` only. Do not add root `/llms.txt` or `/llms-full.txt` until the project is ready for standard public discovery.

## Agent Instructions

Follow these rules before writing integration code:

- Read this index first, then fetch the specific guide for the task
- When choosing a containerized language/runtime or writing Dockerfiles, read [Recommended Container Base Images](https://latentbyte.com/llms/container-base-images.md) before selecting image tags or digests
- Fetch and review `GET /openapi.json` from the target service before coding request or response shapes
- Prefer the OpenAPI 3.0 spec only when your generator does not support OpenAPI 3.1
- Use HTTP APIs for LBServices control-plane and shared-service access. Never use raw object-storage credentials or LBServices metadata-database credentials. App backends may connect directly to their own provisioned PostgreSQL database using the issued app credentials.
- Use Logto-issued API-resource JWT auth (`Authorization: Bearer <token>`) for end-user LBServices flows
- Use service API keys (`X-API-Key: <key>`) only for backend job routes that document API-key auth
- Keep service URLs, bucket names, storage keys, DB credentials, and API keys out of source code
- Use `LB_BACKEND_API_KEY` for admin-created backend keys. Read the [Backend API Keys](https://latentbyte.com/llms/backend-api-keys.md) guide before configuring service access.
- For new products, read [External Notifications](https://latentbyte.com/llms/notifications.md). Link user setup to `https://latentbyte.com/profile#notifications`; route actionable platform issues to the administrator endpoint using the product's Notifications-enabled backend key.
- Include generated client updates in commits when backend OpenAPI specs change
- If a guide and the OpenAPI spec disagree, prefer the OpenAPI spec and flag the doc drift

## Service References

- Production API base URL: `https://lbservices-srv.latentbyte.com`
- OpenAPI docs UI: `https://lbservices-srv.latentbyte.com/docs`
- OpenAPI 3.1 spec: `https://lbservices-srv.latentbyte.com/openapi.json`
- OpenAPI 3.0 spec: `https://lbservices-srv.latentbyte.com/openapi-3.0.json`

## Choose the Right Guide

| If you need to...                                            | Read this guide                                                                                                                                                                                                              |
| ------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Choose container bases by language or platform               | [Recommended Container Base Images](https://latentbyte.com/llms/container-base-images.md)                                                                                                                                    |
| Authenticate an app backend                                  | [Backend API Keys](https://latentbyte.com/llms/backend-api-keys.md)                                                                                                                                                          |
| Call another of our backends as a service, not as a user     | [Service-to-Service Auth](https://latentbyte.com/llms/service-to-service-auth.md)                                                                                                                                            |
| Provision new app dependencies                               | [App Manifest Provisioning](https://latentbyte.com/llms/app-manifest-provisioning.md)                                                                                                                                        |
| Add login, sessions, or current user data                    | [Auth User Service Integration](https://latentbyte.com/llms/auth-user-service-integration.md)                                                                                                                                |
| Restrict an app to specific users                            | [Auth User Service Integration](https://latentbyte.com/llms/auth-user-service-integration.md)                                                                                                                                |
| Check a paying user's access from the backend                | [Auth User Service Integration](https://latentbyte.com/llms/auth-user-service-integration.md#check-access-without-the-users-token)                                                                                           |
| Upload, store, or download files                             | [Filestore Usage](https://latentbyte.com/llms/filestore-usage.md)                                                                                                                                                            |
| Use a provisioned PostgreSQL database                        | [App Service Database Usage](https://latentbyte.com/llms/app-service-database-usage.md)                                                                                                                                      |
| Add a public newsletter signup form                          | [Newsletter Collection](https://latentbyte.com/llms/newsletter-collection.md)                                                                                                                                                |
| Build backend jobs that manage files                         | [Filestore Usage](https://latentbyte.com/llms/filestore-usage.md), then check API-key routes in OpenAPI                                                                                                                      |
| Charge backend product actions by usage                      | [Product Credit Integration](https://latentbyte.com/llms/product-credit-integration.md)                                                                                                                                      |
| Sell a desktop app with per-device offline licenses          | [Desktop App Licensing](https://latentbyte.com/llms/desktop-app-licensing.md)                                                                                                                                                |
| Send user notifications or platform alerts to administrators | [External Notifications](https://latentbyte.com/llms/notifications.md)                                                                                                                                                       |
| Send an invitation or other email a user action caused       | [Transactional Email](https://latentbyte.com/llms/transactional-email.md)                                                                                                                                                    |
| Send logs and traces or read them for incident diagnosis     | [Observability Integration](https://latentbyte.com/llms/observability.md)                                                                                                                                                    |
| Let admins pick models per call site and track LLM spend     | [LLM Configuration and Usage](https://latentbyte.com/llms/llm-configuration.md)                                                                                                                                              |
| Get LB-issued credentials into the deployment env            | [App Manifest Provisioning: Deployment outputs](https://latentbyte.com/llms/app-manifest-provisioning.md#deployment-outputs) (one-time encrypted handoff, not ongoing storage)                                               |
| Store app config or app-owned secrets                        | No general LB config or secret store yet: keep them in the deployment env and document names in `env.example`. Admin-editable model choices: [LLM Configuration and Usage](https://latentbyte.com/llms/llm-configuration.md) |
| Build an app with its own database schema                    | [App Service Database Usage](https://latentbyte.com/llms/app-service-database-usage.md), then app-local docs                                                                                                                 |
| Smoke-test a deployed UI with real auth                      | [UI Smoke Testing](https://latentbyte.com/llms/ui-smoke-testing.md)                                                                                                                                                          |

## Available LB Services for New Apps

LB Base Services provides the following pre-built capabilities for new applications:

| Service                    | Description                                                                                                | LLM Guide                                                                                     |
| -------------------------- | ---------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
| App Manifest Control Plane | Product, database, Filestore, auth, and newsletter dependency provisioning                                 | [App Manifest Provisioning](https://latentbyte.com/llms/app-manifest-provisioning.md)         |
| Auth User Service          | User profile and product access APIs using Logto-issued tokens; Logto manages login and identity sessions  | [Auth User Service Integration](https://latentbyte.com/llms/auth-user-service-integration.md) |
| Filestore                  | File upload, storage, download, and private URL generation via S3-compatible backend                       | [Filestore Usage](https://latentbyte.com/llms/filestore-usage.md)                             |
| Newsletter Collection      | Manifest-provisioned email and consent collection with shared Turnstile                                    | [Newsletter Collection](https://latentbyte.com/llms/newsletter-collection.md)                 |
| App Service Database       | Isolated PostgreSQL provisioning and credentials; consuming apps own schema, migrations, and query clients | [App Service Database Usage](https://latentbyte.com/llms/app-service-database-usage.md)       |
| Product Credits            | Source-scoped live and sandbox wallets with idempotent backend metering                                    | [Product Credit Integration](https://latentbyte.com/llms/product-credit-integration.md)       |
| Desktop App Licensing      | Signed per-device licenses with a seat limit, verified offline by the app                                  | [Desktop App Licensing](https://latentbyte.com/llms/desktop-app-licensing.md)                 |
| External Notifications     | User updates and platform administrator alerts through saved profile destinations                          | [External Notifications](https://latentbyte.com/llms/notifications.md)                        |
| Transactional Email        | Action-triggered email such as invitations through one shared sender, with limits and suppression          | [Transactional Email](https://latentbyte.com/llms/transactional-email.md)                     |
| Observability              | Standard OTLP ingest and bounded log and trace reads with product-scoped telemetry keys                    | [Observability Integration](https://latentbyte.com/llms/observability.md)                     |
| LLM Configuration          | Admin-managed model slots and app-reported usage and cost; apps call providers directly                    | [LLM Configuration and Usage](https://latentbyte.com/llms/llm-configuration.md)               |

## Table of Contents

1. [App Manifest Provisioning](https://latentbyte.com/llms/app-manifest-provisioning.md) - Provision product, database, Filestore, auth, and newsletter dependencies safely
2. [Auth User Service Integration](https://latentbyte.com/llms/auth-user-service-integration.md) - Guide for integrating user auth flows with LB Auth Service
3. [Filestore Usage](https://latentbyte.com/llms/filestore-usage.md) - Guide for file storage, upload, and download workflows
4. [App Service Database Usage](https://latentbyte.com/llms/app-service-database-usage.md) - Guide for provisioned database access and app-owned schema tooling
5. [Newsletter Collection](https://latentbyte.com/llms/newsletter-collection.md) - Provision an intention and generate a Turnstile-protected signup form
6. [UI Smoke Testing](https://latentbyte.com/llms/ui-smoke-testing.md) - Smoke-test deployed UIs with Portable Browser, shared test-account env vars, or expiring agent test users
7. [Product Credit Integration](https://latentbyte.com/llms/product-credit-integration.md) - Debit, reserve, and settle source-scoped credits safely from trusted backends
8. [External Notifications](https://latentbyte.com/llms/notifications.md) - Send user notifications and platform issue alerts to administrators
9. [Backend API Keys](https://latentbyte.com/llms/backend-api-keys.md) - Configure product-scoped backend keys and service access
10. [Recommended Container Base Images](https://latentbyte.com/llms/container-base-images.md) - Choose shared, compatible language bases and specialized runtimes

11. [Observability Integration](https://latentbyte.com/llms/observability.md) - Standard OTLP and scoped logs/traces
12. [LLM Configuration and Usage](https://latentbyte.com/llms/llm-configuration.md) - Read admin-managed model slots, call providers directly, and report usage and cost
13. [Service-to-Service Auth](https://latentbyte.com/llms/service-to-service-auth.md) - Call one of our backends from another with a Logto machine-to-machine token
14. [Transactional email](https://latentbyte.com/llms/transactional-email.md) - Send invitations and other user-triggered emails through the shared platform sender
15. [Desktop App Licensing](https://latentbyte.com/llms/desktop-app-licensing.md) - Sell a desktop app with signed per-device licenses that verify offline
