Examples for setting up authorization /businessnxtapi/authentication/service/examples section Here you can find some examples for how to set up authorization. 2024-09-24T15:57:29+02:00 # Examples for setting up authorization Here you can find some examples for how to set up authorization. Click the links below to look at examples for how to set up authorization for either Postman or Insomnia. Postman /businessnxtapi/authentication/service/examples/postman page Set up OAuth2.0 with Client Credentials grant type in Postman for authenticating your service via Visma Connect. 2024-09-24T15:57:29+02:00 # Postman Set up OAuth2.0 with Client Credentials grant type in Postman for authenticating your service via Visma Connect. In Postman, you can set the authorization method and details either per request or collection. To authenticate your service, perform the following setup: 1. Choose the **OAuth2.0** authorization type. 2. Select the **Client credentials** grant type. 3. Use the following access token URL: . 4. Fill in the client ID and the client secret. 5. Enter the scope `business-graphql-service-api:access-group-based`. 6. Select **Send as Basic Auth header** option for *Client Authentication*. These settings are shown in the following image: ![Configure Postman](../postman5.png) > [!TIP] > > You can learn more about about authentication in Postman from its official documentation. See [Authorizing requests](https://learning.postman.com/docs/sending-requests/authorization/). Insomnia /businessnxtapi/authentication/service/examples/insomnia page Guide to setting up OAuth2 Client Credentials in Insomnia for authenticating your service. 2024-09-24T15:57:29+02:00 # Insomnia Guide to setting up OAuth2 Client Credentials in Insomnia for authenticating your service. In Insomnia, you can set the authorization method and details per request. To authenticate your service, perform the following setup: 1. Choose the **OAuth2** authorization type. 2. Select the **Client Credentials** grant type. 3. Use the following access token URL: . 4. Fill in the client ID and the client secret. 5. Enter the scope `business-graphql-service-api:access-group-based`. 6. Select **As Basic Auth Header** option for *Credentials* combo. These settings are shown in the following image: ![Configure Insomnia](../insomnia8.png) > [!TIP] > > You can read more about authentication in Insomnia [here](https://docs.insomnia.rest/insomnia/authentication).