Login to your Desk.com account via your Desk.com subdomain.
https://{your_subdomain}.desk.com/admin/settings/api-applications
Select the Admin Profile
Click "Settings"
Click "API > My Applications"
Click "Add API Application"

Complete form
Click "Add"

Copy the Key and Secret
Click "Your Access Token"

Copy Token and Token Secret

Next create an instance.