Live Chat & Ts'ehetso ea bareki
Open-source bareki tšebelisano-'moho suite. Alternative ho Intercom, Zendesk. Features live chat, imeile, ho kenyelletsoa ha mecha ea litaba ea sechaba, le sehlopha tšebelisano-'moho.
Laola lipuisano ho tsoa chat ea webo, imeili, WhatsApp, Facebook, Twitter, Telegram le SMS ka sebopeho se le seng
Widget ea chat e nang le mabitso a khoebo, e tšehetsa lipuo tse ngata, nako ea mosebetsi, lifomo tsa pele ea chat, le moralo o arabelang lisebelisoa tsa mehala le tsa mohala
Lingoloa tsa lekunutu, @mentions, ho abela puisano, inbox ea sehlopha, le likarolo tsa mosebetsi oa hammoho oa nako ea nnete
Li-bot tse ikhethileng, likarabo tse entsoeng pele, li-macro, boiketsetso ba mosebetsi, le tataiso e bohlale ho ipapisa le maemo
Latela linako tsa karabo, linako tsa ho rarolla, linotlolo tsa CSAT, palo ea lipuisano, le litekanyo tsa ts'ebetso ea sehlopha
RESTful API, webhooks, tšehetso ea SSO, le likopanyo le lisebelisoa tse tummeng tse kang Slack, Salesforce le tse ling tse ngata
# Install Docker
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
# Install Docker Compose
sudo apt install docker-compose -y
# Add user to docker group
sudo usermod -aG docker $USER
newgrp docker2. Klona Polokelo ea Chatwoot:cd /opt
sudo git clone https://github.com/chatwoot/chatwoot.git
cd chatwoot3. Hlophisa Tikoloho:# Copy environment template
cp .env.example .env
# Edit configuration
nano .envBeha lintlha tse hlokahalang:# Rails configuration
SECRET_KEY_BASE=$(openssl rand -hex 64)
FRONTEND_URL=https://chat.yourdomain.com
# Database
POSTGRES_HOST=postgres
POSTGRES_USERNAME=chatwoot
POSTGRES_PASSWORD=your_secure_password
POSTGRES_DATABASE=chatwoot_production
# Redis
REDIS_URL=redis://redis:6379
# Email (SMTP)
SMTP_ADDRESS=smtp.gmail.com
SMTP_PORT=587
SMTP_USERNAME=your-email@gmail.com
SMTP_PASSWORD=your-app-password
SMTP_DOMAIN=yourdomain.com
SMTP_ENABLE_STARTTLS_AUTO=true4. Romella ka Docker Compose:# Start services
docker-compose up -d
# Check status
docker-compose ps
# View logs
docker-compose logs -f5. Theha Mosebelisi oa Admin:# Access Rails console
docker-compose exec rails bundle exec rails console
# Create admin account
user = User.create!(
name: 'Admin',
email: 'admin@yourdomain.com',
password: 'secure_password',
password_confirmation: 'secure_password'
)
user.confirm
AccountUser.create!(user: user, account_id: 1, role: :administrator)6. Hlophisa Nginx Reverse Proxy:sudo nano /etc/nginx/sites-available/chatwootKenya litlhophiso:server {
server_name chat.yourdomain.com;
location / {
proxy_pass http://localhost:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 90;
}
}7. Nolofalletsa Sebaka le ho Fumana Setifikeiti ea SSL:sudo ln -s /etc/nginx/sites-available/chatwoot /etc/nginx/sites-enabled/
sudo nginx -t
sudo systemctl restart nginx
# Install Certbot and get SSL
sudo apt install certbot python3-certbot-nginx -y
sudo certbot --nginx -d chat.yourdomain.com8. Kena ho Chatwoot:SECRET_KEY_BASE: Hlahisa ka openssl rand -hex 64FRONTEND_URL: URL ea sechaba ea Chatwoot ea haoFORCE_SSL: Beha ho true tlhahisongRAILS_ENV: Beha ho productionNODE_ENV: Beha ho productionMAILER_SENDER_EMAIL bakeng sa imeili e romelloangMAILER_INBOUND_EMAIL_DOMAIN bakeng sa kanale ea imeili# Use S3 for file uploads
ACTIVE_STORAGE_SERVICE=amazon
S3_BUCKET_NAME=your-bucket-name
AWS_ACCESS_KEY_ID=your-access-key
AWS_SECRET_ACCESS_KEY=your-secret-key
AWS_REGION=us-east-14. Kenyo ea Widget ea Chat ea Live:<!-- Add to your website's <head> or before </body> -->
<script>
(function(d,t) {
var BASE_URL="https://chat.yourdomain.com";
var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=BASE_URL+"/packs/js/sdk.js";
g.defer = true;
g.async = true;
s.parentNode.insertBefore(g,s);
g.onload=function(){
window.chatwootSDK.run({
websiteToken: 'YOUR_WEBSITE_TOKEN',
baseUrl: BASE_URL
})
}
})(document,"script");
</script>5. Litšobotso tse Ikhethileng bakeng sa Maikutlo a Tebileng:plan_type, signup_date, lifetime_valueShortcode: /greeting
Message: Hello {{contact.name}}! How can I help you today?
Shortcode: /hours
Message: Our support hours are Monday-Friday, 9 AM - 6 PM EST.
Shortcode: /ticket
Message: I've created ticket #{{conversation.id}} for your issue.8. Taolo ea Sehlopha:# Get API access token from Settings → Integrations → API
curl -H "api_access_token: YOUR_TOKEN" \
-H "Content-Type: application/json" \
https://chat.yourdomain.com/api/v1/accounts/1/conversations10. Ntlafatso ea Ts'ebetso:Qala ka metsotsoana ka ts'ebetso ea rona e bonolo ea ho kenya VPS
Ho kenya ka ho ka bang 2 metsotso • Full root ho kena • Thuto ka terene le lengolo tsoibila