ChattyBot

Effortlessly configure and launch your AI-powered Telegram chatbot.

Configuration Error

Firestore (db) is not initialized. Cannot fetch configuration. Check Firebase setup and environment variables.

This usually means Firebase is not configured correctly. Please check your server logs for more details and ensure your Firebase environment variables (e.g., NEXT_PUBLIC_FIREBASE_PROJECT_ID, NEXT_PUBLIC_FIREBASE_API_KEY) are correctly set in your .env file.

ChattyBot Setup
Configure your Telegram bot with OpenAI and Firebase.

Your unique token from BotFather.

Your secret API key from OpenAI.

Firebase Configuration

These values are used to connect to Firebase. For the application to initialize Firebase correctly, these (or NEXT_PUBLIC_FIREBASE_PROJECT_ID and NEXT_PUBLIC_FIREBASE_API_KEY) must also be set in your .env file. A restart of the application may be required after updating .env.

Your Firebase project identifier.

Your Firebase project's Web API Key.

A friendly name for your bot.

Helps in generating a relevant welcome message.

Message sent when a user starts a chat (e.g., types /start). You can auto-generate one based on Bot Name and Topic.