Log in to the User Console.
Click the Create New button, then choose Data Source from the menu.
Click the New Data Source button.TheData Source Wizard appears.
Enter a name that identifies your new data source in the Data Source Name field.The following characters are not allowed in data source names:
Select SQL Query from the Source Type drop-down menu. Click Next.
Select a database connection from the list, under Data Connection.
Enter your SQL query in the SQL Query text field.Click Data Preview to make sure that your query returns data. The SQL query
select * from CUSTOMERSis shown in this example.
Click Close to exit the Preview window. Click Finish.
The Data Source Created window appears.You can choose to Keep default model or click Customize model now now to launch the Data Source Model Editor and refine the model. Click OK.