Articles

How to Create Connected Apps for Salesforce Mobile Applications?

by Mikesh Patel CEO at GetOnCRM Solutions

How to create connected Apps in salesforce :

  1. Log in to Salesforce as an administrator.
  2. In the drop-down list of the account (in the upper-right corner), select Setup.
  3. In the left-hand pane, go to App Setup > Create >Apps.
  4. In the Connected Apps page, click the New button.
  5. On the New Connected App page, fill the following required fields under Basic Information: (Check Figure 1)
    1.  Connected App Name.
    2.  API name.
    3.  Contact Email.
  6. Go to API (Enable OAuth Settings), and select Enable OAuth Settings.
    1.  In the Callback URL field, enter https://login.salesforce.com/.
    2.  In the Selected OAuth Scopes field, select Access and manage your data (API), and then click Add.
  7. Click the Save button to save the new Connected App.
  8. In the Connected Apps list, find the App that you just created, and then click Manage.
    1.  On the page that opens, click the Edit button.
    2.  Under OAuth policies, select All users may self-authorize in the Permitted Users list, and then click the Save button.
  9. Go back to the Connected Apps list, and click the App that you just created.
  10.   Go to API (Enable OAuth Settings)(Check Figure 2)

Figure – 1

Figure – 2

Enter Web App Settings and Save

Scroll down to Web App Settings and do the following:

  1. Check Enable SAML
  2. Enter Screen Steps-Live for the Entity Id
  3. Enter the ACS URL from Screen Steps here. This is the SAML Consumer URL from the Single Sign-on End point you created in Screen Steps.
  4. Set Subject Type to Username
  5. Set Name ID Format to urn:oasis:names:tc:SAML:2.0:nameid-format:persistent
  6. Select Save.

Enter Custom Connected App Handler

In Apex Plugin Class enable for any specific user.

Enter Mobile Application Settings For(Anroid & iOS)

Here for mobile you have to give the mobile url.
For mobile Pin Protection or Push Messaging setting enable from mobile App Settings.

For Android or iOS you have to add binary file and certification add here related firebase account or whatever you have to used for push notification.
You have selection criteria over there what  to use mobile or tablet or Mini Tablet or iPad.

For Push notification you have to enter the token authorization and certification authorization and upload signing Key and Push Certification

Enter Canvas Application Settings.

This setting used for Lightning  Environment For chatter Feed, chatter Tab, Console, Layouts and Mobile cards, Lightning Component, Mobile Nav, Open CTI, Publisher and Visualforce page.


Sponsor Ads


About Mikesh Patel Freshman   CEO at GetOnCRM Solutions

16 connections, 0 recommendations, 48 honor points.
Joined APSense since, December 24th, 2019, From Ahmedabad, India.

Created on Jan 10th 2020 07:16. Viewed 463 times.

Comments

No comment, be the first to comment.
Please sign in before you comment.