# Introduction

> What the Herald mobile SDK does and how it works with Herald decisions.

The Herald SDK is a library for iOS and Android apps. It collects first-party data from your app, registers devices for push notifications, and shows content cards and in-app messages.

| If you want to… | Start here |
|---|---|
| **iOS developer:** add the SDK, identify users and register for push | [Quickstart: iOS](/docs/overview/quickstart-ios) |
| **Android developer:** add the SDK, identify users and register for push | [Quickstart: Android](/docs/overview/quickstart-android) |
| **Backend developer:** send users and events, ask for a decision or export results | [Server API](/docs/reference/server-api) |
| **Backend developer:** send a message from your backend | [Send API](/docs/reference/send-api) |
| **Marketer:** write content cards and in-app messages | [Create cards](/docs/content-cards/authoring) and [Create in-app messages](/docs/in-app-messages/authoring) |
| **Marketer:** see how Herald picks and checks each send | [How delivery works](/docs/concepts/how-delivery-works) |
| **Admin:** verify users and handle deletion requests | [Security and identity verification](/docs/data-and-privacy/security-and-identity-verification) and [User data deletion](/docs/data-and-privacy/user-data-deletion) |
| **Admin:** connect your other tools | [Integrations overview](/docs/integrations/overview) |

## How it fits with Herald

Herald decides which message each user gets, on which channel and at what time, and learns from the result. The SDK is how those decisions reach your mobile app, and how your app reports back what users did.

- **Data in.** The SDK sends events, user attributes and device data to Herald. That data feeds the user profile each decision is based on.
- **Messages out.** When Herald picks a push notification, content card or in-app message for a user, the SDK registers the device for push, fetches the user's cards and messages, and displays them.
- **Outcomes back.** Impressions, clicks and dismissals are sent to Herald and linked to the decision that produced the message, so later decisions improve.

## Architecture

1. **Your app** calls the SDK to identify users and track events.
2. **The SDK** queues that data on the device and sends it to Herald in batches.
3. **Herald** stores the data, makes decisions and records which message each user should get.
4. **Delivery** happens through Apple Push Notification service (APNs) and Firebase Cloud Messaging (FCM) for push, and through the in-app feed the SDK fetches for content cards and in-app messages.

## Next steps

- [Platform support](/docs/overview/platform-support)
- [Quickstart: iOS](/docs/overview/quickstart-ios)
- [Quickstart: Android](/docs/overview/quickstart-android)
