Assuming you have tape-cli installed, it’s really simple
Step 1
In your terminal:
tape login
This should open up a page on tape.sh - login if you need to, and the
website will generate a new CLI token for you on the dashboard
Step 2
Copy the generated token