Professional Documents
Culture Documents
0 - Boomi Community
Community Programs Knowledge Training & Certification (/s/training) User Groups & Events Support
(https://community.boomi.com/s/100K-Donation)
C R E AT E D B Y
The following describes the AtomSphere and Salesforce configuration to setup a connection to the Salesforce REST API with
OAuth 2.0 authentication.
IMPORTANT: This approach uses the HTTP Client connector, not the Salesforce connector. In Salesforce OAuth 2.0 terms, it
follows the web server flow (https://developer.salesforce.com/docs/atlas.en-
us.196.0.api_rest.meta/api_rest/intro_understanding_authentication.htm).
1. In Salesforce create a new Connected App in Salesforce (http://developer.salesforce.com/docs/atlas.en-
us.196.0.api_rest.meta/api_rest/intro_defining_remote_access_applications.htm). This "Connected App" will represent
AtomSphere as a whole. Below is the relevant configuration:
Consumer Key
Consumer Secret (guard this as a password)
Selected OAuth Scopes:
Full access (full) - or customize based on the level of desired access
Perform requests on your behalf at any time (refresh_token, offline_access) - IMPORTANT Always add this to allow
the integration to automatically refresh the access token without user intervention
Callback URL = https://platform.boomi.com/account/<ATOMSPHERE-ACCOUNT-ID>/oauth2/callback
https://community.boomi.com/s/article/howtoconnecttosalesforcerestapiwithoauth20 1/6
1/4/22, 9:10 PM Article: How to Connect to Salesforce REST API with OAuth 2.0 - Boomi Community
In Salesforce Lightning UI, go to Setup | Apps | App Manager | choose "View" from the drop down menu to the right
(do not choose Edit or Manage).
AT TA C H M E N T
https://community.boomi.com/s/article/howtoconnecttosalesforcerestapiwithoauth20 3/6
1/4/22, 9:10 PM Article: How to Connect to Salesforce REST API with OAuth 2.0 - Boomi Community
Sort by:
Latest Posts Search this feed...
Like Comment
Log In to Comment
Boomi Community (/s/profile/0051W000004srD2QAI) (Dell Boomi) published a new version of this Knowledge Article.
October 28, 2018 at 5:00 PM (/s/feed/0D51W00006As3HoSAJ)
2 comments 142 views
Like Comment
More comments 1 of 2
Log In to Comment
Boomi Community (/s/profile/0051W000004srD2QAI) (Dell Boomi) published this new Knowledge Article.
October 28, 2018 at 2:59 PM (/s/feed/0D51W00006Arz1xSAB)
34 comments 416 views
Like Comment
More comments 1 of 34
Log In to Comment
https://community.boomi.com/s/article/howtoconnecttosalesforcerestapiwithoauth20 4/6
1/4/22, 9:10 PM Article: How to Connect to Salesforce REST API with OAuth 2.0 - Boomi Community
Topics (1)
Connector Guides (/s/topic/0TO1W000000cfgAWAQ/connector-guides)
Trending Articles
LDAP Configuration, AcceptSecurityContext error, data 52e
(/s/article/ldapconfigurationacceptsecuritycontexterrordata52e)
How to Use Regex to Match Carriage Returns and Line Feed Characters in Search and Replace
(/s/article/howtouseregextomatchcarriagereturnsandlinefeedcharactersinsearchandreplace)
Related Articles
Using the HTTP connector to connect to Netsuite 2021.2 using OAuth 2.0 (/s/article/Using-the-HTTP-connector-to-connect-to-Netsuite-2021
4.61K
-2-using-OAuth-2-0)
Using IFS Cloud OpenId Connect with OAuth 2.0 Authentication (/s/article/Using-IFS-Cloud-OpenId-Connect-with-OAuth-2-0-Authenticatio
351
n)
TRY BOOMI
(https://twitter.com/boomi)(https://www.facebook.com/DellBoomi)(https://www.youtube.com/channel/UC63U1JBpElNL6anLEeS6fzw)(h
in
https://community.boomi.com/s/article/howtoconnecttosalesforcerestapiwithoauth20 6/6