# Generate service token button does not work

**URL:** <https://discuss.elastic.co/t/generate-service-token-button-does-not-work/335458>\
**Category:** Elastic Agent\
**Created:** [June 7, 2023, 6:06pm UTC](https://discuss.elastic.co/t/generate-service-token-button-does-not-work/335458 "2023-06-07T18:06:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marcos\_Ivan\_Robles\_H](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marcos_ivan_robles_h/32/121557_2.png) [@Marcos\_Ivan\_Robles\_H](https://discuss.elastic.co/u/Marcos_Ivan_Robles_H)\
**Post date:** [June 7, 2023, 6:06pm UTC](https://discuss.elastic.co/t/generate-service-token-button-does-not-work/335458/1 "2023-06-07T18:06:02Z")

</div>

If you are asking about a problem you are experiencing, please use the following template, as it will help us help you. If you have a different problem, please delete all of this text 🙂

TIP 1: select at least one tag that further categorizes your topic. For example `server` for APM Server related questions, `java` for questions regarding the Elastic APM Java agent, or `ui` for questions about the APM App within Kibana.

TIP 2: Check out the [troubleshooting guide](https://www.elastic.co/guide/en/apm/get-started/current/troubleshooting.html) first. Not only will it help you to resolve common problems faster but it also explains in more detail which information we need before we can properly help you.

**Kibana version** :

**Elasticsearch version** : 8.6.0

**APM Server version** :

**APM Agent language and version** : 8.6.0 C#

**Browser version** :

**Original install method (e.g. download page, yum, deb, from source, etc.) and version**:  
Windows download form quickstart

**Fresh install or upgraded from other version?**  
Fresh

**Is there anything special in your setup?** For example, are you using the Logstash or Kafka outputs? Are you using a load balancer in front of the APM Servers?

Nothing special

**Description of the problem including expected versus actual behavior. Please include screenshots (if relevant)**:

Trying to add a fleet server in the advanced tap, when I click the button "Generate service token" it does not generate nothing, What I need to configure to get a service token there?

**Steps to reproduce** :

1. 

```
Go to management tab -> Fleet

```

2. 

```
Click Add Fleet Server button

```

3. 

```
Choose Advanced

```

4. 

```
Click Generate Service Token button

```

**Errors in browser console (if relevant)**:

**Provide logs and/or server output (if relevant)**:

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

---

<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:** [July 5, 2023, 6:06pm UTC](https://discuss.elastic.co/t/generate-service-token-button-does-not-work/335458/2 "2023-07-05T18:06:41Z")

</div>

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