Configuring ServiceNow
Before you can use Amazon Glue to transfer data from ServiceNow, you must meet these requirements:
Minimum requirements
The following are minimum requirements:
You have a ServiceNow account with email and password. For more information, see Creating a ServiceNow account.
Your ServiceNow account is enabled for API access. All use of the ServiceNow API is available at no additional cost.
If you meet these requirements, you’re ready to connect Amazon Glue to your ServiceNow account.
Creating a ServiceNow account
To create a ServiceNow account:
Navigate to the sign up page on servicenow.com, enter your details, and click Continue.
When you receive a verification code in your registered mail, enter that code and choose Verify.
Set up multi-factor authentication or skip doing so.
Your account is created and ServiceNow displays your profile.
Creating a ServiceNow developer instance
Request a developer instance after logging in to ServiceNow.
At the ServiceNow login page
, enter your account credentials. Choose the ServiceNow Developer Program.
Choose Request Instance in the top right.
Enter your job responsibilities. Indicate your agreement to the terms of use, and choose Finish setup.
Once the instance is created, note your instance URL and credentials.
Retrieving BasicAuth credentials
To retrieve Basic Auth credentials for a free account:
At the ServiceNow login page
, enter your account credentials. On the home page choose the edit profile section (top right corner) and choose Manage Instance Password.
Retrieve the login credentials such as username, password, and instance URL.
Note
If MFA is enabled for the account, append the MFA token to the end of the user's password in the basic auth: <username>:<password><MFA Token>
For more information, see Building applications
Creating OAuth 2.0 credentials
To use OAuth2.0 in ServiceNow connector, you need to create an inbound client) to generate the Client ID and Client Secret:
At the ServiceNow login page
, enter your account credentials. On the home page choose Start Building.
On the App Engine Studio page, search for Application Registry.
Choose New in the top right.
Choose the Create an OAuth API endpoint for external clients option.
Make any required changes to the OAuth configuration and choose Update.
Example for Redirect URL: https://us-east-1.console.aws.amazon.com/gluestudio/oauth
Select the newly created OAuth client app to retrieve the Client ID and Client Secret.
Store the Client ID and Client Secret for further processing.
To configure OAuth in a non-production developer account:
Create an authentication profile using the Create an authentication profile
topic in the ServiceNow documentation. In the Authentication Profile for OAuth, select Type as OAuth and select the above-created inbound client to set the OAuth Entity.
If there are multiple clients, then you need to create multiple authentication profiles to set the required OAuth entity in the authentication profile.
If not configured, create a REST API access policy, to give access to the TABLE API. See Create REST API access policy
.