How to give the connector access to SQL Server
Where you are looking to setup the connection between your Glide system and your CCH system you shall need to do the following on the SQL Server that hosts CCH.
This tutorial assumes that you will host the connector on the SQL Server machine. If you decide to host the connector on a different machine then further configuration may be necessary.
Step 1 -> To create the user account on SQL Server follow these steps:
- Open SQL Server Management Studio.
- Connect to the CCH SQL Server database instance.
- Open the Security folder.
- Right-click on the Logins folder and select New Login.
- Select SQL Server authentication.
- Enter a login name and password. You will later need to enter these into the connector's configuration file.
- Untick Enforce password expiration (this would periodically break the integration).
- Click OK to create the account.
Step 2 -> Create the glideInt database:
- Open SQL Server Management Studio.
- Execute the script found in the CCH Connector package that you will have been provided with. The filename is "Setup_CreateGlideIntDatabase.sql".
Step 3 -> Once you have created the user account and glideInt database you need to assign permissions following these steps:
- Open SQL Server Management Studio.
- Open the Security folder.
- Drill into the new user created for Glide.
- Select the User mapping page.
- Tick the CCH database that will typically be called "Central".
- Under database role membership tick db_datareader.
- Click OK to save the changes.
- Repeat steps 5, 6 and 7 for the glideInt database. On this database the Glide user should also have the db_datawriter role.
Step 4 -> Create the database triggers:
- Open SQL Server Management Studio.
- Execute the script to create the database triggers. This script can be found in the CCH Connector package that you will have been provided with and is called "Setup_CreateTriggers.sql".
The triggers will fire when a new client is added to CCH or when an existing client is updated. They will add a new row to the glideInt database table which is then interrogated by the connector every 15 minutes.
Once you have completed these steps return to continue the connector setup process.