Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Application Integration: Create Salesforce Connection using Username and Password

This document explains how to connect to Salesforce using Username and Password

Make sure to enable the required api’s and grant the necessary roles to the service account. Follow the link below be

fore you begin.

Prerequisites:https://cloud.google.com/integration-connectors/docs/connectors/salesforce/configure#before-you-begi...

We can connect to salesforce using 2 ways:

Username and Password 

Create Salesforce Connection:

In your Google Cloud project search for Integration Connector and click on Integration Connector. Mamatha_0-1733869572228.png

Under Integration Connector-Connections, click on create new.

Mamatha_1-1733869610602.png

Specify the location where your connection will run. Here I’m specifying it as us-west1.

Mamatha_2-1733869631096.png

Provide the Connection Details(connector, version, connection name, description and service account(select a service account that has the required roles.) and click on NEXT.

  • Optionally, you can enable Cloud logging, and then select a log level. By default, the log level is set to Error.
  • Under Advanced Settings, you can enable Use proxy: Select this checkbox to configure a proxy server for the connection
  • Optionally, click + ADD LABEL to add a label to the Connection in the form of a key/value pair

Mamatha_3-1733869660205.png

 

Provide the Destination Details and click on NEXT

Mamatha_4-1733869687214.png

In this case I’m using a trial account and it will default to https://login,salesforce .com. If you are using a custom domain then you need to specify the custom domain login endpoint. 

Provide the Authentication details-

  • Username(Salesforce login Username)

Mamatha_5-1733869736340.png

  • Password(Secret Manager Secret containing the password associated with the Salesforce username)
  • Version(Secret version for the password secret selected)

Mamatha_6-1733869804441.png

Mamatha_7-1733869871621.png

  • Login to Salesforce to get the security token:Under profile, click on settings and then you can click on the "Reset Security Token" to receive the new token to your email. If you have the old token handy then you can use the old token itself. 

Mamatha_8-1733869898417.png

Salesforce sample email with Security token:

Mamatha_9-1733869964177.png

  •  Provide Security Token and then click NEXT to review all details (Secret Manager Secret containing case-sensitive alphanumeric code provided by Salesforce for the user)
  • Version(Secret version for the security token secret selected)

Mamatha_10-1733870007923.png

Mamatha_11-1733870031111.png

  • Review the connection details and click on CREATE to create the connection.

Mamatha_12-1733870076837.png

Now, you should have the connection status as active under connections.

Mamatha_13-1733870105393.png

 

Mamatha_14-1733870128467.png

 

 

 

 

 

3 1 239
1 REPLY 1

Hi @Mamatha ‌😊‌ Thanks so much for sharing this helpful guide! We hope our community finds it valuable and we look forward to reading their comments.

 

Top Labels in this Space