Yes getting a token is totally possible server sid...
# suitescript
v
Yes getting a token is totally possible server side