Custom Connector_UiPath Integration Service with Servicenow via layer X

Q1. Authentication and Token Retrieval: I’m currently building a custom connector in UiPath Integration Service for ServiceNow Enterprise Edition via a layer X. In Postman, I can successfully send a POST request with the header application/x-www-form-urlencoded to obtain a bearer token using client credentials. How can I achieve this using UiPath Integration Service, specifically in terms of configuring parameters?

Q2. How to use the bearer token (output of Q1) as authorization in other post request to create incident, update incident, etc.
Q3. How to create a trigger for the custom connector?
Q4. How to get the output of the request? Eg. incident id which was created in step2.
Q5. I possess only the Client ID and Client Secret of layer X to acquire the bearer token for subsequent requests. What’s the recommended Authentication approach in UiPath Integration Service for this scenario?