# Custom integration

**URL:** <https://discuss.elastic.co/t/custom-integration/324819>\
**Category:** Elastic Agent\
**Created:** [February 6, 2023, 5:54pm UTC](https://discuss.elastic.co/t/custom-integration/324819 "2023-02-06T17:54:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![adrien\_moreau](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adrien_moreau/32/101590_2.png) [@adrien\_moreau](https://discuss.elastic.co/u/adrien_moreau)\
**Post date:** [February 6, 2023, 5:54pm UTC](https://discuss.elastic.co/t/custom-integration/324819/1 "2023-02-06T17:54:49Z")

</div>

Hi,

I would like to build my own custom elastic integration for a self managed elk.

I read documentation here: [https://www.elastic.co/guide/en/integrations-developer](https://www.elastic.co/guide/en/integrations-developer)

I would like to know if the only way to use that integration was to publish it to the official integrations repository?  
Isn't it possible to setup fleet with custom package repository in addition with official package repository?

---

<div class="post-metadata">

**Author:** ![nuno](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nuno/32/117086_2.png) [@nuno](https://discuss.elastic.co/u/nuno)\
**Post date:** [February 10, 2023, 8:03am UTC](https://discuss.elastic.co/t/custom-integration/324819/2 "2023-02-10T08:03:16Z")

</div>

Hi!

You can [host your own Elastic Package Registry](https://www.elastic.co/guide/en/fleet/8.6/air-gapped.html#air-gapped-diy-epr).

In order to serve a package from the local registry you have to [build it using `elastic-package build`](https://github.com/elastic/elastic-package#elastic-package-build).

---

<div class="post-metadata">

**Author:** ![adrien\_moreau](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adrien_moreau/32/101590_2.png) [@adrien\_moreau](https://discuss.elastic.co/u/adrien_moreau)\
**Post date:** [February 22, 2023, 3:30pm UTC](https://discuss.elastic.co/t/custom-integration/324819/3 "2023-02-22T15:30:04Z")

</div>

Yes that is what I ended up doing, thx for your reply

---

<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:** [March 22, 2023, 3:30pm UTC](https://discuss.elastic.co/t/custom-integration/324819/4 "2023-03-22T15:30:59Z")

</div>

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