Create a JIRA plugin ("Testlio Connect for Jira") token from your Testlio account.
Precondition: User has Admin permissions
Click "Generate new token"
From the dialog that appears, enter the token name and choose project(s) in which you want to use it
Select "Jira Plugin" as the token type
Click on "Generate token"
You should now see the token
Click on the "Copy to clipboard" icon, then paste the token to your script
Note:
You will be able to access the tokens later on, if necessary
If you choose to save the token elsewhere, you should store the token securely as for any password