How to give users the freedom to generate API tokens for themselves?

Hello dear users of this forum. Recently I wanted to create a bot that would be useful on our forum, but it requires an API token to work. I am a very ordinary user and am not an administrator to generate a token, but the administrator is not at all opposed to allowing users to generate tokens for themselves. I would like to know how you can give this opportunity to users? I searched a little information on this forum, but there is little information related to my problem (I sincerely apologize if the answer already exists and I created an unnecessary topic).

This is for an API key for the forum, correct?
AFAIK Admins can create it and not normal users. A workaround would be to get the Admin to make it and then pass it on the the member.
However, a user has tried this method:

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