Crisp
Overview
Crisp is an all-in-one customer messaging platform: live chat widget, shared inbox, knowledge base, chatbot, and CRM. Free tier supports 2 operators with unlimited conversations.
Instructions
Step 1: Add Chat Widget
<!-- Add to your website — basic installation -->
<script type="text/javascript">
window.$crisp=[];window.CRISP_WEBSITE_ID="YOUR_WEBSITE_ID";
(function(){d=document;s=d.createElement("script");
s.src="https://client.crisp.chat/l.js";
s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();
</script>
Step 2: React Integration
// components/CrispChat.tsx — Crisp in React/Next.js
'use client'
import { useEffect } from 'react'
export function CrispChat() {
useEffect(() => {
window.$crisp = []
window.CRISP_WEBSITE_ID = process.env.NEXT_PUBLIC_CRISP_ID!
const s = document.createElement('script')
s.src = 'https://client.crisp.chat/l.js'
s.async = true
document.head.appendChild(s)
}, [])
return null
}
// Set user data when they log in
window.$crisp.push(['set', 'user:email', ['john@example.com']])
window.$crisp.push(['set', 'user:nickname', ['John']])
window.$crisp.push(['set', 'session:data', [['plan', 'pro'], ['mrr', '49']]])
Step 3: API Integration
// lib/crisp.ts — Send messages and manage conversations via API
const CRISP_ID = process.env.CRISP_IDENTIFIER!
const CRISP_KEY = process.env.CRISP_KEY!
const WEBSITE_ID = process.env.CRISP_WEBSITE_ID!
// Send a message to a conversation
await fetch(`https://api.crisp.chat/v1/website/${WEBSITE_ID}/conversation/${sessionId}/message`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Authorization: `Basic ${Buffer.from(`${CRISP_ID}:${CRISP_KEY}`).toString('base64')}`,
},
body: JSON.stringify({
type: 'text',
from: 'operator',
origin: 'chat',
content: 'Thanks for reaching out! Let me help you.',
}),
})
Guidelines
- Free tier: 2 operators, unlimited conversations, chat widget, mobile apps.
- Pro ($25/mo): chatbot, knowledge base, audio/video calls, integrations.
- Use session data to pass user context (plan, MRR, last action) to support agents.
- Crisp chatbot can handle FAQs automatically before routing to humans.
1---2name: crisp3description: >-4 Add live chat and customer support with Crisp. Use when a user asks to add5 a chat widget, implement live customer support, set up a help desk, create6 a knowledge base, or add a chatbot to a website.7license: Apache-2.08compatibility: 'Any website, React, Vue, mobile apps'9metadata:10 source: https://skillmd.com/skills/eliferjunior/crisp11 author: terminal-skills12 version: 1.0.013 category: business14 tags:15 - crisp16 - chat17 - support18 - helpdesk19 - live-chat20---2122# Crisp2324## Overview2526Crisp is an all-in-one customer messaging platform: live chat widget, shared inbox, knowledge base, chatbot, and CRM. Free tier supports 2 operators with unlimited conversations.2728## Instructions2930### Step 1: Add Chat Widget3132```html33<!-- Add to your website — basic installation -->34<script type="text/javascript">35 window.$crisp=[];window.CRISP_WEBSITE_ID="YOUR_WEBSITE_ID";36 (function(){d=document;s=d.createElement("script");37 s.src="https://client.crisp.chat/l.js";38 s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();39</script>40```4142### Step 2: React Integration4344```tsx45// components/CrispChat.tsx — Crisp in React/Next.js46'use client'47import { useEffect } from 'react'4849export function CrispChat() {50 useEffect(() => {51 window.$crisp = []52 window.CRISP_WEBSITE_ID = process.env.NEXT_PUBLIC_CRISP_ID!53 const s = document.createElement('script')54 s.src = 'https://client.crisp.chat/l.js'55 s.async = true56 document.head.appendChild(s)57 }, [])58 return null59}6061// Set user data when they log in62window.$crisp.push(['set', 'user:email', ['john@example.com']])63window.$crisp.push(['set', 'user:nickname', ['John']])64window.$crisp.push(['set', 'session:data', [['plan', 'pro'], ['mrr', '49']]])65```6667### Step 3: API Integration6869```typescript70// lib/crisp.ts — Send messages and manage conversations via API71const CRISP_ID = process.env.CRISP_IDENTIFIER!72const CRISP_KEY = process.env.CRISP_KEY!73const WEBSITE_ID = process.env.CRISP_WEBSITE_ID!7475// Send a message to a conversation76await fetch(`https://api.crisp.chat/v1/website/${WEBSITE_ID}/conversation/${sessionId}/message`, {77 method: 'POST',78 headers: {79 'Content-Type': 'application/json',80 Authorization: `Basic ${Buffer.from(`${CRISP_ID}:${CRISP_KEY}`).toString('base64')}`,81 },82 body: JSON.stringify({83 type: 'text',84 from: 'operator',85 origin: 'chat',86 content: 'Thanks for reaching out! Let me help you.',87 }),88})89```9091## Guidelines9293- Free tier: 2 operators, unlimited conversations, chat widget, mobile apps.94- Pro ($25/mo): chatbot, knowledge base, audio/video calls, integrations.95- Use session data to pass user context (plan, MRR, last action) to support agents.96- Crisp chatbot can handle FAQs automatically before routing to humans.