If you have Moodle 2.0, please see ourĀ
Moodle 2.0 Integration Guide
.