# Empty Agent policy

**URL:** <https://discuss.elastic.co/t/empty-agent-policy/321650>\
**Category:** Kibana\
**Tags:** fleet\
**Created:** [December 20, 2022, 1:22pm UTC](https://discuss.elastic.co/t/empty-agent-policy/321650 "2022-12-20T13:22:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nestro](https://avatars.discourse-cdn.com/v4/letter/n/c57346/32.png) [@nestro](https://discuss.elastic.co/u/nestro)\
**Post date:** [December 20, 2022, 1:22pm UTC](https://discuss.elastic.co/t/empty-agent-policy/321650/1 "2022-12-20T13:22:09Z")

</div>

Hi! I can't select a policy for fleet, I've tried to reinstall the whole Stack but it doesn't work either.

The problem:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/c/ec9d35866bf4513d06a62b3cd4e9bd2f3ffdc9ac.png)

The default policies:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/5/d532141159269fe37c731982e0a23f2312cb933e.png)

---

<div class="post-metadata">

**Author:** ![Mark\_Hopkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_hopkin/32/92593_2.png) [@Mark\_Hopkin](https://discuss.elastic.co/u/Mark_Hopkin)\
**Post date:** [December 20, 2022, 1:47pm UTC](https://discuss.elastic.co/t/empty-agent-policy/321650/2 "2022-12-20T13:47:34Z")

</div>

Hi nestro,

It looks like something has gone wrong with your Fleet setup as "Default Fleet Server policy" should have the Fleet Server integration added.

You can fix this by going into "Default fleet server policy" -\> Add Integration -\> Fleet Server -\> add integration.

I think the policy should then appear in the dropdown,

Let me know how you get on!

Mark

---

<div class="post-metadata">

**Author:** ![nestro](https://avatars.discourse-cdn.com/v4/letter/n/c57346/32.png) [@nestro](https://discuss.elastic.co/u/nestro)\
**Post date:** [December 20, 2022, 2:13pm UTC](https://discuss.elastic.co/t/empty-agent-policy/321650/3 "2022-12-20T14:13:39Z")

</div>

Thanks for the fast reply! When I'd like to add an integration the following problem appears and beacuse of that I can't find the Fleet integration:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/0/a0f6736f400638632ef1665057ef5760a80b1b74.png)

---

<div class="post-metadata">

**Author:** ![Mark\_Hopkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_hopkin/32/92593_2.png) [@Mark\_Hopkin](https://discuss.elastic.co/u/Mark_Hopkin)\
**Post date:** [December 20, 2022, 2:19pm UTC](https://discuss.elastic.co/t/empty-agent-policy/321650/4 "2022-12-20T14:19:39Z")

</div>

Is your kibana installation able to connect to the internet? By default Kibana downloads package metadata and content from the public Elastic Package Registry at [epr.elastic.co](https://epr.elastic.co/).

Not being able to connect to the registry is what has prevented the Fleet Server integration being added on Fleet setup.

If you are in an air-gapped environment, there are some instructions to help here:

> **[Air-gapped environments | Fleet and Elastic Agent Guide \[8.5\] | Elastic](https://www.elastic.co/guide/en/fleet/current/air-gapped.html)**

Hope that helps,

Mark

---

<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 17, 2023, 2:20pm UTC](https://discuss.elastic.co/t/empty-agent-policy/321650/5 "2023-01-17T14:20:28Z")

</div>

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