Sipgate trunk

Hey,
I am trying to set up a FreePBX server with the FreePBX distro.
I have a sipgate account and I’m trying to create a trunk from my server to sipgate, I’ve found loads of guides that all say roughly the same thing but I still don’t understand what I exactly need to put in and where.
username=1234567
type=peer
secret=XXXXXXXX
qualify=yes
nat=never
insecure=very
host=sipgate.co.uk
fromuser=1234567
fromdomain=mydomain.com
dtmfmode=rfc2833
disallow=all
context=from-trunk
canreinvite=yes
authuser=1234567
allow=ulaw
Is the rough guide, but which username? The email I login to sipgate with or the sipgate ID for the phone? Do I randomly make up the secret or is there somewhere to find it? etc etc
I’m very sorry for such a newbie question but I can’t seem to find a clear explanation anywhere.

Thanks,
Jethro

Peer Details

username=1234567
type=peer
secret=XXXXXXXX
qualify=yes
nat=never
insecure=very
host=sipgate.co.uk
fromuser=1234567
fromdomain=mydomain.com
dtmfmode=rfc2833
disallow=all
allow=ulaw
context=from-trunk
canreinvite=yes
authuser=1234567

Register String:
1234567:[email protected]/DIDnumber else username