---
title: "Design app boundaries"
description: "Decide when a business, tenant, environment, or sales channel needs its own Inttegro app."
canonical: "https://studio.inttegro.dev/guides/design-app-boundaries"
format: inttegro-machine-docs/v1
language: "cURL"
reader_profile: optional
reader_manifest: "https://studio.inttegro.dev/machine/curl/readers/index.json"
reader_identification: "Optional: declare your client only if known and your current-session capabilities; use reader_manifest for supplemental recommendations."
preamble_estimated_tokens: 593
model_token_report: "https://studio.inttegro.dev/machine/token-report.json"
preamble_questions: 5
preamble_source: "general"
recommended_mcp_tools: ["get_integration_guide","check_integration_readiness"]
estimated_tokens: 3897
token_estimate_method: "utf8_bytes_divided_by_4"
---

## Machine preamble

**Summary:** Decide when a business, tenant, environment, or sales channel needs its own Inttegro app. This cURL representation preserves HTTP paths and JSON wire names.

### Five questions

#### Q1. When should the reader use Design app boundaries?

Use this guide when implementing the complete business outcome rather than an isolated request.

#### Q2. What is authoritative on this page?

The guide owns the business sequence and verification logic. Its linked API references own the exact request, response, state, and error contracts.

#### Q3. What page-specific constraint matters most?

Keep the documented ordering, trust boundary, idempotency behavior, and authoritative read-after-write verification intact.

#### Q4. Can Inttegro MCP materially help with this task?

Yes, when the reader has an authenticated MCP connection and the task needs live context, guided planning, or a supported operation. The strongest matches are `get_integration_guide`, `check_integration_readiness`; their exact roles and boundaries are listed below.

#### Q5. How should the reader verify the answer and continue?

