MSSQL is one of the external data sources you can use on the Kuika platform. You can connect an existing MSSQL database to an application you’re developing in Kuika as a data source. In this tutorial, you’ll learn how to add a data source to your applications using MSSQL.


Note: You can also start the process of adding a new data source by clicking the + icon next to the Sources heading in the left panel.
After these steps, the MSSQL connection settings screen will open. At the top of the screen, you’ll find a back button (←), the data source name (with a pencil icon to edit the name), and the CREATE button to save the settings. You can enter the connection information using either the Enter fields or Connection string tabs in the Endpoint section.
In the Endpoint section, select the Enter fields tab and fill in the following fields.

Contains the server information Kuika will use to connect.
These are the credentials that are part of the connection string.
You can enter additional parameters to be added to the connection string into the table consisting of the Key and Value columns. When you fill in a row, a new blank row appears below it; you can delete an added row using the trash can icon.
Example parameters:
Key Value
Encrypt: true
Connection Timeout: 30
When you enter a parameter, you can see a preview of the connection string generated from the information you entered in the Resolves To field on the right.

The connection string generated using the example information above would look like this:
data source=myServerAddress;initial catalog=myDataBase;user id=myUsername;password=myPassword;Encrypt=true;Connection Timeout=30;

Example format:
data source=myServerAddress;initial catalog=myDataBase;user id=myUsername;password=myPassword;
Testing and Saving the Connection
After saving, the tables in your database are automatically read and become available in Kuika.
To check the tables in the database you’re connecting to, you can use SQL Server Management Studio (SSMS) or Visual Studio Code with the MSSQL extension installed.
SELECT * FROM [TableName];Press the F5 key or click the Execute/Run button to run the query.
By following these steps, you can connect the MSSQL data source to your Kuika applications.
SELECT * FROM [TableName];By following these steps you can connect the MSSQL data source to your Kuika applications.