Create an External Client App for Android
To create an external client app, log in to your Salesforce Developer Edition org and complete these steps.
- From Setup, in the Quick Find box, enter External Client, and then select External Client Apps Manager.
- Either click Edit Settings in the action menu for an existing external client app, or click New External Client App to create a new one.
-
If you’re creating a new
external
client app:
- Enter a unique name for your connected app. The API name field is auto-filled.
- Optionally, fill in other fields, such as a description for your connected app.
- Enter a contact email address.
- In the OAuth Settings section, select Enable OAuth Settings.
- Enter a callback URL.
- Select OAuth scopes. At a minimum, select Access and manage your data (api) and Perform requests on your behalf at any time (refresh_token).
- Under Push Notification Settings, select Enable Push.
- For Mobile Platform, select Android.
-
To configure Android push notifications using HTTP v1, complete these steps.
- For Firebase Admin SDK Private Key, upload the JSON file that contains the private key that you generated for your Firebase service account.
- For Firebase Project ID, enter the project ID that you collected from the Firebase project.
-
Save your work.
After saving the external client app, you get a consumer key. Mobile apps use this key as their connection token.