> ## Documentation Index
> Fetch the complete documentation index at: https://conductorone-docs-mcp-bridge-private-server.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Set up a Grammarly connector

> C1 provides identity governance for Grammarly. Integrate your Grammarly institution with C1 for unified visibility and governance over user access.

C1 provides identity governance for Grammarly. Integrate your Grammarly
institution with C1 for unified visibility and governance over user access.

## Capabilities

| Resource | Sync                                                          | Provision |
| -------- | ------------------------------------------------------------- | --------- |
| Users    | <Icon icon="square-check" iconType="solid" color="#c937ae" /> |           |
| Invitees | <Icon icon="square-check" iconType="solid" color="#c937ae" /> |           |

The connector reads one Grammarly institution — the institution the OAuth
credentials belong to. It syncs the institution's license-holding users
and its pending invitees. Each user carries a last-activity timestamp,
which supports inactivity-based license reviews. Invitees with a valid
invite sync as enabled; invitees whose invite has expired sync as
disabled, since they cannot join until reinvited but still occupy a
license until removed.

## Gather Grammarly credentials

<Warning>
  You need administrator access to your Grammarly institution's Admin panel
  to create OAuth 2.0 credentials.
</Warning>

<Steps>
  <Step>
    Sign in to Grammarly and open the **Admin** panel.
  </Step>

  <Step>
    Open the **Organization** tab and choose **OAuth 2.0 credentials** in
    the **Configurations** section.
  </Step>

  <Step>
    Create credentials with the **users-api:read** scope.
  </Step>

  <Step>
    Copy the client ID and client secret. The secret is shown only at
    creation time.
  </Step>
</Steps>

## Configure the Grammarly connector

<Tabs>
  <Tab title="Cloud-hosted">
    Follow these instructions to use a built-in, no-code connector hosted by C1.

    <Steps>
      <Step>
        In C1, navigate to **Integrations** > **Connectors** and click **Add connector**.
      </Step>

      <Step>
        Search for **Grammarly** and click **Add**.
      </Step>

      <Step>
        Choose how to set up the new Grammarly connector.
      </Step>

      <Step>
        Set the owner for this connector.
      </Step>

      <Step>
        Click **Next**.
      </Step>

      <Step>
        Find the **Settings** area of the page and click **Edit**.
      </Step>

      <Step>
        Enter the Grammarly credentials:

        * **OAuth client ID**: the client ID you created in the Admin
          panel.
        * **OAuth client secret**: the client secret paired with the
          client ID.
        * **OAuth token URL**: Grammarly's token endpoint,
          `https://auth.grammarly.com/v4/api/oauth2/token`.
        * **Grammarly API base URL**: the License Management API base
          URL, `https://api.grammarly.com/ecosystem/api/v1`, with no
          trailing slash.
      </Step>

      <Step>
        Click **Save**.
      </Step>

      <Step>
        The connector's label changes to **Syncing**, followed by **Connected**. You can view the logs to ensure that information is syncing.
      </Step>
    </Steps>

    **Done.** Your Grammarly connector is now pulling access data into C1.
  </Tab>

  <Tab title="Self-hosted">
    Follow these instructions to run the Grammarly connector in your own
    environment.

    <Steps>
      <Step>
        Create a secret for the Grammarly OAuth client secret.
      </Step>

      <Step>
        Configure the connector environment variables:

        * **BATON\_GRAMMARLY\_CLIENT\_ID**: the client ID you created in the Admin
          panel.
        * **BATON\_GRAMMARLY\_CLIENT\_SECRET**: the client secret paired with the
          client ID.
        * **BATON\_TOKEN\_URL**: Grammarly's token endpoint,
          `https://auth.grammarly.com/v4/api/oauth2/token`.
        * **BATON\_BASE\_URL**: the License Management API base URL,
          `https://api.grammarly.com/ecosystem/api/v1`, with no trailing
          slash.
      </Step>

      <Step>
        Deploy the connector using your standard self-hosted connector process.
      </Step>
    </Steps>

    **Done.** Your Grammarly connector is now pulling access data into C1.
  </Tab>
</Tabs>
