Docs / Sandbox App
Sandbox App
A Sandbox App is the safe, separate copy of an App that has users. It has its own app_id, users, settings and keys, so you can test while the App keeps serving real users. A lone Platform App has no Sandbox App. The dashboard places a standalone App's Sandbox directly under that App. For an Umbrella App, its Sandbox Umbrella is followed by the Sandbox counterparts of its Platform Apps; those counterparts are not placed under the live Platform Apps.
Start with the Sandbox App's key in development and the App's key in production. The key chooses which App every module reads; there is no Sandbox Environment switch.
Keys choose the App
| Credential | Ownership | Reads | Notes |
|---|---|---|---|
onelo_pk_test_… | New Sandbox App key | The Sandbox App | Publishable; use in development and test builds. |
onelo_sk_test_… | New Sandbox App key | The Sandbox App | Secret; server-side only, for backend test traffic. |
onelo_pk_live_… / onelo_sk_live_… | The App | The App | Publishable or secret; use in production in the matching client or server. |
onelo_pk_test_… / onelo_sk_test_… | Existing App key | The App | Old App test keys keep their App destination during the transition and return an Onelo-Warning. |
- Credential
onelo_pk_test_…- Ownership
- New Sandbox App key
- Reads
- The Sandbox App
- Notes
- Publishable; use in development and test builds.
- Credential
onelo_sk_test_…- Ownership
- New Sandbox App key
- Reads
- The Sandbox App
- Notes
- Secret; server-side only, for backend test traffic.
- Credential
onelo_pk_live_… / onelo_sk_live_…- Ownership
- The App
- Reads
- The App
- Notes
- Publishable or secret; use in production in the matching client or server.
- Credential
onelo_pk_test_… / onelo_sk_test_…- Ownership
- Existing App key
- Reads
- The App
- Notes
- Old App test keys keep their App destination during the transition and return an Onelo-Warning.
The key shape alone is not enough to identify the side: a newly issued onelo_pk_test_… or onelo_sk_test_… belongs to the Sandbox App, while an existing App test key keeps reaching the App and warns until the next major SDK. A live key with environment=test is another transition path: it reads the Sandbox App's Features and returns an Onelo-Warning. Move that build to the Sandbox App key and remove ONELO_FEATURE_ENVIRONMENT. environment=sandbox is refused, as is environment=live with a Sandbox key.
Waitlist sign-ups follow the key too. A Sandbox App key adds a sign-up only to the Sandbox App's own waitlist, and an App key only to the App's list. If the Sandbox App has no waitlist, the sign-up is refused with a message to create one in the Sandbox App; it never lands on the production list. See which list a sign-up lands on.
What is shared, copied and moved
Sign-in provider choices and the text of legal documents are shared with the App. Users, acceptances, purchases, records, reports and analytics are not shared or copied. Other settings, including branding and Security settings, are Sandbox-App copies. The invoicing integration is the exception: it is never copied in either direction, and a Sandbox App starts with none.
- Deploy publishes staged changes to the side you are editing.
application.prepare_promotionprepares a selectable Sandbox → App diff.- A person approves the prepared promotion in the panel; preparation alone changes nothing in the App.
- Refresh sandbox from production copies settings back; Sandbox subscribers keep their sold price.
- Store promotion is unavailable while the App has no Stripe connection; an App in Draft can promote normally.
Safe outside-world behavior
A Sandbox App never goes live. Its store uses the Stripe test-mode connected account Onelo creates for it. Its invoices stay outside VAT/OSS turnover, Onelo takes no fee, commissions are never paid, and each Sandbox buyer gets a separate Stripe test clock that a developer or agent can advance by a day, to trial end or to the next renewal.
That test-mode account is the Sandbox App's Stripe connection: nothing has to be linked. Its Paywall → Stripe tab shows the account Onelo created and never offers one of the Workspace's live Stripe accounts. Over MCP, store.create_product accepts paid products as soon as the account exists, store.get_guide reports the Stripe step as done, store.list_stripe_accounts lists only the test-mode account, and store.link_stripe_account is refused. While Onelo is still creating the account (usually a few minutes after the Sandbox App is created), paid products are refused with a request to try again shortly; store cards that sell something also wait until Stripe has finished verifying the account and it can take payments.
| Surface | Sandbox behavior |
|---|---|
Only addresses that exist in the Sandbox App (users, waitlist entries and buyers) and Workspace members. Messages are marked [SANDBOX]; an outside address is listed as Not sent with a working preview. | |
| Broadcasts | Can be drafted and test-sent to one Workspace member; never sent to an audience. |
| Webhooks | livemode: false. Endpoints still follow the App/Workspace ownership rules. |
| World-facing pages | Waitlists, roadmaps, affiliate links and hosted feedback are hidden from the public and never indexed. Workspace members or a seven-day test link can open them. |
| Invoices | Sent only to the invoicing integration connected in the Sandbox App itself, never to the App's. A Sandbox App starts with none connected and then issues no invoice. To connect one, pick the Sandbox App in the Application selector and open Settings → Payments & Tax → Invoicing integrations: a provider that has its own sandbox environment connects that environment, and a provider with a single account connects the account you give it, usually a test account. |
| Tax and sales settings | The Sandbox App has its own: the tax facts of its Stripe test-mode account and its own sales settings (who and where it sells). A new Sandbox App starts with a copy of its App's — so it taxes like production — except the EU SME cross-border scheme, which stays off, and the invoicing integration, which is never copied. To change them, pick the Sandbox App in the Application selector and open Settings → Payments & Tax → Tax Setup, or the Sandbox App's Paywall → Sales setup. Nothing saved there changes the App. Over MCP, a connection bound to the Sandbox App reads and writes these with the tax_invoicing module. |
| App flow | Sign-in, store, checkout and customer portal work with the Sandbox key. |
Features, MCP and cleanup
Feature values now live separately in the Sandbox App and App. Discover features with the Sandbox key; the App is read-only for discovery. Configure the Sandbox side, Deploy it, then use Promote to production for the human-approved diff.
An MCP connection belongs to exactly one side. In Draft, consent defaults to the App; once the App is Live, it defaults to its Sandbox App. A Sandbox App connection changes only the Sandbox App: anything that belongs to the workspace (its name, company details, Stripe account list) or is shared with the App (sign-in providers, legal documents, App Languages) is refused there, even with approval; do it from a connection to the App or in the panel. The Sandbox App's own changes need no extra approval except API-key changes. An agent can prepare a promotion, but a person approves it in the panel. MCP flag tools no longer take an environment argument.
Clear sandbox data removes Sandbox data while keeping settings. On a Sandbox Umbrella App it clears everything below that umbrella. A Sandbox App can only be deleted together with its App.
Where this matters
Discover and shape flags in the Sandbox App, then promote a reviewed diff.
Test purchases and subscription time without charging real customers.
See Sandbox mail, previews, broadcasts and test sends.
Handle test events marked livemode: false.
Connect an agent to one App or one Sandbox App.