How to setup new application adapter

I have to setup new application adapter using the oauth v2 for authorization to integrate with my servicenow instance. guide me through steps.


what value need to be added in authorization url

what value need to be added in token request url.
kindly guide.