Navigate to Management > Service Users and click +Create.
Click the drop-down in the Expires In field and select your expiry date /hours from 1 hour to 1 Year.
Select scope level. you can select Account or Tenant Level.
At Account level or Tenant level, you can select an options Read only or Admin.
Click Confirm will create a service user as shown below.
You are viewing this token for the last time, and ensure to copy the token if you wish to use it later.