# VConnect

1. Download the installer and VConnect Tools file using the below links. Extract VConnect Tools Zip file to local path.

   CloudAssert.WAP.VConnect.Service.Setup.msi - 2403.5 (Version)\
   [CloudAssert.WAP.VConnect.Service.Setup.msi](https://cloudassertdownloads.blob.core.windows.net/hybrdocsinstallers/Vconnect/CloudAssert.WAP.VConnect.Service.Setup.msi?sp=r\&st=2024-04-02T11:04:14Z\&se=2027-12-31T19:04:14Z\&spr=https\&sv=2022-11-02\&sr=b\&sig=re9%2B9ZioVcqbQ1eRFCNc3M9wcP1aXmAXtZmnCUPKQkg%3D)\
   VConnectTool.zip - 2403.5 (Version)\
   [https://cloudassertdownloads.blob.core.windows.net/vconnect/2403.5/VConnectTool.zip](https://cloudassertdownloads.blob.core.windows.net/hybrdocsinstallers/Vconnect/VConnect_Tools.zip?sp=r\&st=2024-04-02T12:57:06Z\&se=2027-12-31T20:57:06Z\&spr=https\&sv=2022-11-02\&sr=b\&sig=2htwAB7BS%2FfcL%2B80fxnj0TOLp6S9i8Hedg%2BjeW%2F9WZg%3D)
2. Install CloudAssert.WAP.VConnect.Service.Setup.msi
3. Execute the below command and update the password in web.config of VConnect (Path: C:\inetpub\MgmtSvc-CloudAssert-Vconnect\Web.config)&#x20;

   1. Navigate to the VConnect Tool folder
   2. Execute the below command from command prompt

   `VConnect.exe Hashpass {VConnect_Password}`\
   **Note:** Please ensure to make a note of the password provided for VConnect API, as it will be used in other Hybr components.
4. Execute the below command to update the database

   1. Navigate to the VConnect folder (extracted from VConnect.zip file)
   2. Execute the below command from command prompt

   `VConnect.exe UpdateDatabaseSettings {DB_SERVER_NAME} VConnect {DB_USER_NAME} {DB_PASSWORD} /isUseIntegratedSecurity:false /VConnectApiEndpoint:http://localhost:31101 /VConnectApiUserName:cloudassertadminuser /VConnectApiPassword: {VConnect_Password}`
5. &#x20;Insert queue URL in VConnect database. **Note:** This step is not required if VConnect is installed only for Work flow or Service notification handler is used
   1. Update shared access signature of Azure storage account queue in the below insert script and execute in VConnect DB. **Note:** Azure storage account queue is one of the prerequisites.`insert into [VConnect].[dbo].[AppSettings] ([Key], [Value],  [Group], UpdatedByUser, LastUpdatedTime, IsEncrypted) Values('ServiceNotificationQueueSasUri', '{queueUrl}', 'HybrSettings', 'Admin', GetDate(), 0)`
6. **VConnect - Service Notification Handler settings**
   1. Set below app settings with appropriate values
   2. If wanted to use the Service Notification Handler, set the `HybrApiEndpoint` as  [`https://local.admin.hybr.com/`](https://local.admin.hybr.com/) and set  `HybrServiceNotificationEventSource` setting to `trisulapi`

      OR

      If wanted to use the Azure Storage Queue, set `HybrServiceNotificationEventSource` setting to `azurestoragequeue` and give the Azure storage queue SAS URI for the setting `ServiceNotificationQueueSasUri`
   3. Add Hybr endpoint in hosts file
   4. Setup event notifications for VConnect and Hybr Core components

{% file src="/files/-LzppzHZvKC0Ws0UZu8P" %}
VConnect - Setup Event Notification
{% endfile %}

{% file src="/files/-LzpqhpPrLtPWuIrxnT7" %}
Hybr Core - Setup Event Notification
{% endfile %}

| **Settings Name**                  | **Group**    | Value                               |
| ---------------------------------- | ------------ | ----------------------------------- |
| HybrApiEndpoint                    | HybrSettings | ex: <https://local.admin.hybr.com/> |
| HybrApiKey                         | HybrSettings | ex: hybrapiuser                     |
| HybrApiSecret                      | HybrSettings |                                     |
| HybrServiceNotificationEventSource | HybrSettings | (trisulapi/azurestoragequeue)       |
| ServiceNotificationQueueSasUri     | HybrSettings | (Azure storage queue sas uri)       |

\
8\. License Activation

* Navigate inside the extracted folder and execute the below command from command prompt

`VConnect.exe ActivateOnline licenseKey emailId`

* **Note:** Do not copy-paste the values directly into command prompt, paste it in notepad, remove spaces and add again before executing
* Once the command is executed successfully, .cal file will be generated in the same directory. Copy this file to the following locations.
  * C:\inetpub\MgmtSvc-CloudAssert-VConnect\bin
  * C:\Program Files\CloudAssertVConnect\CloudAssert.WAP.VConnect.AgentService


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudassert.com/hybr/installation/deployment/vconnect-feature-deployment.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
