{"id":110703,"date":"2016-07-08T04:12:23","date_gmt":"2016-07-08T11:12:23","guid":{"rendered":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/on-premises-data-gateway\/"},"modified":"2016-07-08T04:12:23","modified_gmt":"2016-07-08T11:12:23","slug":"on-premises-data-gateway","status":"publish","type":"power-automate","link":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/on-premises-data-gateway\/","title":{"rendered":"Using Flow with on-premises data and applications"},"content":{"rendered":"
This week, we are excited to announce on-premises connectivity for Microsoft Flow. This can be achieved by using the on-premises data gateway, that allows you to establish secured connections and integrate them with your flows. At launch, the gateway functionality will be supported by SQL Server. As part of our business application platform<\/a>, this gateway can be used across Power BI, PowerApps, and Microsoft Flow to deliver dashboards, reports, applications and flows leveraging on-premises sources. <\/p>\n Additonal details about gateway installation can be found here<\/a>.<\/p>\n Once you are Microsoft Flow, select the account menu and navigate to the \u201cMy Connections\u201d<\/p>\n <\/p>\n Click \u201cAdd a Connection\u201d button in the top right corner and then select SQL server.<\/p>\n <\/p>\n Select the \u201cConnect via on premise data gateway\u201d checkbox. Next, provide the server name, database name, credentials and make sure the correct gateway is selected.<\/p>\n <\/p>\n After successfully, creating the connection \u2013 you should be able to access the on-premise database that you just connected to. You can use this connection, in any other flow just as you would use any other connection.<\/p>\n Here are some SQL server templates<\/a> that you can use right now.<\/p>\n
\nIn this blog post, we are going to look at creating a connection to an on-premise SQL database.
\nTo start off, you will need to install a gateway on a machine that is in the same network as the SQL server. This machine must be always <\/em><\/strong>on and be always <\/strong><\/em>connected to the internet. Download the gateway installer<\/a> and follow the prompts to complete the installation process.
\nWhen prompted to register the gateway, be sure to use the same credentials, as the ones used to sign-in to Microsoft Flow.<\/p>\nCreate a new SQL connection<\/h3>\n