Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Commit d90308e

Browse files
authored
Update experimental.md
1 parent 002e863 commit d90308e

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

docs/_docs/reference/skills/experimental.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,20 +109,19 @@ This skill demonstrates the following scenarios:
109109
To test this skill you will need to follow the ServiceNow configuration steps shown below:
110110

111111
1. Create a ServiceNow instance in the [ServiceNow Developer Site](https://developer.servicenow.com/app.do#!/instance).
112-
1. Provide this value in your `appsettings.json` file.
112+
1. Update this configuration entry in your `appsettings.json` file with your Service Now instance URL:
113113
`"serviceNowUrl": "{YOUR_SERVICENOW_INSTANCE_URL}`
114114
1. Create a [scripted REST API](https://docs.servicenow.com/bundle/geneva-servicenow-platform/page/integrate/custom_web_services/task/t_CreateAScriptedRESTService.html) to get current user's sys_id and please raise an issue if simpler way is found
115115
- In System Web Services/Scripted REST APIs, click New to create an API
116116
- In API's Resources, click New to add a resource
117117
- In the resource, select GET for HTTP method and input `(function process(/*RESTAPIRequest*/ request, /*RESTAPIResponse*/ response) { return gs.getUserID(); })(request, response);` in Script
118118
- Update the serviceNowGetUserId of appsetting.json: `"serviceNowGetUserId": "YOUR_API_NAMESPACE/YOUR_API_ID"`
119-
1. Set up endpoint by [this document](https://docs.servicenow.com/bundle/london-platform-administration/page/administer/security/task/t_CreateEndpointforExternalClients.html#t_CreateEndpointforExternalClients) for Client id and Client secret to be used in the following OAuth Connection
119+
1. Register an Application and OAuth configuration by following [these instructions](https://docs.servicenow.com/bundle/london-platform-administration/page/administer/security/task/t_CreateEndpointforExternalClients.html#t_CreateEndpointforExternalClients). Keep the generated Client ID and Client Secret to be used in the following OAuth Connection step.
120120
- Redirect URL is https://token.botframework.com/.auth/web/redirect
121-
1. Add an OAuth Connection in the Settings of Web App Bot named 'ServiceNow' with Service Provider 'Generic Oauth 2'
122-
- Authorization URL as https://instance.service-now.com/oauth_auth.do
123-
- Token URL, Refresh URL as https://instance.service-now.com/oauth_token.do
121+
1. Add an OAuth Connection in the Settings pane of your Web App Bot named 'ServiceNow' using Service Provider 'Generic Oauth 2'
122+
- Set Authorization URL, Token URL, Refresh URL to the followiong, replacing YOUR_INSTANCE with your instance name: https://YOUR_INSTANCE.service-now.com/oauth_token.do
124123
- No Scopes are needed
125-
- Click Test Connection to verify
124+
- Click Test Connection to verify the connection works as expected.
126125

127126
To test this skill with your Virtual Assistant one manual step is required over and above the usual skill connection steps.
128127

0 commit comments

Comments
 (0)