π Quickstart
Connect to Salesforce with Nango and see data flow in 2 minutes.Create the integration
In Nango (free signup), go to Integrations -> Configure New Integration -> Salesforce.
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.
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:Or fetch credentials with the Node SDK or API.β
Youβre connected! Check the Logs tab in Nango to inspect requests.
- cURL
- Node
Implement Nango in your app
Follow our Auth implementation guide 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.- How do I link my account?
Connect your Salesforce account - How to register your own Salesforce OAuth app
Register an OAuth app with Salesforce and obtain credentials to connect it to Nango
π§© Pre-built syncs & actions for Salesforce
Enable them in your dashboard. Extend and customize to fit your needs.Accounts
| Function name | Description | Type | Source code |
|---|---|---|---|
create-account | Create a single account in salesforce | Action | π Github |
delete-account | Delete a single account in salesforce | Action | π Github |
update-account | Update a single account in salesforce | Action | π Github |
accounts | Fetches a list of accounts from salesforce | Sync | π Github |
Contacts
| Function name | Description | Type | Source code |
|---|---|---|---|
create-contact | Create a single contact in salesforce | Action | π Github |
delete-contact | Delete a single contact in salesforce | Action | π Github |
update-contact | Update a single contact in salesforce | Action | π Github |
contacts | Fetches a list of contacts from salesforce | Sync | π Github |
Leads
| Function name | Description | Type | Source code |
|---|---|---|---|
create-lead | Create a single lead in salesforce | Action | π Github |
delete-lead | Delete a single lead in salesforce | Action | π Github |
update-lead | Update a single lead in salesforce | Action | π Github |
leads | Fetches a list of leads from salesforce | Sync | π Github |
Opportunities
| Function name | Description | Type | Source code |
|---|---|---|---|
create-opportunity | Create a single opportunity in salesforce | Action | π Github |
delete-opportunity | Delete a single opportunity in salesforce | Action | π Github |
update-opportunity | Update a single opportunity in salesforce | Action | π Github |
opportunities | Fetches a list of opportunities from salesforce | Sync | π Github |
Users
| Function name | Description | Type | Source code |
|---|---|---|---|
whoami | Fetch current user information | Action | π Github |
Others
| Function name | Description | Type | Source code |
|---|---|---|---|
fetch-fields | Fetch 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 |
articles | Fetches a list of articles from salesforce | Sync | π Github |
tickets | Fetches a list of tickets from salesforce | Sync | π Github |