# How to Install APM Server in Legacy mode without Elastic APM Integration

**URL:** <https://discuss.elastic.co/t/how-to-install-apm-server-in-legacy-mode-without-elastic-apm-integration/325724>\
**Category:** Elastic Observability\
**Created:** [February 16, 2023, 11:33am UTC](https://discuss.elastic.co/t/how-to-install-apm-server-in-legacy-mode-without-elastic-apm-integration/325724 "2023-02-16T11:33:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mikele](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikele/32/116173_2.png) [@Mikele](https://discuss.elastic.co/u/Mikele)\
**Post date:** [February 16, 2023, 11:33am UTC](https://discuss.elastic.co/t/how-to-install-apm-server-in-legacy-mode-without-elastic-apm-integration/325724/1 "2023-02-16T11:33:45Z")

</div>

I would like to install APM Server in old way so in Legacy.  
I have few problems with this installation.  
Could someone explain me two cases:

1. Is it possible to install APM in Legacy mode without this step?  
[Step 2: Set up and configure | APM User Guide [8.6] | Elastic](https://www.elastic.co/guide/en/apm/guide/8.6/apm-server-configuration.html#_install_the_apm_integration)

APM Integration is neccessary also in legacy mode?

1. If yes. How it is possible to install APM Integration without access to internet, without any external artifacts, proxies or servers?

Is there any binaries or plugins to install this? I saw this page [Air-gapped environments | Fleet and Elastic Agent Guide [8.6] | Elastic](https://www.elastic.co/guide/en/fleet/8.6/air-gapped.html) but not good for my case.

---

<div class="post-metadata">

**Author:** ![axw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/axw/32/28197_2.png) [@axw](https://discuss.elastic.co/u/axw)\
**Post date:** [February 20, 2023, 3:29am UTC](https://discuss.elastic.co/t/how-to-install-apm-server-in-legacy-mode-without-elastic-apm-integration/325724/2 "2023-02-20T03:29:34Z")

</div>

> [@](#):
>
> 1. Is it possible to install APM in Legacy mode without this step?  
> [Step 2: Set up and configure | APM User Guide [8.6] | Elastic](https://www.elastic.co/guide/en/apm/guide/8.6/apm-server-configuration.html#_install_the_apm_integration)
> 
> APM Integration is neccessary also in legacy mode?

The integration package is needed even when running in legacy mode. This is what installs index templates, ingest pipelines, and ILM policies in Elasticsearch.

> [@](#):
>
> 1. If yes. How it is possible to install APM Integration without access to internet, without any external artifacts, proxies or servers?
> 
> Is there any binaries or plugins to install this? I saw this page [Air-gapped environments | Fleet and Elastic Agent Guide [8.6] | Elastic](https://www.elastic.co/guide/en/fleet/8.6/air-gapped.html) but not good for my case.

It should be enough to add this to your `kibana.yml` config file:

```yaml
xpack.fleet.packages:
- name: apm

```

Then when you (re)start Kibana, it should install the integration package. The APM integration package is bundled with Kibana, hence you don't need to run a separate Elastic Package Registry container, etc.

---

<div class="post-metadata">

**Author:** ![Mikele](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikele/32/116173_2.png) [@Mikele](https://discuss.elastic.co/u/Mikele)\
**Post date:** [February 20, 2023, 11:50am UTC](https://discuss.elastic.co/t/how-to-install-apm-server-in-legacy-mode-without-elastic-apm-integration/325724/3 "2023-02-20T11:50:05Z")

</div>

😲 😲  
It is working great!  
Thank you a lot lot lot!
