# Setting Agent Binary Download in kibana.yml

**URL:** <https://discuss.elastic.co/t/setting-agent-binary-download-in-kibana-yml/360958>\
**Category:** Kibana\
**Created:** [June 6, 2024, 12:19pm UTC](https://discuss.elastic.co/t/setting-agent-binary-download-in-kibana-yml/360958 "2024-06-06T12:19:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lduvnjak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lduvnjak/32/77724_2.png) [@lduvnjak](https://discuss.elastic.co/u/lduvnjak)\
**Post date:** [June 6, 2024, 12:19pm UTC](https://discuss.elastic.co/t/setting-agent-binary-download-in-kibana-yml/360958/1 "2024-06-06T12:19:22Z")

</div>

Hey Everyone,

Is it possible to set the [Agent Binary Download](https://www.elastic.co/guide/en/fleet/current/fleet-settings.html#fleet-agent-binary-download-settings) through an option in the kibana.yml?  
Pretty much everything fleet related can be configured that way aside from this.

As is seen in the [documentation](https://www.elastic.co/guide/en/fleet/8.14/air-gapped.html), it is said that you can host your own EPR and Artifact Binary Download. However, only the EPR can be set by default through the configuration.

Cheers,  
Luka

---

<div class="post-metadata">

**Author:** ![nchaulet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nchaulet/32/77896_2.png) [@nchaulet](https://discuss.elastic.co/u/nchaulet)\
**Post date:** [June 11, 2024, 4:54pm UTC](https://discuss.elastic.co/t/setting-agent-binary-download-in-kibana-yml/360958/2 "2024-06-11T16:54:46Z")

</div>

Hi @lduvnjak

Unfortunately it's not possible to configure download source currently in kibana config, I created an issue for us to track that [[Fleet] Allow to configure download source through kibana config · Issue #186008 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/186008)

In the mean time if you want to automate that it can be done through Fleet APIs [Fleet APIs | Fleet and Elastic Agent Guide [8.14] | Elastic](https://www.elastic.co/guide/en/fleet/current/fleet-apis.html#AgentBinaryDownloadSources)

---

<div class="post-metadata">

**Author:** ![lduvnjak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lduvnjak/32/77724_2.png) [@lduvnjak](https://discuss.elastic.co/u/lduvnjak)\
**Post date:** [June 17, 2024, 7:40am UTC](https://discuss.elastic.co/t/setting-agent-binary-download-in-kibana-yml/360958/3 "2024-06-17T07:40:32Z")

</div>

Hi @nchaulet

Thanks for confirming that and opening the issue.  
We'll probably wait on the enahncement since it's not that big of a deal to have to change it manually.

Cheers,  
Luka
