Inside your Direct SMS Account, go to -
Configuration > API Settings
Set Username and Password
Click on the “Create key” button to save the changes
Please go to Preference and enter the Username and Password and save the settings.
Username - You will get the user name in Direct SMS portal
Password - You will get the password in Direct SMS portal