Customizing the integration

Kentico EMS required

Features described on this page require the Kentico EMS license.

The integration stops working as of 1st September 2016, because terminates third party access to their API. We are sorry for any inconvenience caused.

If you wish to customize any aspect of the integration, you need to request your own API access token from

Important: Modifying or extending the default functionality without using your own token is a violation of the licensing terms.

Using a custom API token

Follow the steps below if you need to work with a custom access token in your API:

  1. Open your web project in Visual Studio.

  2. Create a new class:

    • In the project’s App_Code folder (or CMSApp_AppCode -> Old_App_Codeif the project is installed as a web application)
    • As part of a custom assembly (Class library)
  3. Add a reference to the CMS.DataCom namespace:

      using CMS.DataCom;
  4. Make the class implement the ITokenProvider interface.

  5. Add the GetToken() method and return your token as a string:

     public class CustomDataComTokenProvider : ITokenProvider
         /// <summary>
         /// Gets the token used for communication.
         /// </summary>
         /// <returns>Token</returns>
         public string GetToken()
             return "Your Data.Com API Token";

Whenever you call the DataComHelper.CreateClient method in your custom code, add an instance of your ITokenProvider class as a parameter:

using CMS.DataCom;


DataComClient client = DataComHelper.CreateClient(new CustomDataComTokenProvider());