> ## Documentation Index
> Fetch the complete documentation index at: https://docs.futurex.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Install and configure Futurex FXCL CNG

> Deploy client endpoint and install FXCL CNG module.

After deploying the Generic Futurex CNG service in CryptoHub, you need to deploy a client endpoint. Endpoints are devices authorized to access this service. In the **Endpoints** menu, you can view and filter details about existing endpoints and add new endpoints. Perform the following tasks to deploy a client endpoint and install the client library files:

1. Deploy client endpoint.
2. Install the FXCL CNG module.
3. Test the connection between FXCL CNG and the CryptoHub.

## Deploy client endpoint

Perform the following steps to deploy the client endpoint:

<Steps>
  <Step>
    Go to the **Endpoints** menu inside the service you deployed.
  </Step>

  <Step>
    In the **Manage Endpoints** menu, select **\[ Add New ]**.
  </Step>

  <Step>
    In the **Add Endpoint** dialog:

    1. Enter a **Name** for the endpoint.
    2. Leave the CryptoHub **Hostname** value set to the default.
    3. Select the **Platform** on which to deploy **FXCL CNG**.
  </Step>

  <Step>
    Select **\[ Add Endpoint ]**. When prompted, download a zip file containing the **FXCL CNG** module and a pre-configured configuration file to connect to your CryptoHub instance.
  </Step>
</Steps>

## Install the FXCL CNG module

Perform the following steps to install the **FXCL CNG** module on the machine where you installed the Microsoft application you are integrating:

<Steps>
  <Step>
    Extract the zip file downloaded in your browser after deploying the service in CryptoHub.
  </Step>

  <Step>
    Go to the extracted directory with the following files:

    * `client.p12`
    * `CNGInstallUtil.exe`
    * `config.json`
    * `InstallCNG.bat`
    * `libfxcl-cng.dll`
    * `UninstallCNG.bat`
  </Step>

  <Step>
    Run the `InstallCNG.bat` file to install **FXCL CNG**. If the installation fails, create the directory path `C:\Program Files\Futurex\fxcl\kmes\cng` as an administrator and move all the files extracted from the zip into that directory.
  </Step>
</Steps>

## Test the connection

Perform the following steps to test the connection between FXCL CNG and the CryptoHub:

<Steps>
  <Step>
    Open either **PowerShell** or Command Prompt.
  </Step>

  <Step>
    Run the following **certutil** command to test the connection between **FXCL CNG** and the CryptoHub.

    ```text expandable lines wrap title="Text" theme={null}
    certutil -csptest -csp "Futurex FXCL KMES CNG" RSA
    ```

    <Check>
      If the connection succeeds, the following message displays in the last line of the command output:

      ```none expandable lines wrap title="None" theme={null}
      CertUtil: -csptest command completed successfully.
      ```
    </Check>

    If the command fails, check the **FXCL CNG** log (`C:\Program Files\Futurex\fxcl\kmes\cng\fxcl.log`) for details about the error.
  </Step>
</Steps>
