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

# Grammarly

## Overview

<CardGroup cols={3}>
  <Card title="Pre-built tooling" icon="screwdriver-wrench" href="#pre-built-tooling" />

  <Card title="Pre-built integrations" icon="square-check" href="#pre-built-integrations" />

  <Card title="Access requirements" icon="triangle-exclamation" href="#access-requirements" />

  <Card title="Setup guide" icon="rocket" href="#setup-guide" />

  <Card title="Useful links" icon="circle-info" href="#useful-links" />

  <Card title="API gotchas" icon="biohazard" href="#api-gotchas" />
</CardGroup>

## Pre-built tooling

<AccordionGroup>
  <Accordion title="✅ Authorization">
    | Tools                           | Status |
    | ------------------------------- | ------ |
    | Pre-built authorization (OAuth) | ✅      |
    | Credentials auto-refresh        | ✅      |
    | Pre-built authorization UI      | ✅      |
    | Custom authorization UI         | ✅      |
    | Expired credentials detection   | ✅      |
  </Accordion>

  <Accordion title="✅ Read & write data">
    | Tools                                     | Status                         |
    | ----------------------------------------- | ------------------------------ |
    | Pre-built integrations                    | ✅                              |
    | API unification                           | ✅                              |
    | 2-way sync                                | ✅                              |
    | Webhooks from Nango on data modifications | ✅                              |
    | Real-time webhooks from 3rd-party API     | 🚫 (time to contribute: \<48h) |
    | Proxy requests                            | ✅                              |
  </Accordion>

  <Accordion title="✅ Observability & data quality">
    | Tools                   | Status |
    | ----------------------- | ------ |
    | HTTP request logging    | ✅      |
    | End-to-end type safety  | ✅      |
    | Data runtime validation | ✅      |
    | OpenTelemetry export    | ✅      |
    | Slack alerts on errors  | ✅      |
    | Integration status API  | ✅      |
  </Accordion>

  <Accordion title="✅ Customization">
    | Tools                              | Status                         |
    | ---------------------------------- | ------------------------------ |
    | Create or customize use-cases      | ✅                              |
    | Pre-configured pagination          | 🚫 (time to contribute: \<48h) |
    | Pre-configured rate-limit handling | 🚫 (time to contribute: \<48h) |
    | Per-customer configurations        | ✅                              |
  </Accordion>
</AccordionGroup>

### Users

| Function name | Description                            | Type                                           | Source code                                                                                                           |
| ------------- | -------------------------------------- | ---------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| `delete-user` | Deletes a user in Grammarly            | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/grammarly/actions/delete-user.ts) |
| `users`       | Fetches a list of users from Grammarly | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/grammarly/syncs/users.ts)         |

## Access requirements

| Pre-Requisites    | Status | Comment                                                 |
| ----------------- | ------ | ------------------------------------------------------- |
| Paid dev account  | ✅      | Grammarly Enterprise or Education admin access required |
| Paid test account | ❓      |                                                         |
| Partnership       | ❓      |                                                         |
| App review        | ❓      |                                                         |
| Security audit    | ❓      |                                                         |

## Setup guide

1. Go to your **Admin panel** in Grammarly Enterprise or Education.
2. Open the **Organization** tab and choose **OAuth 2.0 credentials** in the **Configurations** section.
3. Click **Add credential** in the upper-right corner.
4. Enter a name and select the APIs you need access to.
5. Click **Create**.
6. Copy your **Client ID** and **Secret**.

<Tip>Need help getting started? Get help in the [community](https://nango.dev/slack).</Tip>

<Note>Contribute improvements to the setup guide by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/grammarly.mdx)</Note>

## Useful links

* [OAuth 2.0 credentials documentation](https://developer.grammarly.com/oauth-credentials.html)
* [API request examples](https://developer.grammarly.com/your-first-api-request.html)

<Note>Contribute useful links by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/grammarly.mdx)</Note>

## API gotchas

* Only Grammarly Enterprise and Education admins have access to create OAuth 2.0 credentials.
* Available OAuth scopes:
  * `scores-api:read`: Read-only access to the Writing Score API
  * `scores-api:write`: Write access to the Writing Score API
  * `analytics-api:read`: Read-only access to the Analytics API
  * `users-api:read`: Read-only access to the License Management API
  * `users-api:write`: Write access to the License Management API

<Note>Contribute API gotchas by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/grammarly.mdx)</Note>
