Configuration
We will have to generate a token, which will be the key that will access through the api to the data of our account, this is generated in the following way.
Go to api from the digital ocean menu:
Click on generate new token :
We give it a name and the permissions we are interested in and we generate it:
Recuerda guardar bien el token porque solo saldrá una vez, si se extravĂa siempre se puede crear otro nuevo.