Set up username-password flow
Important
Atlan currently supports Salesforce Sales Cloud and Financial Services Cloud (FSC).
Atlan supports the Salesforce OAuth 2.0 username-password flow for scenarios where server-to-server integration isn't possible. This flow enables Atlan to authenticate using the integration user's credentials along with a connected app in Salesforce.
Prerequisites
Before you begin, make sure you have:
- Salesforce administrator access
- Network connectivity between Atlan and your Salesforce instance
Create connected app
- Log in to Salesforce.
- In the upper right, click the settings icon and select Setup.
- In Setup, enter
apps
in the Quick Find box and select App Manager. - Click New Connected App in the upper-right corner.
- Under Basic Information, provide:
- Connected App Name: for example,
AtlanConnector
- Contact Email: your email address
- Connected App Name: for example,
- Under API (Enable OAuth Settings):
- Check Enable OAuth Settings
- Check Enable for Device Flow
- Set Callback URL to any domain, for example,
https://localhost
(unused) - Add the following Selected OAuth Scopes:
- Access Lightning applications (lightning)
- Manage user data via APIs (api)
- Perform requests at any time (refresh_token, offline_access)
- Check Require Secret for Web Server Flow
- Check Require Secret for Refresh Token Flow
- Click Save.
- On the resulting page, click Continue.
- Under API (Enable OAuth Settings), click Manage Consumer Details and copy:
- Consumer Key (Client ID)
- Consumer Secret (Client Secret)
- Wait approximately 10 minutes for the connected app to activate.
Retrieve security token
- In Salesforce, click the integration user's user icon in the upper-right and select Settings.
- Expand My Personal Information and click Reset My Security Token.
- Click Reset Security Token.
- Copy the resulting security token.
Troubleshooting
If you encounter issues with Username-password authentication, see Troubleshooting Salesforce Connectivity.
Next steps
- Crawl Salesforce: Configure and run your first crawl to discover Salesforce data and metadata