Quickstart
Get Lite Claw running on Railway with Telegram access.This guide covers the minimum setup. For production hardening, see Deployment.
Prerequisites
You’ll need accounts on these services (all have free tiers):- Railway — Hosting
- Neon — Postgres database
- Upstash — Redis
- OpenRouter — LLM API ($5-10 credits)
- Telegram — Bot interface
Step 1: Get Your API Keys
1
Create a Telegram Bot
- Message @BotFather on Telegram
- Send
/newbotand follow the prompts - Copy the bot token (looks like
123456:ABC-DEF...)
2
Get OpenRouter API Key
- Sign up at openrouter.ai
- Add $5-10 credits
- Create an API key
3
Create Neon Database
- Create a new project at neon.tech
- Copy the connection string
4
Create Upstash Redis
- Create a new database at upstash.com
- Copy the REST URL and token
Step 2: Deploy to Railway
1
Clone the repository
2
Install dependencies and run checks
3
Create Railway project
- Go to railway.app and create a new project
- Connect your GitHub repo (auto-deploy on push) or use Railway CLI
4
Set environment variables
In Railway, add these required variables:
OPENWEATHER_API_KEY is optional, but required if you want weather responses.5
Deploy
If connected to GitHub, push your branch.
If using CLI: