Newer Version Available

This content describes an older version of this product. View Latest

Step Two: Set Up Authorization

Create a connected app in a Salesforce organization and enable OAuth. The client application uses the connected app to connect to Salesforce.
  1. In your Developer Edition organization, from Setup, enter Apps in the Quick Find box.
    1. If you’re using Lightning Experience, select App Manager and click New Connected App to create a connected app.
    2. If you’re using Salesforce Classic, select Build > Create > Apps. Under Connected Apps, click New to create a connected app.
    Clients can use a connected app to sign in to any organization, even if the connected app isn’t defined in that organization.
  2. Enter a connected app name.
  3. Enter the contact email and any other required information.
  4. Select Enable OAuth Settings.
  5. Enter a Callback URL. It must be secure: http:// does not work, only https:// works.
    For this quick start, you can simply enter https://.
  6. Enter an OAuth scope. Select Access and manage your Chatter feed in addition to any other scope you want your connected app to allow access to.
  7. Click Save.
    The Consumer Key is created and displayed, and a Consumer Secret is created (click the link to reveal it).