Log in to your sandbox PayPal account.
Go to Settings (Gear Icon) > Account Settings > API Access.
Select NVP/SOAP API integration (Classic) > Manage API Credentials > Request API Signature.
You can find API Username, API Password, and API Signature.