Step 1: Click on "Site admin" > "Integrations" > "Manage tokens":
Step 2: Click on "Create Token":
Step 3: (1) Select the user you wish to give the API Token to, (2) Select "API" then (3) Save:
Step 4: Share this token with the user or save it if it's your own for later use as per the guides below: