Navigate to Settings > Project settings > Service accounts.
Click + Add service account.
Enter Service account name and select Project role.
Click Add.
Copy Username and copy Secret.
Note: Make sure you save the service account secret because you cannot see the secret again.To authenticate using your API credentials, navigate to the Mixpanel authentication form.
Enter your credentials as follows: