﻿---
title: Enable automatic installation for content packages
description: Enable automatic installation for your content package if data with a matching dataset is ingested in Elasticsearch.
url: https://www.elastic.co/elastic/docs-builder/docs/3028/extend/integrations/auto-install-content-packages
products:
  - Elastic integrations
---

# Enable automatic installation for content packages
As of version 9.2.0, Kibana can automatically install content packages when it detects matching data in Elasticsearch. This feature uses the `data_stream.dataset` attribute to identify relevant content and install assets such as dashboards and alerts without requiring user intervention.
When data is ingested with a specific `data_stream.dataset` value, Kibana checks the Elastic Package Registry for content packages that have at least one matching dataset defined in their `discovery.datasets` field. If there is a matching content package, Kibana automatically installs it.

## Requirements

- Kibana version 9.2.0 or later
- The `format_version` in the content package's `manifest.yml` must specify `3.4.1` or later.


## Configuration

To enable automatic installation for your content package, add the `discovery.datasets` property to your package's `manifest.yml` file. This property should be defined as an array of objects, each with a `name` field specifying a dataset. For example:
```yml
# my_content_package/manifest.yml

format_version: 3.4.1
name: my_content_package
version: 1.0.0
type: content

# ...

discovery:
  fields: []
  datasets:
    - name: my.dataset
    - name: other.dataset
```

If you publish a content package with this configuration, Kibana will automatically install the package when data with `data_stream.dataset: "my.dataset"` or `data_stream.dataset: "other.dataset"` is ingested in Elasticsearch.