PebbleChatApp Factory (Beta)

App Factory

App Factory builds a full application — with its own interface, API, database and source project — from a conversation. You describe what you want, Pebble interviews you and writes a plan, you approve the plan, and Pebble builds the app while you try it in Canvas. Publishing is always a separate step that you choose.

Apps built this way are Factory Apps in the App Catalogue.

Beta. App Factory is off by default. You see it only if an administrator has enabled it for your deployment and your organisation gives you access through its Canvas settings and your role. Publishing to Sandbox is a separate option that is also off by default.

Starting an app

  1. Open Apps in the sidebar and select Create app (+).
  2. Choose Factory App, describe the result you want, and select Choose a template.
  3. Enter an App name. It appears in your App Catalogue and Canvas, and you can rename it later.
  4. Pick a template. Templates come from your organisation’s Capabilities Catalogue and show the technology they use (for example React + TypeScript, Python API, PostgreSQL). If you see No Factory templates are available, ask your Organisation Admin to make one available.
  5. Select Start interview. Pebble opens a private chat with its Factory Canvas and sends your idea and the chosen template.

Organisation Admins make templates available under Admin → Organisation → Settings → Capabilities → Factory Templates. See Organisation Capabilities.

Agreeing the plan

Pebble asks clarifying questions before it builds anything. It saves what you agree — requirements, workflow, data model, design direction and acceptance checks — in the Plan tab of the Factory Canvas.

In Plan you can:

  • Read and edit the App plan, which records the Approved Factory template.
  • Review Acceptance criteria under What the app must do.
  • Choose a visual direction from the design options Pebble proposes (Choose this design).
  • Select Approve and build when the plan is right. This records your approval and starts the build in the same chat.

If you change the plan, save it first; if the source has changed since the plan was saved, Pebble asks you to review and save the plan again before building.

The Factory Canvas Plan tab for a sample Team Lunch Poll app: the saved App plan, five acceptance criteria under What the app must do with Add Acceptance Criterion, and the Save Plan and Approve And Build buttons

The Factory Canvas

The Factory Canvas has these tabs, with the current source version (for example v12) shown beside them:

TabWhat you do there
PreviewTry the running app. Switch between Desktop width, Tablet width and Mobile width, move between routes, and Start preview or Restart preview
CodeBrowse and edit the source files, with Find file
PlanThe saved plan and acceptance criteria, and Approve and build
AssetsImages and other files the app uses
TestsRecord journey through the app, run browser checks, and read Functional validation and Visual review results
SecurityFindings from a security review of the source, each linked to the code it concerns
HistoryEarlier source versions and development-data checkpoints
PublishPublish to Runway or to Sandbox — see Publishing

Pointing at what you want changed

In Preview, use Select an app element, then click the part of the app you mean. The inspector lets you:

  • Ask a question about that element (Add to chat), so Pebble knows exactly what you are referring to.
  • Make a quick visual change — text colour, background, text size, typeface, alignment — using values from your organisation’s Brand Kit.

You can do the same with a log message: select it to ask Pebble about it in chat.

Checkpoints and history

  • Checkpoint and stop environment (in the Preview toolbar) saves the app’s source and development database and stops the preview environment.
  • In History, Save checkpoint saves the source and development data without stopping.
  • Restore development data replaces the app’s current development data with a checkpoint. The current source is kept, and Pebble saves a complete safety checkpoint first. Hosted app data is separate and is never touched.
  • Open an Earlier versions entry to compare or preview it, and Restore source to bring it back as a new version.

Publishing

Building never publishes or deploys anything. When you are ready, open the Publish tab.

Publish to Sandbox

Publish to Sandbox is off by default. It is available only where an administrator has enabled App Factory Sandbox publishing for your deployment.

A Sandbox release lets people open your app from Apps without hosting it on Runway. Its sandbox starts on demand when someone opens it, and its records are kept in a Data Store, so they are still there after the sandbox restarts.

  1. In Publish to Sandbox, choose the Audience: This workspace or Entire organisation.
  2. Select Submit for Org Admin approval. (An Organisation Admin sees Publish to Sandbox, which submits and approves in one step.)
  3. Follow the status in the same panel:
StatusMeaning
Awaiting Org Admin approval.An Organisation Admin needs to review the release
Preparing the app’s Data Store.Pebble is setting up the database the app will use
Awaiting Data Store access approval.An Organisation Admin needs to approve the app’s access to its Data Store
Published and available in Apps.People in the audience can open it from Apps. Select Open app to try it
This release has been retired.It no longer appears in Apps

When someone opens the app, it shows Starting app in Sandbox… while its sandbox starts. To open it, a person needs access to the app and to its Data Store.

Reviewing Sandbox releases (Organisation Admins)

Organisation Admins see Sandbox releases in the App Catalogue header (and Manage releases in the Publish tab). The page lists releases submitted in the current workspace, with their status, audience and who submitted them.

ActionWhen
Review release → Approve releaseA new release is Awaiting publication approval. The review shows the audience, source revision and verification details
Open Data StoreThe release shows Data Store approval required. Approve the app’s access there — see Data Stores (Organisation Admin)
Resume preparation / Retry preparationPreparation stopped or failed
Open appThe release is Available in Apps
RetireRemove the release from Apps permanently. Its Data Store and records are kept

Publish to Runway

Publish to Runway pushes the reviewed source to a GitHub repository so the app can be hosted on Pebble Runway (which must be enabled for your deployment).

  1. Enter the App source repository (owner/repository) and choose an Existing GitHub credential. The credential stays on the Pebble server; the app never receives Git credentials.
  2. Review repository source. If the repository has changed since Factory last saw it, compare each file and choose which version to keep.
  3. Publish. Pebble pushes the validated source. The build, hosting deployment and readiness are tracked separately in Runway.
  4. Link the app to its Owned Runway app for this repository. You can then open Hosting progress and monitoring, Open App Catalogue, or Launch hosted app.

Hosting a Runway app for the first time needs an Organisation Admin’s approval — see Runway Apps.