App credentials BUSINESS APPS
Connected App (OAuth 2.0 username-password)
To connect Dex to your Salesforce organization, you need to configure a Connected App in Salesforce so Dex can authenticate securely using the OAuth 2.0 username-password flow.
Steps
- Log in to Salesforce as an Administrator, click the gear icon in the top right, and select Setup.
- In the Quick Find box, search for and select App Manager, then click New Connected App in the top right.
- Fill in Basic Information: Connected App Name: Dex Integration; API Name: Dex_Integration; Contact Email: your email address.
- In the API (Enable OAuth Settings) section, check Enable OAuth Settings and set the Callback URL to https://login.salesforce.com/services/oauth2/callback (required by Salesforce, but only a placeholder for this flow).
- Under Selected OAuth Scopes, add "Manage user data via APIs (api)" and "Perform requests on your behalf at any time (refresh_token, offline_access)", then click Save (it can take 2–10 minutes to activate).
- On the Connected App page, click Manage Consumer Details (verify your identity if prompted) and copy the Consumer Key and Consumer Secret.
- If your org has IP restrictions and you are not on a trusted network, reset a security token: user avatar > Settings > Reset My Security Token > Reset Security Token (it is emailed to you).
Paste into Dex
The connection form in the Dex app store asks for these values:
- Consumer Key
- Consumer Secret
- Revealed via Manage Consumer Details after verifying your identity.
- Username
- Password
- Security Token
- Only if your org has IP restrictions or you are off a trusted network.
Links on page: Open Salesforce console, Official docs.