Set up the Wrike spoke
Integrate the ServiceNow instance and Wrike account by creating a custom OAuth application in Wrike API Developer Site to authenticate ServiceNow requests.
Vorbereitungen
- Request an Integration Hub subscription.
- Activate the Wrike spoke.
- Role required: admin.
Prozedur
-
Log in to Wrike account as an admin and add an app.
For more information about creating an app, see OAuth 2.0 Authorization.
-
Copy and record the values of Client ID and Client Secret for later use.
Hinweis:You must have the Wrike Enterprise account to create an app and obtain values of Client ID and Client Secret from the Wrike account.
- Log in to your ServiceNow instance.
- Navigate to All > Process Automation > Workflow Studio.
- Select Integrations.
- Select the Connections tab.
-
In the Search all connections field, enter Wrike.
Hinweis:The Outbound tab is selected by default. Or else, toggle to select it.
-
On the Wrike connection alias tile, select View Details.
- Select Configure.
-
Fill the form.
Tabelle : 1. Create Connection form Field Description Connection Name Name of the connection. Connection URL Option to provide the web address that specifies the location and access details of Wrike portal. OAuth Client ID Option to provide the OAuth client ID that you generated when you set up the OAuth app. OAuth Client Secret Option to provide the OAuth client secret that you generated when you set up the OAuth app. OAuth Redirect URL Option to provide the redirect URL that you had provided when you set up the OAuth app. The redirect URL must be in the format https://instance-name.service-now.com/oauth_redirect.do. -
Select Create and Get OAuth Token.
You must log in to the Wrike API developer's portal before getting the OAuth token.
-
Configure the default application registry.
- Navigate to System OAuth > Application Registry.
- Open the record Wrike.
-
On the form, fill these values:
Field Description Client ID Client ID of the app created in Wrike account. Client Secret Client secret of the app created in Wrike account. Redirect URL ServiceNow instance URL in this format: https://<instance-name>.service-now.com/oauth_redirect.do. Replace <instance-name> with your instance name. Hinweis:If you have provided additional scopes, create records for those scopes in the OAuth Entity Scopes tab. Enter the scopes separated by comma ().
-
Create a credential record.
- Navigate to Connections & Credentials > Credentials.
-
Select New.
The system displays the message What type of Credentials would you like to create?.
- Select OAuth 2.0 Credentials.
-
On the form, fill in the fields.
Field Value required Name Name to uniquely identify the record. Enter Wrike Credentials. Active Option to actively use the credential record. OAuth Entity Profile OAuth profile you created when you registered the Wrike app as an OAuth provider. Select Wrike default_profile. Applies to MID Servers that can use this credential. Select All MID Servers. Order Order to apply this credential. Enter 100. - Right-click the form header and click Save.
-
Create a connection record.
- Navigate to Connections & Credentials > Connection & Credential Aliases.
- Open for the record for Wrike.
-
From the Connections tab, click New.
The system displays a blank HTTP(s) Connection form.
-
On the form, fill these values.
Field Value required Name Name to uniquely identify the connection record. EnterWrike Connection. Credential Credential record you created for Zoom. Select Wrike Credentials. Connection alias Alias record associated with this connection. Connection URL Base URL to connect to your Wrike account. Enter https://www.wrike.com/api. Active Option to actively use the connection. Domain Domain that the action or activity runs in. - Wahlweise: In the Attributes tab, specify your Wrike API version if it is different from the default value, v4.
- Click Submit.
The ServiceNow instance and Wrike account are integrated.