# Accounts, apps, and environments

Start with an Organization or Personal account, then organize your apps and environments for SDK setup, dashboard views, and access control.

Source: https://appportal.io/docs/getting-started/model

Start with an **Organization** for your team or a **Personal account** for your own apps.
Each account contains apps, and each app has environments such as `production` and `staging`.
This is how you choose which data to send, view, and share in AppPortal.

## The hierarchy

- **Organization or Personal account** — the root that owns your apps, credentials,
  plan, and billing. An Organization also lets you manage members, teams, and their access.
  A Personal account belongs to one person. Each account's data is kept separate.
- **App** — an application within the account. Releases, crashes, analytics, and
  distribution artifacts all belong to an app.
- **Environment** — a stage or audience within an app, such as `production`, `staging`,
  `beta`, or `internal`.
  Telemetry is partitioned by environment so a staging spike never pollutes production
  health.

The dashboard calls these accounts **workspaces**. Use the workspace switcher to move
between your Personal account and the Organizations you can access. Switching accounts
changes the apps available to you; it does not combine their data.

## Platforms

An app can run on several **platforms**, such as iOS, Android, Windows, macOS, Linux, and
Web. These are its deployment targets. They belong to the same app: an Android build and
an iOS build can both send data to `production`, or both to `beta`.

The SDK reports the platform automatically. In the dashboard, select **Platform** to narrow
a view to one of them, or keep **All platforms** to see the whole app. Frameworks such as
.NET MAUI, Uno Platform, and Flutter are recorded separately from the platform.

## Set up an app

Select the account, app, and environment in the dashboard, then create an app credential.
Pass that credential to the SDK. It already identifies where telemetry belongs, so you
do not supply separate account, app, or environment values at startup.

For example, a credential for `storefront` in `staging` sends test sessions to that app's
staging environment. Use its production credential in your production build. Setting a
property on an event cannot redirect it into another account or environment.

## Find the right data

Select the same account, app, and environment when viewing the dashboard. Your sign-in
and membership determine what you can access; dashboard filters and API selectors only
narrow that access.

Within that view, AppPortal connects events, logs, exceptions, and lifecycle activity to
their session and release. If a record has no platform information, its platform reads
**Not reported**; it still appears when viewing all platforms. You can move from a reported error to its
[session timeline](https://appportal.io/docs/guides/investigate-session) without joining data yourself.

Continue with [Signing in](https://appportal.io/docs/getting-started/signing-in) to create or select an account,
or read [Account boundaries](https://appportal.io/docs/concepts/accounts-apps-environments) for more detail.
