> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zentien.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Install the Salesforce Package

> Install the Zentien package into your Salesforce org.

## What gets installed

The Zentien Salesforce package (v0.2.0) contains the following components:

| Component                | Type           | Purpose                                                   |
| ------------------------ | -------------- | --------------------------------------------------------- |
| `ErrorEvent__e`          | Platform Event | Carries error data from your org to Zentien in real time  |
| `ErrorLogger.cls`        | Apex Class     | Utility you call in try/catch blocks and Flow fault paths |
| `CalloutEvent__e`        | Platform Event | Carries outbound callout data to Zentien                  |
| `ZentienHttpCallout.cls` | Apex Class     | Drop-in wrapper for `Http.send()` to track callouts       |
| `Zentien_Log_Flow_Error` | Flow           | Subflow to add to any Flow fault path                     |

All components are fully open source — you can view, inspect, and fork the code on [GitHub](https://github.com/sandro-zentien/zentien).

## Installation

Open the install link while logged into your Salesforce org:

**[Install Zentien Package v0.2.0 →](https://login.salesforce.com/packaging/installPackage.apexp?p0=04tdL000000ULlNQAW)**

**For sandbox orgs**, use this link instead:

**[Install Zentien Package v0.2.0 (Sandbox) →](https://test.salesforce.com/packaging/installPackage.apexp?p0=04tdL000000ULlNQAW)**

### Installation options

When prompted, select **Install for All Users** — this ensures `ErrorLogger.log()` can be called from any Apex context regardless of which user triggers it.

<Note>
  If you installed a previous version, Salesforce will show an **Upgrade** option. Your existing data and configuration is preserved.
</Note>

## Verify the installation

After installation, confirm the components exist in your org:

1. Go to **Setup → Platform Events** — you should see `ErrorEvent__e` and `CalloutEvent__e`
2. Go to **Setup → Apex Classes** — you should see `ErrorLogger`, `ErrorLoggerTest`, `ZentienHttpCallout`, `ZentienHttpCalloutTest`
3. Go to **Setup → Flows** — you should see `Zentien Log Flow Error`

## Next step

<Card title="Connect your org" icon="plug" href="/setup/connect-org">
  Authenticate your org with Zentien so it can receive your error events.
</Card>
