Hi,
Enter Apps in the Quick Find box, select Apps (under Build | Create), then click the name of the connected app. Enable OAuth settings and specify your callback URL and OAuth scopes. On clicking SAVE, a consumer key and consumer secret are generated.