# Authorize Salesforce API Connection (using OAuth2.0)

**URL:** <https://community.parabola.io/t/authorize-salesforce-api-connection-using-oauth2-0/2370>\
**Category:** FAQ\
**Created:** [May 10, 2022, 1:08am UTC](https://community.parabola.io/t/authorize-salesforce-api-connection-using-oauth2-0/2370 "2022-05-10T01:08:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adam\_R](https://sea2.discourse-cdn.com/flex020/user_avatar/community.parabola.io/adam_r/32/2207_2.png) [@Adam\_R](https://community.parabola.io/u/Adam_R)\
**Post date:** [May 10, 2022, 1:08am UTC](https://community.parabola.io/t/authorize-salesforce-api-connection-using-oauth2-0/2370/1 "2022-05-10T01:08:02Z")

</div>

Hi everyone 👋

While we do have a native Salesforce integration, there are occasions where you may still want to manually authorize an API call to Salesforce. For example, you want to use an API enrichment step, or pull/push data that is not currently supported in our API steps.

For these occasions, you can follow the steps in this guide to authorize a connection to Salesforce. In this walk-through, we’ll be specifically looking at **[OAuth 2.0 Username-Password Authentication](https://help.salesforce.com/s/articleView?id=sf.remoteaccess_oauth_username_password_flow.htm&type=5)** Flow.

1. Follow steps 1-10 in [this useful guide](https://medium.com/@bpmmendis94/obtain-access-refresh-tokens-from-salesforce-rest-api-a324fe4ccd9b) (you can stop following along once you get to **Obtaining tokens** )

2. In Parabola, click into your API step and scroll down to `Authentication`, then select `Expiring Access Token`

3. Enter the following URL into the Access Token Request URL (substituting your own values in):

```auto
https://<your_domain>.my.salesforce.com/services/oauth2/token?
grant_type=password
&client_id=<connected_app_client_id>
&client_secret=<connected_app_client_secret>
&username=<your_email_login>
&password=<password+security_token>

```

Once complete, the URL should look something like:

```auto
https://test.my.salesforce.com/services/oauth2/token?grant_type=password&client_id=123456&client_secret=7890&username=test@parabola.io&password=origuherfndj9832rweyf9hdsc8j

```

Salesforce makes accessing your `security_token` a bit difficult, since it is not displayed in your settings. **To retrieve your security token for this API call:**

1. Click your `Profile` icon in the top right

![Screen Shot 2022-05-09 at 6.17.23 PM](https://us1.discourse-cdn.com/flex020/uploads/parabola/original/2X/b/b0b05008ef2acbc1fbe9daa3ddd76d1e80a75595.png)

1. Search for `reset` in the “Quick Find” search in the top left

![Screen Shot 2022-05-09 at 6.18.05 PM](https://us1.discourse-cdn.com/flex020/uploads/parabola/original/2X/a/a77116f24a19d790779dbaa8d9755d9e83b4e639.png)

1. Follow the instructions for accessing your security token, then paste that immediately after your password (with nothing in between) in the API call

Once you follow these steps, you should be able to successfully authorize Salesforce! Note that there are many different methods for retrieving your `access_token` (such as [Refresh Token](https://help.salesforce.com/s/articleView?id=sf.remoteaccess_oauth_refresh_token_flow.htm&type=5) auth), however the method outlined in this post provides a quick method of authenticate with proven success.

Big thank you to @Daniel_Everett for his help in ironing out these steps! Let us know if you have any questions.

---

<div class="post-metadata">

**Author:** ![Adam\_R](https://sea2.discourse-cdn.com/flex020/user_avatar/community.parabola.io/adam_r/32/2207_2.png) [@Adam\_R](https://community.parabola.io/u/Adam_R)\
**Post date:** [May 10, 2022, 1:08am UTC](https://community.parabola.io/t/authorize-salesforce-api-connection-using-oauth2-0/2370/2 "2022-05-10T01:08:17Z")

</div>



---

<div class="post-metadata">

**Author:** ![Adam\_R](https://sea2.discourse-cdn.com/flex020/user_avatar/community.parabola.io/adam_r/32/2207_2.png) [@Adam\_R](https://community.parabola.io/u/Adam_R)\
**Post date:** [May 10, 2022, 1:23am UTC](https://community.parabola.io/t/authorize-salesforce-api-connection-using-oauth2-0/2370/3 "2022-05-10T01:23:39Z")

</div>


