FWD+Asterisk+X-Lite can't find any guides for this

So i got the asterisk server up. i was able to set up x-lite to use free world dial up to see if it was working. now my problem is, how do i get asterisk to work with x-lite and fwd?
i also have FreePBX installed, if i can use that some how to set up that would be preferred but im also curious about editing text files aswell.