Skip to main content

🚀 Quickstart

Connect to Salesforce with Nango and see data flow in 2 minutes.
1

Create the integration

In Nango (free signup), go to Integrations -> Configure New Integration -> Salesforce.
2

Authorize Salesforce

Go to Connections -> Add Test Connection -> Authorize, then log in to Salesforce. Later, you’ll let your users do the same directly from your app.
3

Call the Salesforce API

Let’s make your first request to the Salesforce API (fetch a list of contacts). Replace the placeholders below with your secret key, integration ID, and connection ID:
  • cURL
  • Node
curl "https://api.nango.dev/proxy/services/data/v58.0/query?q=SELECT+Id,FirstName,LastName,Email+FROM+Contact+LIMIT+10" \
  -H "Authorization: Bearer <NANGO-SECRET-KEY>" \
  -H "Provider-Config-Key: <INTEGRATION-ID>" \
  -H "Connection-Id: <CONNECTION-ID>"
Or fetch credentials with the Node SDK or API.✅ You’re connected! Check the Logs tab in Nango to inspect requests.
4

Implement Nango in your app

Follow our quickstart to integrate Nango in your app.To obtain your own production credentials, follow the setup guide linked below.

📚 Salesforce Integration Guides

Nango maintained guides for common use cases. Official docs: Salesforce API docs

🧩 Pre-built syncs & actions for Salesforce

Enable them in your dashboard. Extend and customize to fit your needs.

Accounts

Function nameDescriptionTypeSource code
create-accountCreate a single account in salesforceAction🔗 Github
update-accountUpdate a single account in salesforceAction🔗 Github
delete-accountDelete a single account in salesforceAction🔗 Github
accountsFetches a list of accounts from salesforceSync🔗 Github

Contacts

Function nameDescriptionTypeSource code
create-contactCreate a single contact in salesforceAction🔗 Github
update-contactUpdate a single contact in salesforceAction🔗 Github
delete-contactDelete a single contact in salesforceAction🔗 Github
contactsFetches a list of contacts from salesforceSync🔗 Github

Leads

Function nameDescriptionTypeSource code
create-leadCreate a single lead in salesforceAction🔗 Github
update-leadUpdate a single lead in salesforceAction🔗 Github
delete-leadDelete a single lead in salesforceAction🔗 Github
leadsFetches a list of leads from salesforceSync🔗 Github

Opportunities

Function nameDescriptionTypeSource code
create-opportunityCreate a single opportunity in salesforceAction🔗 Github
update-opportunityUpdate a single opportunity in salesforceAction🔗 Github
delete-opportunityDelete a single opportunity in salesforceAction🔗 Github
opportunitiesFetches a list of opportunities from salesforceSync🔗 Github

Users

Function nameDescriptionTypeSource code
whoamiFetch current user informationAction🔗 Github

Others

Function nameDescriptionTypeSource code
fetch-fieldsFetch available task fields, child relationships and validation rules. If the input is not specified then it defaults back to “Task” Data Validation: Parses all incoming data with Zod. Does not fail on parsing error will instead log parse error and return result.Action🔗 Github
articlesFetches a list of articles from salesforceSync🔗 Github
ticketsFetches a list of tickets from salesforceSync🔗 Github