![]() |
VOOZH | about |
Power Apps is a suite of apps, services, and connectors that allows users to build custom applications with minimal or no coding. It empowers businesses to create tailored apps that solve specific business challenges, automate workflows, and integrate with various data sources, including Microsoft Dataverse, SQL Server, and third-party services.
Dataflows in Power Apps simplify the process of importing, transforming, and loading external data into Microsoft Dataverse or other storage systems. They allow users to connect to multiple data sources (like Salesforce, Excel, or SQL databases), clean or shape the data, and store it in Power Apps. When paired with the CData Power BI Connector for Salesforce, it provides access to Salesforce data to build custom applications and more
This article demonstrates how you can easily connect to Salesforce using the CData Power BI Connector for Salesforce and integrate your Salesforce data through the Power Apps on-premises data gateway.
Installing the Power BI Connector creates a DSN (data source name) called CData PBI Salesforce Sys. This the name of the DSN that Power BI uses to request a connection to the data source. Configure the DSN by filling in the required connection properties.
You can use the Microsoft ODBC Data Source Administrator to create a new DSN or configure (and rename) an existing DSN: From the Start menu, enter "ODBC Data Sources." Ensure that you run the version of the ODBC Administrator that corresponds to the bitness of your Power BI Desktop installation (32-bit or 64-bit).
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.
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).
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) 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.
If your Salesforce org has MFA enforcement enabled, set MFACode to the time-based one-time passcode (TOTP) generated by your authenticator app (such as Salesforce Authenticator or Google Authenticator). MFACode applies to both OAuth and Login authentication flows.
In this section, we will configure the on-premises data gateway to detect the CData Power BI Connector for Salesforce installed on your system. If you haven't installed the data gateway yet, you can download it from Microsoft's official website.
Follow the given process to configure the on-premise data gateway on your machine:
NOTE: Select the folder where the gateway will search for the CData Power BI Connector.
Once the on-premise data gateway is configured and a new gateway is created, follow these steps to create a dataflow that pulls in the Salesforce data into Power Apps:
At this point, you will have created a dataflow using live Salesforce data and connected it to Power Apps. To learn more, explore the CData Power BI Connectors for Salesforce and download a free 30-day trial from the CData Power BI Connector for Salesforce page.
Feel free to reach out to our Support Team with any questions.
Download a free trial of the Salesforce Power BI Connector to get started:
Download NowLearn more:
π Salesforce IconThe fastest and easiest way to connect Power BI to Salesforce data. Includes comprehensive high-performance data access, real-time integration, extensive metadata discovery, and robust SQL-92 support.