I assume you mean the Internet(E1) ethernet connection.


interface ethernet 1
ip address dhcp
end


After entering those commands, if you do sh run the configs should have the following lines added:

!
interface Ethernet1
ip address dhcp
!


When connected, you can get the settings that the router has picked up by using sh dhcp lease