# Add agent wrong documentation

**URL:** <https://discuss.elastic.co/t/add-agent-wrong-documentation/281512>\
**Category:** Kibana\
**Tags:** fleet\
**Created:** [August 16, 2021, 8:11am UTC](https://discuss.elastic.co/t/add-agent-wrong-documentation/281512 "2021-08-16T08:11:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lucas\_Van\_den\_Abbeel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lucas_van_den_abbeel/32/87276_2.png) [@Lucas\_Van\_den\_Abbeel](https://discuss.elastic.co/u/Lucas_Van_den_Abbeel)\
**Post date:** [August 16, 2021, 8:11am UTC](https://discuss.elastic.co/t/add-agent-wrong-documentation/281512/1 "2021-08-16T08:11:17Z")

</div>

```auto
./elastic-agent install -f --kibana-url=xxxx --enrollment-token=xxxxx

```

is not working  
unknown flag: --kibana-url

---

<div class="post-metadata">

**Author:** ![blaker](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/blaker/32/65621_2.png) [@blaker](https://discuss.elastic.co/u/blaker)\
**Post date:** [August 16, 2021, 12:30pm UTC](https://discuss.elastic.co/t/add-agent-wrong-documentation/281512/2 "2021-08-16T12:30:28Z")

</div>

I would check the documentation page you are using, and that you are running the latest version of Kibana.

The `--kibana-url` was renamed to `--url`, for the transition to the new Flet Server architecture.

---

<div class="post-metadata">

**Author:** ![Lucas\_Van\_den\_Abbeel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lucas_van_den_abbeel/32/87276_2.png) [@Lucas\_Van\_den\_Abbeel](https://discuss.elastic.co/u/Lucas_Van_den_Abbeel)\
**Post date:** [August 16, 2021, 4:10pm UTC](https://discuss.elastic.co/t/add-agent-wrong-documentation/281512/3 "2021-08-16T16:10:03Z")

</div>

This command was stated in the add new agent tutorial.  
Thanks for the quick answer.

---

<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:** [September 13, 2021, 4:10pm UTC](https://discuss.elastic.co/t/add-agent-wrong-documentation/281512/4 "2021-09-13T16:10:16Z")

</div>

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