---
title: "Discussion on \"How to Integrate Grammarly Text Editor SDK into React App\" | Hashnode"
description: "Discussion on \"How to Integrate Grammarly Text Editor SDK into React App\". Provide real-time writing assistance in your app with a few lines of code."
url: "https://hashnode.com/posts/how-to-integrate-grammarly-text-editor-sdk-into-react-app/633a7c384c15da1c4cdc403e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Integrate Grammarly Text Editor SDK into React App](https://unclebigbay.hashnode.dev/how-to-integrate-grammarly-text-editor-sdk-into-react-app?utm_source=hashnode&utm_medium=feed)

Provide real-time writing assistance in your app with a few lines of code.

Oct 3, 2022 · 6 min read · unclebigbay.hashnode.dev  
Updated Jan 15, 2024  
Read the article

-   [#grammarly-sdk](https://hashnode.com/tag/grammarly-sdk)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#developer-tools](https://hashnode.com/tag/developer-tools)
-   [#sdk](https://hashnode.com/tag/sdk)

## Written by

[Ayodele Samuel Adebayo](https://hashnode.com/@unclebigbay)

@unclebigbay · Nigeria

  
[View profile](https://hashnode.com/@unclebigbay)

Software Engineer | Open-Source Contributor | Developer Educator

Software engineer and developer educator with over four years of experience building production-grade digital products for platforms serving millions of developers globally. Software engineer at Hashnode &amp; Bug0

## Responses 8

Markdown supported · ⌘↵ to post

[Dan Roscigno](https://hashnode.com/@DanRos)

[Nov 29, 2022](https://hashnode.com/posts/how-to-integrate-grammarly-text-editor-sdk-into-react-app/633a7c384c15da1c4cdc403e/comment/63856b8347639d245e659867)

Thanks very much! This is very helpful.

[Ayodele Samuel Adebayo](https://hashnode.com/@unclebigbay)

[Mar 7, 2023](https://hashnode.com/posts/how-to-integrate-grammarly-text-editor-sdk-into-react-app/633a7c384c15da1c4cdc403e/comment/63856b8347639d245e659867#reply-640781466c8cbdd4116b7ad7)

You're welcome!

[Ákos Kőműves](https://hashnode.com/@akoskm)

[Nov 18, 2022](https://hashnode.com/posts/how-to-integrate-grammarly-text-editor-sdk-into-react-app/633a7c384c15da1c4cdc403e/comment/6377992803a790859a3f3e17)

I didn't know this package existed, thanks for sharing [Ayodele Samuel Adebayo](https://hashnode.com/@unclebigbay)!

[Ayodele Samuel Adebayo](https://hashnode.com/@unclebigbay)

[Nov 18, 2022](https://hashnode.com/posts/how-to-integrate-grammarly-text-editor-sdk-into-react-app/633a7c384c15da1c4cdc403e/comment/6377992803a790859a3f3e17#reply-63779ae003a790859a3f3e43)

You're welcome

[Eleftheria Batsou](https://hashnode.com/@eleftheriabatsou)

[Oct 14, 2022](https://hashnode.com/posts/how-to-integrate-grammarly-text-editor-sdk-into-react-app/633a7c384c15da1c4cdc403e/comment/634901a51b098b3c50f27b39)

That is an excellent idea [Ayodele Samuel Adebayo](https://hashnode.com/@unclebigbay)!

[Ayodele Samuel Adebayo](https://hashnode.com/@unclebigbay)

[Oct 14, 2022](https://hashnode.com/posts/how-to-integrate-grammarly-text-editor-sdk-into-react-app/633a7c384c15da1c4cdc403e/comment/634901a51b098b3c50f27b39#reply-634902746461073d09df9586)

Thank you [Eleftheria Batsou](https://hashnode.com/@eleftheriabatsou)

[Timonwa Akintokun](https://hashnode.com/@Timonwa)

[Oct 13, 2022](https://hashnode.com/posts/how-to-integrate-grammarly-text-editor-sdk-into-react-app/633a7c384c15da1c4cdc403e/comment/6347c62f8213b93556f3102d)

Good read Samuel.

[Ayodele Samuel Adebayo](https://hashnode.com/@unclebigbay)

[Oct 13, 2022](https://hashnode.com/posts/how-to-integrate-grammarly-text-editor-sdk-into-react-app/633a7c384c15da1c4cdc403e/comment/6347c62f8213b93556f3102d#reply-6347c99e8213b93556f310ad)

Thank you for the feedback [Timonwa Pelumi Akintokun](https://hashnode.com/@Timonwa)

[Victor Eke](https://hashnode.com/@Eke)

[Oct 4, 2022](https://hashnode.com/posts/how-to-integrate-grammarly-text-editor-sdk-into-react-app/633a7c384c15da1c4cdc403e/comment/633c05b6743f66ab4b2254e4)

Cool article, Samson. The Grammarly AD is so funny, I love it.

[Ayodele Samuel Adebayo](https://hashnode.com/@unclebigbay)

[Oct 4, 2022](https://hashnode.com/posts/how-to-integrate-grammarly-text-editor-sdk-into-react-app/633a7c384c15da1c4cdc403e/comment/633c05b6743f66ab4b2254e4#reply-633c1139743f66ab4b2256bb)

Yay! It's the only commercial ad I watch till the end on YouTube while watching Mr. Beast.

> My name's Samuel 😂

[Andrew](https://hashnode.com/@andrewdimola)

[Oct 3, 2022](https://hashnode.com/posts/how-to-integrate-grammarly-text-editor-sdk-into-react-app/633a7c384c15da1c4cdc403e/comment/633b21e6a583d09ac691ae8b)

This is awesome. Thanks for writing such a comprehensive tutorial!

**One quick note:** I was speed-reading this tutorial and following along in my terminal and came upon an error in Step 4 - Creating a Text Editor.

I think it could help readers if you specify that `InputTextEditor` goes inside the `components` folder.

Also, at the time of this comment, the instructions have a minor typo that leads to a bug when running locally.

```
"create a new `component` folder"
```

should be ...

```
"create a new `components` folder"
```

Thanks again! 🙂

[Andrew](https://hashnode.com/@andrewdimola)

[Oct 3, 2022](https://hashnode.com/posts/how-to-integrate-grammarly-text-editor-sdk-into-react-app/633a7c384c15da1c4cdc403e/comment/633b21e6a583d09ac691ae8b#reply-633b25bfa583d09ac691aec6)

Otherwise worked flawlessly!

You may also want to note that, per current instructions, a reader will need to click into the `textarea` or equivalent to have the Grammarly button appear, after the `clientID` is specified in `.env`.

**Easter egg:** There's actually a new `activation` `EditorConfig` property that displays the Grammarly button without having to press or click into a text body element. I can't post links yet because I'm a new user, but you can set the config with:

```
activation: "immediate"
```

[Ayodele Samuel Adebayo](https://hashnode.com/@unclebigbay)

[Oct 3, 2022](https://hashnode.com/posts/how-to-integrate-grammarly-text-editor-sdk-into-react-app/633a7c384c15da1c4cdc403e/comment/633b21e6a583d09ac691ae8b#reply-633b4b985af0979a7a8de2b8)

Hi [Andrew](https://hashnode.com/@andrewdimola), thanks for your feedback,

I didn't realize the immediate activation prop exists, I've added it now with a link to the doc in the article FAQ section and fixed the other corrections too.

Thanks 🥳,

[Ijeoma Igboagu](https://hashnode.com/@Ijay)

[Oct 3, 2022](https://hashnode.com/posts/how-to-integrate-grammarly-text-editor-sdk-into-react-app/633a7c384c15da1c4cdc403e/comment/633a889dfa20fa4bc8e59aca)

Thanks for sharing

[Ayodele Samuel Adebayo](https://hashnode.com/@unclebigbay)

[Oct 3, 2022](https://hashnode.com/posts/how-to-integrate-grammarly-text-editor-sdk-into-react-app/633a7c384c15da1c4cdc403e/comment/633a889dfa20fa4bc8e59aca#reply-633a8d9cfa20fa4bc8e59bbc)

You're welcome [Ijay](https://hashnode.com/@Ijay)
