Configure the KMD Logic platform

The KMD Logic platform is developed, managed and distributed by KMD A/S and used by the CVR Update module as an endpoint to manage and administer imports from the Datafordeler web service. Using the KMD Logic platform increases update performance by selecting which data from the Datafordeler web service is applicable to the WorkZone CVR contacts, which reduces the amount of irrelevant data the system must process before importing into WorkZone.

After you have configured the Datafordeler and obtained the FOCES certificate, you can configure the KMD Logic platform subscription. The KMD Logic platform must be configured correctly to import CVR data into WorkZone.

To configure the KMD Logic platform, you must:

  • Create a KMD Logic subscription
  • Configure the connection to Datafordeler

Once you have set up your KMD Logic account, you must record or copy 5 important identifiers that are to be used when configuring the CVR Update module in WorkZone.

Create a KMD Logic subscription

  1. Go to https://console.kmdlogic.io/auth/login
  2. Select Logic Users.

  3. Enter your KMD Logic user credentials.

  4. In a browser, press the F12 key to open the dev tools.

  5. Click on the Logic logo in the top left corner.

  6. Copy token from the dev tools (you will need it with the Bearer part).

  7. In Swagger, click Authorize and paste the copied token.

  8. You can use the token in Swagger:

    • CPR: https://cpr.ddip.kmd.dk/
    • CVR: https://cvr.ddip.kmd.dk/

Create CVR configuration

  1. In the CVR swagger, select KMD Logic CVR Service API.
  2. Under DataDistributorCvrConfiguration, find the request: POST ​/subscriptions​/{subscriptionId}​/cvr​/configurations​/data-distributor, expand and click Try it out.
  3. Fill in the following details:
    • subscriptionId: Your subscription GUID.
    • name: Some name.
    • environment: Production environment for using production Datafordeler.
    • certificate: Choose certificate p12 file (the one with private key).
    • password: Type in the certificate password.
  4. Click Execute.
  5. After successful execution, copy the configuration, including the ID.

Identifiers from your KMD Logic account

Once you have set up your KMD Logic account and product, the following 4 identifiers must be recorded or copied. The identifiers are used when configuring the CVR Update module in WorkZone.

  • KMD Logic Client ID: GUID
  • KMD Logic Client Secret: GUID
  • KMD Logic Subscription ID: GUID 
  • KMD Logic Product ID: GUID