Getting Started
Overview
This guide walks you through connecting a ServiceNow instance to Britive and granting your first just-in-time access session to a ServiceNow role — with no permanently assigned admin roles and full audit logging on every checkout.
What you’ll accomplish:
- Create a Britive integration user in ServiceNow with the required API permissions
- Onboard the ServiceNow application in the Britive console
- Create an access profile for a ServiceNow role
- Check out and verify JIT access end-to-end
Prerequisites
Before you begin, make sure you have:
- A Britive tenant with administrator access
- ServiceNow Administrator access to create users and manage roles
- A ServiceNow instance (production or PDI)
Never hardcode credentials. Use environment variables, your secret manager, or the Britive Secrets Store.
How It Works
Britive uses the ServiceNow REST API (Table API) to manage role assignments on users. At checkout, Britive adds the target role to the requesting user’s account. At checkin (or on expiry), the role is removed — no standing elevated roles remain on the account.
User → Britive Console → ServiceNow Table API → User Role Assignment (add/remove)Onboarding the Application
Connect your ServiceNow instance to your Britive tenant. This is a one-time setup performed by an administrator.
For detailed reference, see the Britive documentation.
Using the Britive Console
Create a Britive integration user in ServiceNow
In ServiceNow, navigate to User Administration → Users → New. Create a user named britive_integration and assign it the admin role (or a custom role with API and user management permissions).
Generate credentials
Set a password for the integration user. For enhanced security, consider using OAuth 2.0 — create an OAuth provider record and generate client credentials.
Add the application in Britive
Navigate to Applications → Add Application → ServiceNow. Enter your ServiceNow instance URL, integration user credentials (or OAuth client ID and secret).
Verify the connection
The application status should show Connected. Britive will scan and import your available ServiceNow roles.
Create Your First Access Profile
Using the Britive Console
Open the ServiceNow application
Navigate to Applications → select your ServiceNow application → Profiles → Add Profile.
Configure the profile
| Field | Value |
|---|---|
| Name | A descriptive name (e.g., SN-ChangeManager) |
| Environment | Select your ServiceNow instance |
| Expiration | Set a max session duration (e.g., 4h0m0s) |
Add permissions
Under Permissions, add the ServiceNow roles to include in this profile.
Add a policy
Under Policies, assign members and configure approval or time-of-access conditions.
Save and activate
Click Save.
Verify
Check out the profile
Navigate to My Access → find your profile → click Check Out.
Confirm ServiceNow role assignment
In ServiceNow, navigate to your user profile → Roles tab. Confirm the role appears in the list.
Check in
Return to My Access → click Check In. Verify the role is no longer listed under your user’s roles in ServiceNow.
Troubleshoot
| Symptom | Likely Cause | Fix |
|---|---|---|
| Application shows “Disconnected” | Integration user credentials expired or locked | Reset the password and update in Britive |
| Roles not visible | Integration user lacks sufficient API access | Ensure the integration user has the admin or equivalent role |
| Checkout fails | User not found in ServiceNow | Verify the Britive user email matches a ServiceNow user’s email |