# Apps and Resources

How Apps collect Resources into one versioned, portable, measurable unit, and what changed from earlier versions.

Type: concept · Mode: all · Since: 2.0 · Status: unverified

---
An App is a complete solution packaged as one unit. A Resource is any single component
inside it. That relationship is the central change in SimplyAsk Platform 2.0, and most of the other
2.0 capabilities follow from it.

## What changed, and why it matters

Before 2.0, the pieces of a solution existed but had no relationship to each other. A
Process, the AI Agent it called, the Service Ticket Type it wrote to, and the Knowledge
Base behind the Agent were four unrelated objects that happened to be configured to work
together.

Four consequences followed from that, and all four are what Apps fix:

- **You could not move a solution.** Many Resource types could not be exported or
  imported at all, so deploying a proven solution somewhere else meant rebuilding it.
- **You could not version a solution.** Only its individual parts, if at all.
- **You could not control access to a solution.** Only to each piece separately.
- **You could not measure a solution.** Nothing tied the pieces to a business outcome, so
  the platform could report what each component did but not what the solution achieved.

## What an App contains

Resources are the components. Processes, AI Agents, Service Ticket Types, Chat
Widgets, Knowledge Bases and Public Submission Forms are all Resources, and they can come
from anywhere in the platform.

Triggers start work without a person doing it by hand: a scheduled Process execution, an
external event (a webhook), a chat Agent session starting, or a My Actions assignment.

Variables hold values that every Resource in the App can read, and any value can be
hidden from view. Third-party API credentials and environment hostnames belong here, set
once rather than repeated on each Resource. They are also what makes an App portable, since
moving it to another environment becomes a matter of changing the variables rather than
editing Resources.

Analytics are the metrics you define for the App: a Primary Analytic plus up to four
Secondary Analytics, each tying a measurement on a Resource (say, Service Tickets Resolved) to a period and, optionally, a goal line. They are per App rather than per component,
which is the point, and any of them can be marked to count toward the App's overall
Benefits figure.

Logs are unified across the App's Resources. Agent, Process and Service Ticket
activity appear in one searchable view rather than three separate ones.

## Working at the App level or the Resource level

Version control, access control and trigger management all work at either level. In
practice, most teams manage them at the App level and drop to the Resource level for the
exceptions, such as a Process that several Apps depend on and that needs its own access
rules.

## Related

- [Create an App](/build/create-an-app/)
- [Export and import an App](/build/export-import/)
- [Monitor App outcomes](/manage/app-analytics/)