integrating opencart user login with elgg

Hi, I have been searching for days and I can't find an answer. I hope I am posting in the right place. I have an opencart store and I want to integrate the customer login with elgg. I know it can be done here is an example I just can't find any info anywhere about how to do it.