diff --git a/web/app/(landing-page)/quickstart/page.tsx b/web/app/(landing-page)/quickstart/page.tsx new file mode 100644 index 0000000..31c26b7 --- /dev/null +++ b/web/app/(landing-page)/quickstart/page.tsx @@ -0,0 +1,581 @@ +import { Metadata } from 'next' +import Link from 'next/link' +import { + CheckCircle2, + Smartphone, + MessageSquare, + Settings, + ArrowRightCircle, + Zap, + ExternalLink, + BookOpen, + Star, + SparkleIcon, +} from 'lucide-react' + +export const metadata: Metadata = { + title: 'TextBee Quickstart - Send SMS from Your Android Phone | SMS Gateway', + description: + 'Get started with TextBee SMS Gateway in minutes. Learn how to send and receive SMS messages using your Android phone as an SMS gateway for your applications.', + keywords: + 'SMS gateway, Android SMS, API SMS, TextBee quickstart, SMS integration, two-way SMS', +} + +export default function QuickstartPage() { + return ( +
+ Transform your Android phone into a powerful SMS gateway in just 5 + minutes. Send and receive text messages programmatically through your + applications with TextBee. +
+ ++ Our platform enables businesses and developers to implement SMS + functionality without expensive telecom infrastructure. Perfect for + notifications, authentication, alerts, and customer engagement. +
+ + ++ TextBee turns any Android phone into a reliable SMS gateway, allowing + you to send and receive text messages programmatically. Whether you're + building a notification system, implementing two-factor + authentication, or creating marketing campaigns, TextBee provides a + cost-effective solution without the need for complex telecom + integrations. +
++ Follow this step-by-step guide to set up TextBee and start sending + your first SMS messages in minutes. Our straightforward process + requires minimal technical knowledge and works with any application or + service that can make HTTP requests. +
++ Begin by creating your TextBee account and installing the Android + app. This setup process takes less than 2 minutes and only + requires basic permissions to send and receive SMS messages. +
+ ++ Register at{' '} + + textbee.dev + {' '} + with your email and password +
++ Download from{' '} + + dl.textbee.dev + {' '} + or Google Play Store +
++ Allow SMS access in the app to enable message sending and + receiving +
++ Link your Android phone to your TextBee account to establish the + SMS gateway connection. This secure connection allows your + applications to send messages through your phone. +
+ ++ Start sending SMS messages through TextBee using either our + intuitive dashboard or direct API integration. Both methods + provide reliable message delivery with delivery status tracking. +
+ +
+
+ {`fetch("https://api.textbee.dev/api/v1/gateway/devices/{ID}/send-sms", {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ 'x-api-key': API_KEY,
+ },
+ body: JSON.stringify({
+ recipients: ['+1234567890'],
+ message: 'Hello!'
+ })
+})`}
+
+
+ + With TextBee, your messages are sent directly through your Android + device, using your existing mobile plan. This keeps costs low + while maintaining high deliverability rates across all carriers. +
++ Enable two-way communication by configuring TextBee to forward + incoming SMS messages to your application. This is essential for + interactive workflows, verification codes, and customer + engagement. +
+ +
+
+ {`fetch("https://api.textbee.dev/api/v1/gateway/devices/{ID}/get-received-sms", {
+ headers: { 'x-api-key': API_KEY }
+})`}
+
+
+ + Received messages are securely forwarded to TextBee's servers and + can be accessed via the dashboard, API, or automatically sent to + your webhook endpoints for real-time processing. +
++ Once you've mastered the basics, explore TextBee's advanced + capabilities to enhance your SMS integration. These features help + scale your messaging operations and automate complex workflows. +
+ +Bulk SMS
++ Send to multiple recipients with a single API call for + efficient message broadcasting +
+Webhooks
++ Configure event-driven notifications for real-time updates + on message status +
+Multiple Devices
++ Connect several phones to increase throughput and add + redundancy +
+Self-hosting
++ Deploy TextBee on your own infrastructure for complete + control +
++ Upgrade to TextBee Pro for enhanced features and priority support. +
+ ++ Cancel anytime. No long-term contracts. +
++ TextBee eliminates the need for expensive SMS API services or + telecom contracts. By using your existing phone and mobile plan, + you can send SMS messages at standard rates without additional + per-message fees from third-party providers. +
+ ++ Our RESTful API makes integration simple for developers using any + programming language. TextBee works seamlessly with web + applications, mobile apps, and backend services through standard + HTTP requests. +
+Need help?
++ Our support team is ready to assist you +
++ Discover how businesses and developers leverage TextBee SMS Gateway + for a wide variety of applications. Get inspired by these common use + cases and implementations. +
++ Enhance your application's security by implementing SMS-based + two-factor authentication. Add an extra layer of verification + to protect user accounts. +
+ +
+
+ {`// Send 2FA code
+const verificationCode = generateRandomCode();
+await axios.post(\`https://api.textbee.dev/api/v1/gateway/devices/\${DEVICE_ID}/send-sms\`, {
+ recipients: [ user.phoneNumber ],
+ message: \`Your verification code is: \${verificationCode}\`
+}, {
+ headers: { 'x-api-key': API_KEY }
+});`}
+
+
+
+ + Keep customers informed about their orders with real-time SMS + updates. Improve customer experience with timely notifications + throughout the order lifecycle. +
+ ++ Send details after purchase +
++ Notify when order ships +
++ Alert when delivered +
++ Inform of modifications +
+
+
+ {`// Send order confirmation
+await axios.post(\`https://api.textbee.dev/api/v1/gateway/devices/\${DEVICE_ID}/send-sms\`, {
+ recipients: [ customer.phoneNumber ],
+ message: \`Order #\${orderNumber} confirmed! Expected delivery: \${deliveryDate}. Track at: \${trackingUrl}\`
+}, {
+ headers: { 'x-api-key': API_KEY }
+});`}
+
+
+
+ + Reduce no-shows by sending automated appointment reminders to + clients. Perfect for medical practices, salons, consultants, + and service businesses. +
+ +
+
+ {`// Schedule reminder job
+scheduler.scheduleJob(reminderTime, async () => {
+ await axios.post(\`https://api.textbee.dev/api/v1/gateway/devices/\${DEVICE_ID}/send-sms\`, {
+ recipients: [ appointment.phoneNumber ],
+ message: \`Reminder: Your appointment is tomorrow at \${appointment.time}. Reply CONFIRM to confirm or RESCHEDULE to change.\`
+ }, {
+ headers: { 'x-api-key': API_KEY }
+ });
+});`}
+
+
+
+ + Send critical notifications and emergency alerts to large + groups of people quickly. Perfect for natural disasters, + emergencies, and critical business communications. +
+ +
+
+ {`// Send bulk emergency alert
+const recipients = await getUserPhoneNumbers(affectedRegion);
+await axios.post(\`https://api.textbee.dev/api/v1/gateway/devices/\${DEVICE_ID}/send-bulk-sms\`, {
+ messageTemplate: \`ALERT: \${emergencyMessage}. Stay safe.\`,
+ messages: [{
+ recipients: recipients,
+ }]
+}, {
+ headers: { 'x-api-key': API_KEY }
+});`}
+
+
+
+ + Run targeted SMS marketing campaigns to engage customers and + drive sales. Perfect for promotions, event announcements, and + customer surveys. +
+ ++ Note: Always ensure you have proper consent + and comply with SMS marketing regulations in your region. +
++ Provide customer support through two-way SMS communication. + Perfect for handling customer inquiries and feedback. +
+ +
+
+ {`// Check for new messages
+const messages = await axios.get(
+ \`https://api.textbee.dev/api/v1/gateway/devices/\${DEVICE_ID}/get-received-sms\`,
+ { headers: { 'x-api-key': API_KEY } }
+);
+
+// Process and respond to messages
+for (const msg of messages.data) {
+ const response = await generateSupportResponse(msg.message);
+ await sendReply(msg.sender, response);
+}`}
+
+
+
+ + TextBee can be integrated with various platforms and services. + Our REST API allows you to create custom integrations for almost + any application, automating SMS sending and receiving based on + triggers in your existing systems. +
+ +CRM Systems
++ Connect SMS messaging with customer records +
+Booking Software
++ Automate appointment confirmations +
+E-commerce
++ Send order & shipping updates +
+Automation Tools
++ Integrate with Zapier, IFTTT, etc. +
++ Configure webhooks to receive notifications when SMS events + occur. Perfect for event-driven architectures and real-time + applications. +
++ Our comprehensive API documentation provides all the details + you need to integrate TextBee with your applications and + services. +
+ + View API Documentation ++ Follow our step-by-step quickstart guide to set up TextBee + and start sending SMS messages in minutes. Whether you're + implementing 2FA, appointment reminders, or complex + integrations, we've got you covered. +
+