Push Notifications
Set up and send mobile and web push notifications with advanced targeting and automation.
Overview
LeadNest supports multiple push notification types:
- Web Push: Browser notifications for desktop and mobile web
- Mobile Push: Native notifications for iOS and Android apps
- In-App Messages: Messages displayed within your app
Developer Ready
Integrate messaging into your app with our easy-to-follow SDK setup guide below.
Set up push notifications in 3 simple steps
Integrate messaging into your app with our easy-to-follow SDK setup guide.
1
Select SDK Platform
Choose how your app connects
REST API
iOS
Android
React Native
Flutter
2
Configure App Settings
Install SDK and add credentials
build.gradle
dependencies {
implementation 'ai.leadnest:sdk:1.0.0'
}
3
Install & Test
Verify SDK integration
Install SDK
Test Delivery
Register Device
Web Push Setup
Enable web push notifications:
- Go to Settings → Channels → Web Push
- Add your website URL
- Copy the SDK code snippet
- Add the code to your website's
<head>section - Configure permission prompts
SDK Installation
<script src="https://cdn.leadnest.ai/sdk/web-push.js"></script>
<script>
LeadNest.init({
appId: 'YOUR_APP_ID',
apiKey: 'YOUR_API_KEY'
});
</script>
Mobile Push Setup
Android (FCM)
- Create a Firebase project
- Download
google-services.json - Add to your Android app
- Configure FCM in LeadNest dashboard
// Add to build.gradle
dependencies {
implementation 'ai.leadnest:android-sdk:1.0.0'
implementation 'com.google.firebase:firebase-messaging:23.0.0'
}
// Initialize in Application class
LeadNest.init(this, "YOUR_APP_ID", "YOUR_API_KEY");
iOS (APNs)
- Generate APNs certificate in Apple Developer portal
- Upload certificate to LeadNest dashboard
- Configure push capabilities in Xcode
- Integrate LeadNest iOS SDK
// Add to Podfile
pod 'LeadNest', '~> 1.0'
// Initialize in AppDelegate
import LeadNest
func application(_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
LeadNest.initialize(appId: "YOUR_APP_ID", apiKey: "YOUR_API_KEY")
return true
}
React Native
// Install package
npm install @leadnest/react-native-sdk
// Initialize
import LeadNest from '@leadnest/react-native-sdk';
LeadNest.init({
appId: 'YOUR_APP_ID',
apiKey: 'YOUR_API_KEY'
});
Flutter
// Add to pubspec.yaml
dependencies:
leadnest_flutter: ^1.0.0
// Initialize
import 'package:leadnest_flutter/leadnest_flutter.dart';
await LeadNest.initialize(
appId: 'YOUR_APP_ID',
apiKey: 'YOUR_API_KEY',
);
Creating Push Campaigns
- Navigate to Campaigns → Create Campaign
- Select "Push Notification"
- Compose your notification:
- Title (required)
- Message (required)
- Icon/Image (optional)
- Action buttons (optional)
- Deep link URL (optional)
- Select your audience segment
- Schedule or send immediately
Advanced Features
- Rich Media: Include images, videos, and GIFs
- Action Buttons: Add up to 3 custom action buttons
- Deep Linking: Direct users to specific app screens
- Badges: Update app icon badge count
- Sound: Custom notification sounds
Best Practices
- Request permission at the right time
- Personalize notifications
- Respect user preferences and quiet hours
- Use rich media to increase engagement
- A/B test your messages
- Monitor opt-out rates
Coming Soon Features
We're constantly working on new features to help you scale your communications. Here's what's currently in development:
AI Lead Scoring
Predictive Optimization
Multi-language Bots
Expanded CRM Sync
Need Help Getting Started?
Book a personalized demo with our team and discover how LeadNest can transform your communication strategy.