The new API uses OAuth2.0 for it’s API authentication. The simplest way is follow the steps here: http://docs.identityserver.io/en/latest/quickstarts/2_resource_owner_passwords.html#requesting-a-token-using-the-password-grant
SedonaCloudClient
Client secret guide