17 answers
1. Navigate to Setup> App Manager > Create new App
1.1 Enable OAuth Settings
1.2 Enable for Device Flow
1.3 Select OAuth scope
2. Click Save
3. Wait for 10 mins
4. Navigate to App Manager, click view from drop-down of your created app
5. Click Manage Consumer Details
That way you'll get Consumer Key and Consumer secret for Connected app