> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.co-din.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How do I use Crisp with ReactJS

Articles on: [Crisp Inbox](/en/category/crisp-inbox-15ctwet/)

Installing Crisp with React is very easy. Here is the solution  
  
*   Create an account on Crisp.
  
*   Go to ` Settings`. Then, ` Website Settings`.
  
*   Next to your website, click on ` Settings`.
  
*   Click on ` Setup instructions`.
  
*   Click on ` Chatbox setup instructions`.
  
*   Select ` HTML`.
  
  
![](https://storage.crisp.chat/users/helpdesk/website/a3f704dd02a99800/2e47726e-e65d-4bc3-bc0e-ef0f1b_2h8xxc.png)  
  
*   Copy the JavaScript code
  
  
![](https://storage.crisp.chat/users/helpdesk/website/3cbce6c1dec19e00/87446077-470d-4b5a-9474-d34bcc_ilfdtk.png)  
  
*   Install Crisp in your React project:
  
  

``` npm install crisp-sdk-web```

  
  
*   Go to your React codebase and update the main component.
  
  

``` import React, { Component } from "react"; import { Crisp } from "crisp-sdk-web"; class App extends Component { componentDidMount() { Crisp.configure("MY_CRISP_WEBSITE_ID"); } render() { return (

My Awesome App

); } } export default App;```

  
  
Make sure to replace

` CRISP_WEBSITE_ID`

with yours. Otherwise, this will not work!  
  

### Using the Web SDK

  
  
The Crisp Web SDK offers many different options such as many loading, as well as setting user information.  
  
You can find more information from your our documentation on [https://docs.crisp.chat/guides/chatbox-sdks/web-sdk/npm/](https://docs.crisp.chat/guides/chatbox-sdks/web-sdk/npm/)

Updated on: 11/03/2024