Quick Start
Get PocketPing running on your website in under 5 minutes using our hosted solution.
SaaS Version
Sign up at app.pocketping.io to get your project ID and skip the backend setup.
Step 1: Add the Widget
Add the PocketPing widget to your website using the CDN:
index.html
<!-- Add before closing </body> tag -->
<script src="https://cdn.pocketping.io/widget.js"></script>
<script>
PocketPing.init({
// For SaaS users:
projectId: 'your-project-id',
// For self-hosted:
// endpoint: 'https://yoursite.com/pocketping',
// Customize appearance
operatorName: 'Support Team',
operatorAvatar: 'https://yoursite.com/avatar.png',
primaryColor: '#6366f1',
welcomeMessage: 'Hi! How can we help you today?',
});
</script>
Or install via npm for more control:
npm install @pocketping/widget
app.tsx
import { PocketPing } from '@pocketping/widget';
PocketPing.init({
projectId: 'your-project-id',
operatorName: 'Support Team',
primaryColor: '#6366f1',
});
Step 2: Configure Notifications
Set up where you want to receive notifications. Go to your project settings and connect one or more bridges:
Telegram
- Create bot with @BotFather
- Create supergroup with Topics
- Add bot as admin
- Paste token & chat ID
Discord
- Create bot at Dev Portal
- Enable MESSAGE CONTENT
- Add to server
- Paste token & channel ID
Slack
- Create app at Slack API
- Enable Socket Mode
- Add bot scopes
- Paste tokens
Step 3: Test It
Visit your website and click the chat widget. Send a test message and you should see it appear in your connected platforms within seconds.
Reply from Telegram, Discord, or Slack and watch the response appear in the widget in real-time!
Next Steps
- Widget Configuration - Customize colors, position, and behavior
- AI Fallback - Set up automatic responses when you're away
- Self-Hosting - Deploy on your own infrastructure