You will have to configure it manually. First thing is to create the extension in 3CX, if you haven't done so. It must ave the option to register from outside the local LAN.You will then have the user name (the extension number), the Password generated by 3CX, and either the FQDN of the 3CX server or it's public IP. You will use this information in the SIP setting page (46) of this...
manual.ftp://ftp.dlink.ru/pub/VoIP/DVG-5121SP/Description/DVG-5121SP_Manual_1.1.pdf
The Proxy address probably won't be used.
There are a lot of other settings on the ATA, which may have to be changed to get things like caller ID working. If the basic network settings are in correct, and your local router doesn't require any changes, or there are no conflicting devices on your local network, you should see some registration requests in the 3CX Activity Log.