Defining Gateway Alias

I need to configure Asterisk as a gateway and then register with a gatekeeper.

How do I configure the Asterisk Alias for this?

Thanks,

Ray