Use the guide’s explicit completion condition and verify the final resource through the documented lookup or lifecycle state; a successful redirect or accepted request may be intermediate. Continue with [Set up a platform](https://studio.inttegro.dev/machine/curl/guides/set-up-a-platform.md) and [Govern child apps with policies](https://studio.inttegro.dev/machine/curl/guides/govern-child-apps-with-policies.md) when those concerns enter scope.

### Recommended MCP assistance

Use these through an authenticated Inttegro MCP connection. This document remains the contract source.

- [`get_integration_guide`](https://studio.inttegro.dev/machine/curl/inttegro-mcp/tools.md#get_integration_guide) — read-only integration guidance. Returns a focused implementation sequence and canonical Studio links for authentication, checkout, orders, catalog, messaging, idempotency, or testing.
- [`check_integration_readiness`](https://studio.inttegro.dev/machine/curl/inttegro-mcp/tools.md#check_integration_readiness) — read-only integration guidance. Audits platform secret storage, server-runtime compatibility, idempotency, errors, state verification, checkout returns, and messaging consent without receiving source code or credentials.

## Document content

# Design app boundaries

An Inttegro app is a durable security and operating boundary for credentials, commerce resources, balances, payouts, and settings. Choose that boundary before onboarding customers or merchants: splitting an app later is not the same as moving a label, because the public API does not provide a general resource-transfer or app-reparenting operation.

## Prerequisites

- Read [Authentication](https://studio.inttegro.dev/machine/curl/api/authentication.md) and decide where server-side secrets will live.
- Identify the legal entities, environments, operators, and settlement owners in your product.
- Decide which teams or customers must be unable to access each other's resources.

## Start with one question

Create a separate app when the party or workload needs a durable boundary, not merely a different display in your product. A useful test is: **if these two workloads shared one compromised credential, one balance, and one set of settings, would that violate your security, financial, or operational model?** If yes, they should normally be separate apps.

| Situation                     | Usually one app                                                                                    | Usually separate apps                                                                                               |
| ----------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| Production and non-production | No                                                                                                 | Yes. Never let test credentials or synthetic resources share the production boundary.                               |
| Two legal entities            | Only when they truly share credential, settlement, and operating responsibility                    | Yes when they require independent control, reconciliation, or access.                                               |
| Marketplace sellers           | Yes when the platform remains the merchant boundary and routes orders to seller financial accounts | Yes when a seller needs separate credentials, Inttegro resources, settings, balances, payouts, or operator control. |
| Sales channels                | Yes when channels share the same operators and financial configuration                             | Yes when a channel needs independent credentials or settings.                                                       |
| Shopper, order, or campaign   | Yes                                                                                                | No. These are resources within an app, not app boundaries.                                                          |
| Branch or franchise           | Yes when the parent operates it centrally                                                          | Yes when it needs durable operational or financial independence.                                                    |

This is an architecture decision, not a billing or branding decision. Names, aliases, and descriptions can identify an app for operators, but they do not create isolation by themselves.

## Record the boundary before creation

For each proposed app, write a short boundary record containing:

| Decision                  | What to record                                                                                                           |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| Purpose                   | The durable business or workload the app represents.                                                                     |
| Credential owner          | The team or customer allowed to store, rotate, and disable its keys.                                                     |
| Management owner          | The team or customer responsible for the parent-child relationship.                                                      |
| Resource scope            | Which customers, orders, files, financial accounts, and other resources belong inside it.                                |
| Settlement responsibility | Who owns payout destinations and reconciles the app's balances.                                                          |
| Environment               | Production, staging, development, or another deliberately isolated environment.                                          |
| Exit plan                 | What happens when the tenant, business, or channel stops operating. Do not assume resources can be moved to another app. |

Keep this record in your own control plane. The [Apps API](https://studio.inttegro.dev/machine/curl/api/apps.md) returns the app and its direct placement relationship; it is not an organizational directory or a substitute for your tenant registry.

## Use parent and child apps deliberately

A child app has a direct placement relationship with a parent. That relationship is useful when one organization creates or governs another durable app boundary. It does not, by itself, promise arbitrary hierarchy depth, access to the child's resources, or the ability to move the child later.

The public creation request lets you choose who manages the relationship and who controls credentials. Make those choices from the boundary record rather than accepting defaults without review:

| Choice                        | Use it when                                                        | Security consequence                                                                                        |
| ----------------------------- | ------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------- |
| Parent-managed relationship   | A platform or central team remains accountable for the child setup | Keep parent automation narrowly authorized and auditable.                                                   |
| Child-managed relationship    | The child should control ongoing relationship management           | Complete the ownership plan before creation; do not treat a label change as a handoff.                      |
| Parent-controlled credentials | Central infrastructure operates the child's API integration        | Store keys only in that infrastructure's secret manager.                                                    |
| Child-controlled credentials  | The child operates its own integration                             | Deliver the create-only key through an authenticated secret-delivery path and retain no unnecessary copies. |

> **Note:**
>
> [Create an app](https://studio.inttegro.dev/machine/curl/api/apps.md#create-an-app) currently returns the initial child secret key to the authenticated caller, including when the relationship says the child controls credentials. Your server must therefore be prepared to capture the value once and handle it according to the ownership decision. Never return it to a browser, write it to application logs, or send it through ordinary email or chat.

## Keep environments separate

Use distinct apps and keys for production and every test environment that can generate persistent data. Environment separation protects customers from test traffic and makes cleanup, access review, and incident response tractable.

Do not put a production Inttegro key in Simile. The published Simfile issues synthetic local credentials and models the public HTTP contract. It can test request construction and client behavior, but it cannot prove production account enablement, delegated placement authority, live money movement, or operational ownership.

## Verify the design

Before creating an app, require an explicit answer to each check:

1. Does this boundary protect a durable business, tenant, channel, or environment rather than a short-lived resource?
2. Can every resource be assigned unambiguously to one app?
3. Is the credential owner named, and is a server-side secret store ready before creation?
4. Is the management owner named, and does the intended relationship policy match that responsibility?
5. Are payout destinations and reconciliation responsibility clear?
6. Is production isolated from every synthetic and non-production workload?
7. Does the design avoid relying on resource transfer, reparenting, or relationship mutations that the public API does not expose?

If any answer is unclear, stop before calling the create endpoint. Correcting the boundary on paper is safer and faster than compensating for it in every request.

## Reject common boundary shortcuts

Several designs look productive initially but create an unsafe dependency later:

- **One app per order, shopper, or campaign.** These are ordinary resources or business dimensions. Turning them into apps creates unnecessary credentials without establishing a useful durable owner.
- **One shared app for every customer because the backend is trusted.** Backend trust does not remove the blast radius of a leaked key or a tenant-routing bug. Keep one app only when shared resources and financial state are part of the intended contract.
- **One child app per seller by default.** A seller that only needs a payout destination may fit the [one-app marketplace model](https://studio.inttegro.dev/machine/curl/guides/set-up-a-marketplace.md). Apps are appropriate when the seller needs an independent Inttegro boundary.
- **A new app only for reporting.** Preserve reporting dimensions in your own data and attach the app ID to exported records. Do not multiply credentials merely to obtain a label.
- **Sharing a production app with staging.** Prefixes, aliases, and careful naming do not isolate credentials or resources. Use separate apps.
- **Assuming the parent can always recover the child.** Credential and management ownership are choices. Prepare the selected owner's recovery and support process before creation.

When a proposed boundary is hard to classify, compare two failure scenarios. First, assume one workload's key is compromised: which resources and financial operations become reachable? Second, assume an operator selects the wrong tenant: which customer's data or payout routing could be affected? The smaller architecture is acceptable only when both outcomes remain inside an intentionally shared boundary.

## Review changes as boundary changes

A business can outgrow its original model. A centrally operated branch may become independent; a marketplace seller may begin operating its own integration; two brands may consolidate operations. Treat each event as a new architecture review, not a metadata edit.

Inventory the resources, credentials, balances, financial accounts, payout configuration, and outstanding lifecycle work affected by the proposed change. Then compare the desired transition with documented API operations. Updating `name`, `alias`, or `description` changes metadata only. The public Apps API does not promise a general transfer of resources, a new parent, or a rewritten relationship policy.

If the desired end state needs an operation that is not documented, preserve the current boundary and contact Inttegro before making commitments to customers or setting a cutover date. A support-assisted transition, where available, is not a public API guarantee and should not be represented as one in your product.

## Related resources

- [Apps API](https://studio.inttegro.dev/machine/curl/api/apps.md) - Exact app creation, lookup, and update contracts.
- [Onboard child apps](https://studio.inttegro.dev/machine/curl/guides/onboard-child-apps.md) - Create, verify, and operate a child safely.
- [Govern child apps with policies](https://studio.inttegro.dev/machine/curl/guides/govern-child-apps-with-policies.md) - Apply selected-account policy controls.
- [Set up a platform](https://studio.inttegro.dev/machine/curl/guides/set-up-a-platform.md) - Apply app boundaries to a multi-tenant platform.
- [Set up a marketplace](https://studio.inttegro.dev/machine/curl/guides/set-up-a-marketplace.md) - Decide whether sellers need apps or financial-account routing.
