If you do not have an account in the affiliate program Cityads create it.
Follow Office -> Private office -> API and get your Remote_auth Key.
Office
Private office
API
Remote_auth