---
type: api
title: Installs the privileged access detection package for the Entity Analytics privileged user monitoring experience
description: **Spaces method and path for this operation:**
url: https://www.elastic.co/elastic/docs-builder/docs/4641/api/doc/kibana/v9/operation/operation-installprivilegedaccessdetectionpackage
resource: https://www.elastic.co/elastic/docs-builder/docs/4641/api/doc/kibana/v9/operation/operation-installprivilegedaccessdetectionpackage
products:
  - Kibana
---

# Installs the privileged access detection package for the Entity Analytics privileged user monitoring experience

Authentication: required

- Server: `https://{kibana_url}`

## Paths

- `POST` `/api/entity_analytics/privileged_user_monitoring/pad/install`
- `POST` `/s/{space_id}/api/entity_analytics/privileged_user_monitoring/pad/install`

#### Path parameters

- `space_id` (string) — optional
  An identifier for the space. If `space_id` is not provided in the URL, the default space is used. Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

## Description

Installs the privileged access detection integration package and sets up the associated ML modules required for the Entity Analytics privileged user monitoring experience.

## Response

Successful response

`application/json`

- `message` (string)
## Code examples

#### Console

```console
POST kbn:/api/entity_analytics/privileged_user_monitoring/pad/install
```

#### curl

```curl
curl -X POST "${KIBANA_URL}/api/entity_analytics/privileged_user_monitoring/pad/install" \
  -H "Authorization: ApiKey ${API_KEY}"
```

## Response examples

#### Package installed successfully

`application/json`

```json
{
  "message": "Privileged access detection package installed successfully"
}
```

