If you do not have a DHL Express account number, you can get one first by raising a request for it here. Under the 'User guide' section, you will find a link to create a new customer account.
Once you have an account number, you can request access to the API by clicking on 'Get access' button on top right corner of the page here