# Any way to install/deploy oneagent in mulitple server using automation tool

**URL:** <https://community.dynatrace.com/t/any-way-to-install-deploy-oneagent-in-mulitple-server-using-automation-tool/20491>\
**Category:** Automations\
**Tags:** oneagent, automation\
**Created:** [April 30, 2019, 7:05am UTC](https://community.dynatrace.com/t/any-way-to-install-deploy-oneagent-in-mulitple-server-using-automation-tool/20491 "2019-04-30T07:05:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chiranjit\_dutt1](https://avatars.discourse-cdn.com/v4/letter/c/a9adbd/32.png) [@chiranjit\_dutt1](https://community.dynatrace.com/u/chiranjit_dutt1)\
**Post date:** [April 30, 2019, 7:05am UTC](https://community.dynatrace.com/t/any-way-to-install-deploy-oneagent-in-mulitple-server-using-automation-tool/20491/1 "2019-04-30T07:05:38Z")

</div>

Need to deploy one agent in multiple servers using Automation tool. Is there any any way or any API which can be used. As there are 100+ servers which require oneagent to be deployed, doing it manually will take lot of time.

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [April 30, 2019, 7:12am UTC](https://community.dynatrace.com/t/any-way-to-install-deploy-oneagent-in-mulitple-server-using-automation-tool/20491/2 "2019-04-30T07:12:51Z")

</div>

There is API in dynatrace that will result you alway latest binary. You can use it in ansible or technology of your choice.

Go to your tenant and open right-top menu:

 ![20395-zrzut-ekranu-2019-04-30-o-091132.png](https://global.discourse-cdn.com/dynatrace/original/3X/1/e/1ee37508f81d3bccbfc2c32562d416bdc4aa4d0c.png)

go to Environment API and there is section Deplotment

 ![20396-zrzut-ekranu-2019-04-30-o-091226.png](https://global.discourse-cdn.com/dynatrace/original/2X/3/3a75f52dbbeab39865ed532f4b4a996273444da3.png)

Sebastian

---

<div class="post-metadata">

**Author:** ![wolfgang\_beer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/wolfgang_beer/32/14717_2.png) [@wolfgang\_beer](https://community.dynatrace.com/u/wolfgang_beer)\
**Post date:** [April 30, 2019, 7:20am UTC](https://community.dynatrace.com/t/any-way-to-install-deploy-oneagent-in-mulitple-server-using-automation-tool/20491/3 "2019-04-30T07:20:53Z")

</div>

Your Dynatrace environment offers a convenient REST API for OneAgent download. You can easily trigger that by using a command line or shell script and automatically download your preconfigured OneAgent.

 ![20397-agent.png](https://global.discourse-cdn.com/dynatrace/original/2X/a/af0053b19bea6ac2dd08dab1ae8935a78cf6f438.png)

Most customers use this API to automate the agent deployment within their pipeline tool of choice, such as Ansible Tower.
