SQL Server connector
On this page
This article outlines how to configure the SQL Server connector to publish data from CluedIn to SQL databases.
Prerequisites: The authentication method for the SQL Server must be SQL Server Authentication (not Windows Authentication). If you do not use SQL Server Authentication, you need to enable it as described here.
Configure SQL Server connector
-
On the navigation pane, go to Consume > Export Targets. Then, select Add Export Target.
-
On the Choose Target tab, select SQL Server Connector. Then, select Next.
-
On the Configure tab, enter the connection details:
-
Name – user-friendly name of the export target that will be displayed on the Export Target page in CluedIn.
-
Host – server where your database is located.
-
Database Name – name of a particular database where you want to store the data from CluedIn.
-
Username – username that you use to access the database.
-
Password – password associated with the username that grants access to the database.
-
(Optional) Port Number – network port on which your database server is listening for connections.
-
(Optional) Schema – container within a database where you want to store the data from CluedIn.
-
(Optional) Connection Pool Size – number of database connections that are maintained in a pool for reuse.
-
-
Test the connection to make sure it works, and then select Add.
Now, you can select the SQL Server connector in a stream and start exporting golden records.
SQL Server Authentication
When integrating with CluedIn, you typically need to use SQL Server Authentication (not Windows Authentication) to allow the platform to connect to your SQL Server. This is because CluedIn generally requires a consistent, non-interactive authentication method to securely access your database.
-
Windows Authentication is generally tied to the local user context of the machine you’re using, and it requires a session with specific privileges. This can create issues when trying to connect from an external service like CluedIn, especially when the service doesn’t have access to your machine’s Windows authentication context.
-
SQL Server Authentication is independent of the Windows environment and uses a specific SQL Server login and password that can be configured to have the appropriate access to your SQL database. This makes it easier to set up and more compatible with external systems.
To configure SQL Server Authentication
-
Ensure that your SQL Server is configured to accept SQL Server Authentication. This is a setting you can enable in the SQL Server Management Studio (SSMS) under the server properties.
-
To enable SQL Server Authentication:
-
Open SQL Server Management Studio (SSMS).
-
Right-click on the server instance and select Properties.
-
In the Server Properties window, go to the Security tab.
-
Choose SQL Server and Windows Authentication mode.
-
Restart SQL Server after making this change.
-
-
Create a dedicated SQL Server login (with a username and password) that CluedIn can use to connect. You can do this via SSMS:
-
Under the Security node in SSMS, go to Logins.
-
Right-click on Logins and select New Login.
-
Choose SQL Server authentication and set the password.
-
Assign the appropriate roles or permissions for the login to access the necessary databases.
Once you’ve set up SQL Server Authentication and created a login for CluedIn, you can provide the login credentials (username and password) to connect CluedIn to your SQL Server instance.
-