1) Log in to https://id.atlassian.com/manage/api-tokens. 2) Click "Create API token". 3) From the dialog that appears, enter a memorable and concise Label for your token and click Create. 4) Click Copy to the clipboard, then paste the token to your script, or elsewhere to save