How to create a token?

Navigate to the API management screen and click the button to generate a new token. You must generate a token with both read and write scopes.

digital ocean token