Skip to main content
You will need a ServiceNow account with admin privileges (or equivalent roles that can manage API Access Policies). Basic Auth must be allowed in two places: (1) a REST API Access Policy covering the Table API, and (2) the BasicAuth inbound authentication profile must be Active.

Find your instance name

Your instance name is the subdomain of your ServiceNow URL, without .service-now.com.

  • Format: {your-instance}
  • Example: if your URL is https://dev12345.service-now.com, your instance name is dev12345
  • Copy the Instance Name across.

Configure the REST API Access Policy

The Table API needs a REST API Access Policy that allows Basic Auth.

1

Find the Table API policy

Sign in to your instance at https://{your-instance}.service-now.com.

  • Click All in the top navigation bar.
  • Filter: rest api access
  • Open System Web Services > API Access Policies > REST API Access Policies.
  • In the API Access Policies list, find the policy that covers the Table API. Policy names vary by ServiceNow release and instance, so identify it by its columns: REST API = Table API and REST API PATH = now/table.
  • Depending on your ServiceNow release and instance configuration, this may be a single Table API policy or separate Table GET API Access Policy and Table POST API Access Policy records
  • If no Table API policy exists, create one.
API Access Policies list with the Table API policy row highlighted
2

Create a new policy only if none exists

Create a policy only if the list has no Table API policy.

  • Click New.
  • Name: a name for the policy
  • Active: leave checked
  • Global: leave unchecked unless the policy should apply across all application scopes
  • REST API: select Table API (REST API PATH auto-fills to now/table)
  • Apply to all methods: checked
  • Apply to all resources: checked
  • Apply to all versions: checked
  • Apply to all tables: checked
  • Advertise all auth schemes: check it to allow Basic Auth alongside any explicit profiles, or leave it unchecked and add BasicAuth for none public processors under Inbound authentication profiles via Insert a new row…
  • Click Submit.
New API Access Policy form with REST API set to Table API
3

Verify the policy is Active

Open the Table API policy record and confirm Active is checked. Also confirm the coverage checkboxes are ticked - Apply to all methods, Apply to all resources, Apply to all versions, and Apply to all tables.

Table API access policy record with the Active checkbox highlighted
4

Confirm the policy allows Basic Auth

On the same policy record, Basic Auth is allowed if either of the following is true. Click Update if you changed anything.

  • Advertise all auth schemes is checked, or
  • BasicAuth for none public processors appears in the Inbound authentication profiles related list.
  • If it is missing, click Insert a new row….
  • Pick BasicAuth for none public processors.
  • Click Update.
Inbound authentication profiles related list on the policy showing BasicAuth for none public processors

Activate the BasicAuth Inbound Authentication Profile

ServiceNow ships a built-in inbound authentication profile named BasicAuth for none public processors that handles Basic Auth across all non-public REST endpoints.

1

Find the BasicAuth profile

In your ServiceNow instance, find the inbound authentication profile.

  • Click All in the top navigation bar.
  • Filter: inbound auth
  • Open System Web Services > API Access Policies > Inbound Authentication Profile.
  • In the Authentication Profiles list, look for the row named BasicAuth for none public processors (its Apply to all none public processors column reads true).
Authentication Profiles list with BasicAuth for none public processors highlighted
2

Create the profile only if missing

Create the profile only if the Authentication Profiles list does not have it.

  • Click New.
  • What kind of authentication profile?: select Create standard http authentication profiles
  • Name: BasicAuth for none public processors
  • Active: check it
  • Apply to all none public processors: check it
  • Click Submit.
What kind of authentication profile page with Create standard http authentication profiles highlighted
3

Verify the profile is Active

Open the record and confirm the Type field reads Basic Auth.

  • If Active is unchecked, check it.
  • Click Update.
  • Leave Apply to all none public processors checked.
BasicAuth for none public processors record with the Active checkbox highlighted

Find your username and password

The account must have roles that grant Table API access, such as admin or itil.

  • Copy the Username across.
  • Copy the Password across.
1

Connect

  • Click Connect.
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup.
2

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.

Next Steps

Webhooks setup

Configure receiving Events for ServiceNow into StackOne.