Make sure you have the public key file saved on your system. When you create the ExternalClientApp, you'll require the file to upload. If you don't have a self-signed certificate, follow the steps to Create a Private Key and Self-Signed Digital Certificate.
- From Setup, in the Quick Find box, enter
External Client Apps. - Click External Client App and then click New External Client App.
- Under Basic Information, enter this information.
- External Client App Name:
{prefix} {externalClientAppName} - API Name:
{prefix}_{externalClientAppName} - Contact Email: [notification email]
- Description: [optional description]
- External Client App Name:
- Under API (Enable OAuth Settings), click Enable OAuth.
- Add a callback URL (endpoint), which is the same as the OAuth redirect URI. We recommend you use
https://www.salesforce.com/in. - Select these OAuth Scopes:
- Access Interaction API resources (
interaction_api) - Perform Requests at any time (
refresh_token,offline_access)
- Access Interaction API resources (
- Click Enable JWT Bearer Flow and upload the public certificate. For more information on JWT Bearer Flow and certificates, see JWT Bearer Flow.
- Click Create.
- Click the Policies tab and then click Edit.
- Under OAuth Policies, from Permitted Users select Admin approved users are pre-authorized, and then click Ok.
- Under Select Profiles, select the System Administrator profile.
- Click Save.
Next Steps
After you create the external client app, generate an access token.