Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.alterauth.com/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Connect your users to Salesforce for CRM data, opportunity management, contact records, and sales automation.
PropertyValue
Provider IDsalesforce
CategoryPopular
PKCESupported (configurable; recommended)
Token refreshAutomatic
Redirect URIShown in Developer Portal

Step 1: Create a Salesforce External Client App

1

Log into your Salesforce org

Navigate to login.salesforce.com and sign in.
2

Open External Client App Manager

Go to Setup. In the Quick Find box, search for External Client App Manager and open it. Click New External Client App.
3

Enter basic information

Fill in:
  • External Client App Name and API Name (auto-populated)
  • Contact Email
  • Distribution State — Local for single-org use, Packaged for distribution across orgs
4

Enable OAuth settings

Enable OAuth Settings and add the Alter callback URL from the Developer Portal to the Callback URL field. Select the OAuth scopes the application needs (e.g., api, and refresh_token to enable refresh tokens).
5

Configure OAuth policies

After creating the app, open the Policies tab and click Edit. In the OAuth Policies section, enable the OAuth flows the application will use (Authorization Code is required for the standard web flow) and save.
6

Get credentials

Open SettingsOAuth Settings to copy the Consumer Key (Client ID) and Consumer Secret (Client Secret). Salesforce may require email verification before revealing the secret.
As of Spring ‘26, Salesforce blocks creation of new Connected Apps. New integrations must use External Client Apps. Existing Connected Apps continue to function. External Client Apps separate the app definition (created by the developer) from OAuth policy enforcement (managed by an admin) — both the app and its policies must be configured before the app can be used.
Never share the Consumer Secret publicly. Store it securely and only enter it in the Alter Vault Developer Portal.

Step 2: Add to Alter Vault

1

Open the Developer Portal

Go to portal.alterauth.com and navigate to your app.
2

Add Salesforce provider

Go to OAuth Providers > Add Provider > Salesforce.
3

Enter credentials

  • Client ID: Paste your Salesforce Consumer Key
  • Client Secret: Paste your Salesforce Consumer Secret
4

Select scopes

Choose the scopes your app needs.
5

Save

Click Save. The provider is now active.

Available Scopes

ScopeDescription
apiAccess the Salesforce REST API
refresh_tokenObtain a refresh token for long-lived access
fullFull access to all accessible data
idAccess to the user’s identity URL
chatter_apiAccess to Chatter API
webAccess to web services

Notes