# Overview

> A package in your app sends Pulse a heartbeat, the state of your database, Redis, queues, and scheduled jobs, and your logs. Packages exist for Node, PHP, Python, and Go.

- Section: Packages
- Availability: From the Free plan, logs and live mode on Pro and Team. Results on iPhone, iPad, Mac and Android.
- URL: https://pulse-app.si/en/docs/packages/overview

## What a package does

The package runs inside your app’s process, or right next to it in PHP. At a regular interval it sends Pulse a report, and that report is the heartbeat. It can also add the state of your dependencies, scheduled jobs, and versions. On Pro and Team, it also sends logs.

Diagram: From the command to the first signal: what changes in your project, what leaves your app, and where it goes.

## Choose a package

| Your app | Package | Install | Requires |
| --- | --- | --- | --- |
| [NestJS](https://pulse-app.si/en/docs/packages/nest) | `@pulse-si/nest` | `npx @pulse-si/init pk_live_…` | Node 18.17, NestJS 10 to 12 |
| [Next.js](https://pulse-app.si/en/docs/packages/next) | `@pulse-si/next` | `npx @pulse-si/init pk_live_…` | Node 18.17, Next.js 14 |
| [Laravel](https://pulse-app.si/en/docs/packages/laravel) | `pulse-si/laravel` | `composer require pulse-si/laravel` | PHP 8.1, Laravel 10 to 13 |
| [Symfony](https://pulse-app.si/en/docs/packages/symfony) | `pulse-si/symfony` | `composer require pulse-si/symfony` | PHP 8.1, Symfony 6.4 to 8 |
| [Django, FastAPI, Flask, script](https://pulse-app.si/en/docs/packages/python) | `pulse-python` | `pip install pulse-python` | Python 3.9 |
| [net/http, gin, echo, chi, fiber](https://pulse-app.si/en/docs/packages/go) | `pulse-app.si/go` | `go get pulse-app.si/go@latest` | Go 1.22 |

The versions shown are the oldest accepted. `@pulse-si/core` and [pulse-si/php](https://pulse-app.si/en/docs/packages/php) are the shared cores, installed with your framework’s package.

## The app’s key

1. In Pulse, tap **Add an App**, then **The Package**.
2. Name the app and pick its environment, **Prod** or **Staging**. Tap **Continue**.
3. Pulse shows the steps for your framework along with the key: `pk_live_…` in production, `pk_test_…` in staging.
4. Put it in your app’s `PULSE_KEY` variable, and keep it out of version control.

This key can only write this app’s state and gives no access to your account. It’s sent over HTTPS, in a header, never in a URL. If it leaks, go to **App Settings › Package Key › Create New Key**. The old one stops working right away.

## What is sent and what isn’t

| Data | When | Setting |
| --- | --- | --- |
| Heartbeat, package name and version, framework | Always | None |
| Dependency state: name, type, success, response time | By default | `checks` |
| Scheduled jobs: schedule, runs, success | By default | `crons` |
| Framework and app versions, startup time | By default | `versions` |
| Logs, with secrets masked | By default, if your plan keeps them | `logs` |

No queries, no business data and no environment variables are sent. The package uses your already connected clients, so it’s never given a database password. Any password that turns up in an error message is masked. For the field-by-field details, see [Exactly what is sent](https://pulse-app.si/en/docs/packages/payload).

## How often

The first report goes out 2 seconds after startup. The next ones follow the app’s interval, which the API returns with each response: 5 minutes at the shortest on Free, 30 seconds on Pro and Team. On Pro and Team, when a device is viewing the app, state goes out every 5 seconds and logs every second. See [Frequency and thresholds](https://pulse-app.si/en/docs/apps/rhythm).

## If Pulse doesn’t respond

The package never brings your app down. If Pulse can’t be reached, you get a single warning and sending resumes automatically. If the key is refused, sending stops until the next startup. Only the `track` functions hand an error back to you, and it’s your own job’s error. Package messages are written in English, whatever the system language.

- [npx @pulse-si/init](https://pulse-app.si/en/docs/packages/init): The command for NestJS and Next.js, and what it touches.
- [All variables](https://pulse-app.si/en/docs/packages/variables): Every setting and its default.
- [URL, signal or package](https://pulse-app.si/en/docs/apps/methods): Pick the right method for an app.
