This article outlines the steps needed to connect to a SQL Server database using Power BI Desktop.
Please see the attachment (bottom right of this screen) for the full documentation.