How to Create Connected Apps for Salesforce Mobile Applications?

How to Create Connected Apps for Salesforce Mobile Applications
Table of Contents

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
blog img

Figure – 2blog img

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.

blog img

 

Enter Custom Connected App Handler

blog img

In Apex Plugin Class enable for any specific user.

Enter Mobile Application Settings For(Android & iOS)

blog img

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

blog img

Enter Canvas Application Settings.

blog img

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.

Get thoughtful updates on what’s new in technology and innovation

    Want to build CRM Solutions with Salesforce?

    Share it:
    As the Head of Technology at GetOnCRM, I thrive on transforming complex technical landscapes into scalable, business-first solutions. With years of experience leading innovative projects, I’m passionate about leveraging Salesforce and emerging technologies to help organizations achieve seamless digital transformation. My focus is always on creating a synergy between technology and business goals.