How to download the Process Packages from orchestrator using API

Thanks @Anil_G I was able to get the client secret
I’m trying to generate token in UiPath using BaseURL/[OrgName]/[TenantName]/api/account/authenticate but it says invalid credentials in response. wherein the credentials are correct