Hi @azamrik ,
There are basically two options you have. Either you say
endpoint = 'https://app.eu.datarobot.com/api/v2/'
token = 'MY_TOKEN'
client = dr.Client(endpoint=endpoint, token=token)
Then all subsequent calls to datarobot, like dr.Project.start(...) will work with the credentials stored in your current python session. Please note I am using the European cloud environment here - please adjust to your endpoint.
The other option is to create a file under ~/.config/datarobot/drconfig.yaml with the following content:
this will then be used by any call to datarobot implicitly, without the need to specify token and endpoint in each python session again.