# Add Elastic APM integration manually

**URL:** <https://discuss.elastic.co/t/add-elastic-apm-integration-manually/321816>\
**Category:** APM\
**Tags:** docker, server, elastic-agent\
**Created:** [December 22, 2022, 8:16am UTC](https://discuss.elastic.co/t/add-elastic-apm-integration-manually/321816 "2022-12-22T08:16:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hassan\_Malabeh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hassan_malabeh/32/82044_2.png) [@Hassan\_Malabeh](https://discuss.elastic.co/u/Hassan_Malabeh)\
**Post date:** [December 22, 2022, 8:16am UTC](https://discuss.elastic.co/t/add-elastic-apm-integration-manually/321816/1 "2022-12-22T08:16:04Z")

</div>

I've created a docker-compose file with some configurations that deploy **Elasticsearch** , **Kibana** , **Elastic Agent** all version 8.7.0.  
where in the Kibana configuration files I define the police I needed under xpack.fleet.agentPolicies, with single command all my environment goes up and all component connect successfully, the only issue is there is one manual step, which is I had to go to Kibana -\> Observability -\> APM -\> Add Elastic APM and then fill the Server configuration.

I want to automate this and manage this from the configuration files, I don't want to do it from the UI.

What is the way to do this? in which component? what is the path the configuration should be at?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 12, 2023, 4:16am UTC](https://discuss.elastic.co/t/add-elastic-apm-integration-manually/321816/2 "2023-01-12T04:16:29Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
