Articles on: Install Crisp

How do I use Crisp with ReactJS

Installing Crisp with React is very easy. Here is the solution


  1. Create an account on Crisp: app.crisp.chat
  2. Go to Settings from the bottom-left icon
  3. Navigate to Settings > Workspace Settings > Setup Instructions
  4. Click on Chatbox setup instructions and copy the HTML code



  1. Install Crisp in your React project:


npm install crisp-sdk-web


  1. 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 (
<div>
My Awesome App
</div>
);
}
}

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/

Updated on: 18/06/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!