# Bin/elasticsearch-create-enrollment-token --scope kibana

**URL:** <https://discuss.elastic.co/t/bin-elasticsearch-create-enrollment-token-scope-kibana/361715>\
**Category:** Kibana\
**Tags:** docker\
**Created:** [June 19, 2024, 9:00am UTC](https://discuss.elastic.co/t/bin-elasticsearch-create-enrollment-token-scope-kibana/361715 "2024-06-19T09:00:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![g0nz0](https://avatars.discourse-cdn.com/v4/letter/g/b5e925/32.png) [@g0nz0](https://discuss.elastic.co/u/g0nz0)\
**Post date:** [June 19, 2024, 9:00am UTC](https://discuss.elastic.co/t/bin-elasticsearch-create-enrollment-token-scope-kibana/361715/1 "2024-06-19T09:00:06Z")

</div>

Hello,

I'm trying to get something called Elastiflow working. I'm newish to Docker and very new to the ELK setup.

I've followed this:

> **[From Zero to Flow: Setting up ElastiFlow in Minutes • ElastiFlow](https://www.elastiflow.com/blog/posts/from-zero-to-flow-setting-up-elastiflow-in-minutes)**
>
> Setting up ElastiFlow can be accomplished in minutes. This post will show you how to get ElastiFlow monitoring your network traffic.

This is my docker compose file:

> **[elastiflowv1 - Pastebin.com](https://pastebin.com/9nPhpgrL)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

When I go to [http://192.168.100.100:5601/](http://192.168.100.100:5601/) I get "paste enrolment token"

and try:

bin/elasticsearch-create-enrollment-token --scope kibana

As it's docker do I do this in the container? I'm stuck at this part and can't find much on this.

Thanks
