Skip to main content
Altorney Docs

Connecting with a service user

Connect Relativity with a dedicated account's email address and password: check its permissions and workspace access, and turn off two-factor authentication.

The second way to connect Relativity is with an ordinary Relativity account. Altorney signs in as that account with an email address and a password. An account used this way is called a service user. It is the quicker method to set up, but it needs more looking after: passwords expire, and the account cannot have two-factor authentication turned on. If you have the option, an OAuth2 client is the more reliable choice.

Use an account created specifically for this integration, never a person's own login. A colleague's account changes its password, gains two-factor authentication, is disabled when they leave, or has its permissions reduced. When any of that happens, every case connected to Relativity stops collecting data, usually without anyone noticing until the metrics look wrong. A dedicated account also keeps the audit trail accurate: Altorney's activity shows as the service account, not as a person who was not at their desk.

Preparing the account in Relativity

A Relativity administrator does this part, in Relativity.

1. Turn off two-factor authentication

Two-factor authentication must be turned off for the service account. This is not optional. Altorney signs in with the email address and password alone and cannot answer a second-factor challenge. An account with two-factor authentication fails at Confirm Credentials. If someone turns it on later, the account starts failing silently at the next scheduled data request.

If your firm's policy does not allow an account without two-factor authentication, use an OAuth2 client instead, which avoids the problem entirely.

Because this account cannot use a second factor, reduce the risk in other ways:

  • Keep the account dedicated to Altorney.
  • Use a unique, strong password stored in your approved credential vault.
  • Grant only the permission sets you actually use.
  • Rotate the password under your firm's service-account policy.
  • Watch the Status column on the Instances tab for unexpected authentication failures.

Prefer OAuth whenever your security policy allows it.

2. Give the account's group the right permissions

Permissions are granted to the group the service user belongs to, not to the user directly.

  • Instance-level permissions are set from the Relativity main panel. Open the hamburger menu, select Instance Details, then Manage Permissions, and choose the group that contains the service user.
  • Workspace-level permissions are set from the workspace panel: Admin > Workspace details > Manage Workspace Permissions.

The Relativity permissions reference shows which permission sets your situation needs, and Instance-level permissions explains each instance-level feature and object permission.

The second detail is lower in the same Features list. Object Security is a separate section in the left menu.

3. Check the group can reach the workspaces

Permissions alone are not enough. The group must also be attached to each workspace Altorney will read.

  1. Open the Relativity main panel.
  2. Go to User and Group Management > Groups.
  3. Select the group the service user is in.
  4. Confirm that every workspace you plan to connect appears in the group's Workspaces list.

The group’s Workspaces list includes MARC Demo [Template with permissions]. Check your own group for the workspace connected to your case.

If the service user can sign in but is not attached to a workspace, Relativity returns this message when Altorney asks for that workspace's audits: "You do not have permissions to perform this action for workspace {workspace ID}."

Entering the credentials in Altorney

  1. Go to Relativity in the left menu and stay on the Instances tab.

  2. Select Connect New Instance. The Relativity Instance Configuration dialog opens.

  3. Leave Authorization Type on Password, the default.

  4. Enter a Name for this environment and its Relativity URL.

  5. Enter the service account's sign-in address in Relativity Account Email and its password in Relativity Account Password. The password is masked. Once you start typing, an eye icon appears so you can check it before you submit.

  6. Set Instance does not have Elasticsearch as your Relativity administrator advises. For a RelativityOne address, Altorney clears and locks it for you.

Password authorization shows the account email and password fields, with Confirm Credentials below them.

  1. Select Confirm Credentials. Altorney signs in immediately. If it succeeds, you see "You have successfully connected to Relativity. Please click Save to store these credentials."
  2. Select Save.

Nothing is stored until you select Save, and Altorney never shows the password back to you afterward. When the password changes in Relativity, edit the instance and enter the new one.

When it does not connect

When the connection fails, Altorney shows "The connection to Relativity failed. Please check your URL and credentials and try again. Error: " followed by Relativity's own text. That last part is the useful half.

What you seeWhat it usually means
Credentials rejected at Confirm CredentialsThe password is wrong or expired, two-factor authentication is on for the account, or the account has no access to any workspace.
No workspaces to pick when setting up a case"There was an error loading the workspaces. Please check your instance configuration and try again." The group is missing Workspace - View, or is not attached to any workspace.
Clients do not load"There was an error getting clients from Relativity. If you are planning to allow Altorney to manage Relativity Users then you will need to resolve this." The group is missing Client - View. This matters only if Altorney manages users.
Audits never arrive on a connected caseThe group is missing Audit at instance level or View All Audits on that workspace, or the workspace is not attached to the group.
An error that mentions an array indexThe Instance does not have Elasticsearch check box is set the wrong way for this Relativity Server environment. Ask your Relativity administrator which way it should be, and edit the instance. On a RelativityOne address, the box is locked, so this is not the cause.
"Relativity is temporarily limiting requests. Please try again shortly."Relativity is limiting the account's requests. This is not a credentials or permission problem. See Troubleshooting.
Status changes to Failed on an instance that was workingAlmost always a password reset or expiry, or two-factor authentication being turned on.

Good to know

  • If you can, exempt the service account from your password-expiry policy. If you cannot, set a reminder before each expiry and update the instance the same day. While the status is Failed, no audits are collected.
  • Altorney calls the account's sign-in address Relativity Account Email, and the guide behind the Download Instructions button on the Settings tab of the Relativity page uses the same name. If your own notes call it a username, it is the same thing.
  • Saved searches used for the burndown and review-status reports must be visible to this account. Either make the saved search public, or set the service account as its owner, which limits it to the service account and Relativity administrators. See Saved search access.
  • The service account's permissions limit everything Altorney can do. If accounts are not being created for a role, or a case's metrics stay empty, check them against the Relativity permissions reference before you look in Altorney.
  • You can switch an existing instance to an OAuth2 client at any time without disconnecting your cases. Edit the instance and change Authorization Type.

On this page