I'm sorry, but I didn't understand anything about the tutorial on this link. You can use the script and follow the instructionshereto get an access token and refresh token. Using those as well as the consumer key and secret I already had gave me a successful connection. Annoyingly though...
- Download the credential.json.bytes from the created application management page and import into the project - Scripting### How to create integrated apps  ### Name of the app - The name of the app you are creating##...