To create a new connected app, click on ‘Setup’ On clicking ‘Setup’ button you will be redirected to the setup page.
From setup page navigate to Build -> Create -> Apps. On clicking ‘Apps’ link you will be redirected to the Apps page.
Now navigate to ‘Connected Apps’ section from Apps page and click on ‘New’
By clicking on ‘New’ button you will be navigated to the New Connected App page. Fill up the following details on this page:
-> Connected App Name: Enter the name of the connected app.
-> API Name: Enter the name of API.
-> Contact Email: Enter the contact email address.
-> Enable OAuth Settings: Check the checkbox to enable the OAuth settings.
After checking the checkbox, you will be presented with the following mandatory fields:
-> Callback URL: Set ‘https://login.salesforce.com/services/oauth2/token’ callback URL.
-> Selected OAuth Scopes: Set ‘Access and manage your data API’ by selecting the field and clicking on the ‘Add’ icon.
After providing the details, click on the ‘Save’ button to create the connected app. By clicking on the ‘Save’ button you will be redirected to the below screen.
Click on the ‘Continue’ button and you will be provided with the details of the newly created connected app.
To manage the connected app, click on the ‘Manage’ button.
On Clicking the‘ Manage’ button, you will be redirected to the Connected App Detail page.
From this page click on the ‘Edit Policies’ button to edit the policies for the connected app.
By clicking on the ‘Edit Policies’ button, you will be redirected to the Connected App Edit page. From this page, edit the IP restrictions by selecting the ‘Relax IP Restrictions’ option from the ‘IP Restrictions’ dropdown list.
To save the changes, click on ‘Save’