Getting Started with the CData Excel Add-In for Salesforce
This guide explains everything you need to get started with the CData Excel Add-In for Salesforce. You will learn how to install the add-in, understand licensing behavior, configure your first connection, and import real-time Salesforce data directly into Excel for analysis, reporting, and automation.
About Salesforce Data Integration
Accessing and integrating live data from Salesforce has never been easier with CData. Customers rely on CData connectivity to:
- Access to custom entities and fields means Salesforce users get access to all of Salesforce.
- Create atomic and batch update operations.
- Read, write, update, and delete their Salesforce data.
- Leverage the latest Salesforce features and functionalities with support for SOAP API versions 30.0.
- See improved performance based on SOQL support to push complex queries down to Salesforce servers.
- Use SQL stored procedures to perform actions like creating, retrieving, aborting, and deleting jobs, uploading and downloading attachments and documents, and more.
Users frequently integrate Salesforce data with:
- other ERPs, marketing automation, HCMs, and more.
- preferred data tools like Power BI, Tableau, Looker, and more.
- databases and data warehouses.
For more information on how CData solutions work with Salesforce, check out our Salesforce integration page.
Getting Started
Installation & Licensing
System Requirements
- Windows: Windows 10/11 or Windows Server 2016+
- Microsoft Excel: Excel 2016 or later, Excel for Microsoft 365
- .NET Framework: .NET Framework 4.0 or later
Installing the Excel Add-In
Download and install the Excel Add-In from the CData website by visiting the Excel Add-In download page. Fill in the appropriate contact information when prompted.
Note: If you are downloading a licensed installer, use your company email address and license key.
- Run the installer and follow the setup wizard
- Once installation is complete, open Excel and verify that the CData tab appears in the Excel ribbon
Licensing the Excel Add-In
The Excel Add-In handles licensing during installation. When running the installer, you can choose to:
- Use the trial license, or
- Install a licensed build provided by CData
If you require a subscription license, contact the CData Orders Team at [email protected] to obtain your license key. Once the add-in is installed, it is ready for use.
Common Licensing Questions
Can I install the add-in on multiple machines?
Your subscription tier determines how many activations are included. Contact [email protected] for details.
I lost my license key. How do I retrieve it?
Email [email protected] with your order number, and we'll resend your license key.
How do I transfer my license?
To transfer the license to a different machine, you will need to submit a License Transfer Request on our site linked below:
https://www.cdata.com/lic/transfer/
After the License Transfer Request is submitted and successfully processed, an activation will be added to your Product Key and you will be able to activate the full license on the other machine. Once this process is finished, the license on the previous machine will be invalid.
For additional licensing questions, contact [email protected]. Viewing and upgrading your license can now be done through our self-service portal at portal.cdata.com.
Connection Configuration
Once the add-in is installed, you can configure a secure connection to Salesforce directly from the Excel ribbon. The add-in stores connection settings inside the Excel environment and uses them to fetch live Salesforce data.
Creating a New Connection
- Open Excel and navigate to the CData tab in the ribbon
- Click Get Data > From Salesforce. Then, click New Salesforce Connection to create a new connection
- Provide a name for your connection and enable Update, Insert, or Delete operations as required
- The CData Connection dialog opens. Enter the authentication details required for Salesforce (OAuth, API token, credentials, etc.)
Configuring Connection Properties
There are several authentication methods available for connecting to Salesforce: OAuth, Login (or basic), and SSO. The Login method requires you to have the username, password, and security token of the user.
OAuth Authentication (default)
The default authentication mechanism (and the one preferred by Salesforce) is OAuth. To use OAuth with CData's embedded OAuth application, leave the connection properties blank. If you have configured your own custom OAuth application with Salesforce (see the Help documentation for more information), set OAuthClientId, OAuthClientSecret, and CallbackURL to the properties for you application. Set InitiateOAuth to the desired OAuth flow ("GETANDREFRESH" will have the connector manage the entire OAuth flow).
Login (or Basic) Authentication
If you do not wish do not wish to use OAuth authentication, you can use Login (or basic) authentication. Set AuthScheme to Basic, and set the User, Password, and SecurityToken properties. You can configure your security token in Salesforce.
SSO (single sign-on) Authentication
SSO (single sign-on) can be used by setting the SSOProperties, SSOLoginUrl, and SSOExchangeURL connection properties, which allow you to authenticate to an identity provider. See the "Getting Started" chapter in the Help documentation for more information.
Testing your Connection
- Click Test Connection to validate your input
- Click OK to save the connection
Importing Data into Excel
After creating a connection, you can import Salesforce data into Excel using the built-in query interface.
Selecting Tables and Views
- From the CData ribbon, click Get Data > From Salesforce and choose the connection you just made
- The CData Query window opens. Click Select to choose a table or view
- Select your desired table and click OK
Running the Query
- A SQL query is automatically generated for your selected table
- Review the query (optional), then click OK to run it
- The results populate directly into your Excel worksheet
You can now build pivot tables, charts, or use Excel formulas to analyze your Salesforce data.
Common Connection Issues
Authentication Failed
Solution: Verify your credentials or OAuth configuration. Ensure that your Salesforce account has the required API permissions.
Cannot Connect to Salesforce
Solution: Check your internet connection, firewall settings, or proxy configuration. Contact [email protected] for specific port requirements.
Table Not Found
Solution: Confirm your account has access to the selected Salesforce data object. Use the table selector in the Query window to browse available resources.
Query Returned No Results
Solution: Verify any filters or WHERE clauses in the generated SQL. Remove or adjust filters to broaden your query.
What's Next
Now that you have installed, licensed, and configured the Excel Add-In, explore how to automate reporting, refresh live dashboards, and build advanced queries using SQL or Excel functions.
| Excel Add-In | Article Title |
|---|---|
| Microsoft Excel | Transfer Data from Excel to Salesforce |
Get Support
If you need assistance at any point:
- Technical Support: [email protected]
- Community Forum: CData Community Site
- Help Documentation: Installed locally and available online
FAQs
Installation & Licensing
- Does Excel require administrator rights to install the add-in?
Administrative privileges are required for installation. - How do I activate a license?
Licensing occurs during installation. Licensed installers automatically apply subscription keys.
Connecting
- Can I use multiple Salesforce accounts?
Each time you click Get Data, you can configure a new connection. - Can I connect through a proxy?
You can configure proxy settings in the Connection dialog.
Performance & Troubleshooting
- Why is my query slow?
Add filters using the query editor or narrow the selected fields. - How do I enable logging?
Add the following to your connection manager:
- Logfile: /path/to/logfile.log
- Verbosity: 3
Be prepared to securely upload the log file upon request when reaching out to [email protected] for troubleshooting analysis.
- How do I refresh data?
Select the imported table and click Refresh from the CData ribbon.
For questions not covered in this FAQ, contact [email protected].