Salesforce is an AI-powered customer relationship management (CRM) platform that helps businesses manage sales, service, marketing, and commerce in one place.
Important: Salesforce is enforcing a 30-day idle limit on OAuth refresh tokens as part of its OAuth security requirements. Salesforce revokes any refresh token that goes unused for more than 30 days. If your Salesforce connection uses a refresh token and stays idle for more than 30 days (for example, a connection used only by seasonal or on-demand flows), it stops working until you reauthorize it. A connection stays online as long as its refresh token is renewed at least once every 30 days. integrator.io renews the token on its own when Salesforce stops accepting the connection’s access token, and each renewal appears in the connection’s audit log as a token update made by the system. A flow run or API call made with an access token that is still valid renews nothing. A connection that sits idle between runs is renewed at its next run, so one run inside every 30 days is enough there. A connection in use all day can go 30 days without a renewal even though its flows run daily. For a connection in use all day, have your Salesforce administrator shorten Timeout Value under Session Policies of the Integrator_io app (Setup > App Manager > Integrator_io > Manage > Edit Policies) to less than a pause the connection has every day, then check the connection’s audit log for renewals. Or use a JWT bearer token connection, which holds no refresh token. To reauthorize, open the connection, select Save and authorize, and sign in to Salesforce. For more details about this Salesforce change, see the Salesforce Release notes, security changes, and their security requirements.
Salesforce documentation: API guide, Authentication page
- Name (required): Name the connection.
- Connection type (required): The form will automatically select Salesforce.
- Account type (required): Select Production or Sandbox.
-
Oauth2 flow type (required): Select Refresh token for web applications where server-side code needs to interact with Force.com APIs on the user’s behalf. (JWT bearer token connections are described separately.)
The Force.com platform implements the OAuth 2.0 Authorization Framework, so users can authorize applications to access Force.com resources on their behalf without revealing their passwords or other credentials to those applications.
-
Enter your registered Salesforce account username and password and click Login. The following page displays:
- Click Allow to establish the connection.
Tip
Read more about this connector: Connect Salesforce to Anything