Newer Version Available

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

Create a Connected App for Android

To create a connected app, log in to your Salesforce Developer Edition org and perform these steps.

  1. From Setup, enter Apps in the Quick Find box, then select Apps.
  2. In the Connected Apps section, click either Edit next to an existing connected app, or New to create a new connected app.
  3. If you’re creating a new connected app:
    1. Enter a unique name for your connected app. The API name field is auto-filled.
    2. Optionally, fill in other fields, such as a description for your connected app.
    3. Enter a contact email address.
    4. In the OAuth Settings section, select Enable OAuth Settings.
    5. Enter a callback URL.
    6. Select OAuth scopes. At a minimum, select Access and manage your data (api) and Perform requests on your behalf at any time (refresh_token).
  4. Under Mobile App Settings, select Push Messaging Enabled.
  5. For Supported Push Platform, select Android GCM.
  6. For Key for Server Applications (API Key), enter the key you obtained during the developer registration with Google.
    Creating a Connected App for Android
  7. Click Save.
    After saving a new connected app, you’ll get a consumer key. Mobile apps use this key as their connection token.