> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Everlaw OAuth 2.0 connector profile – StackOne setup guide

> Set up a connector profile using OAuth 2.0 for Everlaw in StackOne to allow users to link their accounts.

> [!WARNING]
>
> Everlaw OAuth2 clients are registered by Everlaw, not self-service. Your organization must also have OAuth2 enabled, and OAuth2 is unavailable in FedRAMP environments such as the Department of Justice region.

Select Actions to adjust the guideSome actions may require additional configuration in the provider to be accessible. Choose the actions you need and the guide will be updated.

Select all
Clear

ActionScope(s)

Loading actions...No actions match your search.

Dynamic Guide URL

Copy URL

Scopes Selected

<pre role="textbox" aria-readonly="true" tabIndex="0" />

Separator

Copy scopes

## Request an OAuth2 client from Everlaw

Everlaw registers OAuth2 clients on your behalf. Contact your Everlaw administrator or [Everlaw Support](https://support.everlaw.com/hc/en-us) and ask them to register an authorization-code client for this integration.

**1. Register the redirect URI**

Everlaw only issues authorization codes to redirect URIs registered against your client, so this value must be registered before the first connection attempt.

<ul>
  <li>Copy the Callback URL shown on your Connector Profile.</li>
  <li>Give that exact URL to Everlaw as the redirect URI for the client.</li>
</ul>

**2. Request the scope groups you need**

Enables actions: Complete Source File Upload, Create Custodians, Create Database Dataset, Create Dataset Source File, Create Deep Dive Question, Create Organization Database, Create Organization Database Field, Create Organization Users, Create Project Metadata Field, Create Project Search, Create Project Users, Create Source File Part Upload URL, Delete Database User, Delete Organization Invitation, Delete Organization User, Delete Project Invitation, Delete Project User, Get API Status, Get Current User, Get Database, Get Database Billing, Get Database Dataset, Get Database Size, Get Database User, Get Deep Dive Question, Get Organization, Get Organization Billing, Get Organization Product Billing, Get Organization User, Get Parent Organization Billing, Get Project, Get Project Analytics, Get Project Billing, Get Project Document, Get Project Group, Get Project Search Result, Get Project Size, Get Project User, Get Source File, List Database Datasets, List Database Projects, List Database Users, List Databases, List Dataset Source Files, List Organization Custodians, List Organization Database Fields, List Organization Databases, List Organization Events, List Organization Events After, List Organization Invitations, List Organization Legal Holds, List Organization Projects, List Organization User Identifiers, List Organization Users, List Organizations, List Production Share Link Access Log, List Project Assignment Groups, List Project Bates Prefixes, List Project Binders, List Project Codes, List Project Datasets, List Project Events, List Project Events After, List Project Extraction Fields, List Project Freeform Codes, List Project Group Users, List Project Groups, List Project Invitations, List Project Metadata Fields, List Project Processed Uploads, List Project Productions, List Project Search Term Reports, List Project Searches, List Project Users, List Projects, List Recent Organization Events, List Recent Project Events, List Source File Parts, Replace Document Image, Replace Document Text, Resend Organization Invitation, Resend Project Invitation, Update Database Field Value, Update Database User, Update Document Metadata, Update Organization User, Update Project Case Overview, Update Project User

Everlaw groups API access into scope groups, and a client can only be granted scope groups that were registered for it. Request every group the actions you plan to run require.

<ul>
  <li>
    PLATFORM\_READ
  </li>

  <li>
    PLATFORM\_WRITE
  </li>

  <li>
    USER\_MANAGEMENT\_READ
  </li>

  <li>
    USER\_MANAGEMENT\_WRITE
  </li>

  <li>
    DATA\_READ
  </li>

  <li>
    DATA\_WRITE
  </li>

  <li>
    REVIEW\_READ
  </li>

  <li>
    DEEP\_DIVE\_READ
  </li>

  <li>
    BILLING\_READ
  </li>

  <li>
    SECURITY\_READ
  </li>

  <li>
    LEGAL\_HOLD\_READ
  </li>

  <li>
    LEGAL\_HOLD\_WRITE
  </li>
</ul>

**3. Record the client credentials**

Everlaw returns a client ID and client secret once the client is registered. Paste them into the Client ID and Client Secret fields of your Connector Profile.

## Narrow the requested scopes (optional)

Leave the Scopes field empty to request every scope group this connector uses. Set it only when you want a narrower grant.

**1. Enter a space-separated list**

Enter the scope groups separated by spaces, for example `PLATFORM_READ USER_MANAGEMENT_READ DATA_READ`. Requesting a group that was not registered for your client makes the authorization request fail.

## Choose the Everlaw region the client is registered in

Everlaw runs independent regional deployments, and an OAuth2 client exists in exactly one of them. The region you pick selects both the API host the connector calls and the host users sign in on, so it must match the deployment that hosts the organization the client was registered against.

**1. Find your region from your sign-in URL**

Sign in to Everlaw and look at the domain in your browser's address bar, then pick the matching entry in the Region list.

<ul>
  <li>`app.everlaw.com` — select United States.</li>
  <li>`app.everlaw.co.uk` — select United Kingdom.</li>
  <li>`app.everlaw.eu` — select European Union.</li>
  <li>`app.everlaw.ca` — select Canada.</li>
  <li>`app.everlaw.com.au` — select Australia.</li>
</ul>

## Set the Organization ID for SSO-enforced organizations

Leave Organization ID empty unless the Everlaw organization this client is registered against enforces SSO. When it does, the access token has to be issued through that organization's SSO provider, and Everlaw needs the organization ID to route the sign-in correctly.

**1. Find the organization ID**

If you connect without it and the organization enforces SSO, Everlaw rejects the request with a 403 error that names the organization ID to use. Enter that numeric ID here and connect again.

## Create the StackOne Connector Profile

**1. Create a Connector Profile**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

**2. Link an Account**

Once the Connector Profile is created, continue to [link an account](https://docs.stackone.com/connectors/everlaw/guides/link-account/oauth-2-0.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.