In Magento, Klevu can add the respective variantId in the URL of the product (e.g. http://www.somesite.com/products/p1?variantId=).
However, once the customer is on the product page, it will be the responsibility of the merchants Magento developer to make use of the variantId provided in the URL and make sure they select display the respective variant to the customer .