Skip to content

Getting Started

From zero to a running Telegram shop in 5 minutes.


Prerequisites

WhatWhy
LNbits 1.4.0+Runtime for the extension
Inventory extensionYour product catalog
Telegram bot tokenFrom @BotFather

Step by step

1. Create your bot

Open @BotFather in Telegram → /newbot → pick a name and username → copy the token.

2. Set up products

Install the Inventory extension in LNbits. Create an inventory and add products with:

  • Name, price, description
  • At least one image
  • Stock quantity
  • Tags (these become your shop categories)

TIP

The shop currency is automatically synced from your Inventory settings. Set your prices in the Inventory extension and the shop will match.

3. Create the shop

In the Telegram Shopping extension, click Create Shop:

FieldValue
TitleYour shop name (shown to customers)
Bot tokenThe token from BotFather
WalletWhich LNbits wallet receives payments

The shop automatically detects your Inventory and syncs the currency from it. Everything else has sensible defaults.

4. Go live

Toggle the shop on. That's it. The bot:

  • Fetches your product catalog
  • Registers /start and /admin commands with Telegram
  • Sets up a secure webhook (or starts polling)
  • Creates default marketing campaigns (disabled)

5. Test it

Open your bot in Telegram → send /start → tap Open Shop to launch the Customer Mini App.

The Customer Mini App is where shopping happens: browsing, cart, checkout, orders, returns, credits, and messaging. The Admin Mini App lets you manage orders, messages, and returns directly from Telegram — send /admin or tap the Admin menu button.


Development vs production

ModeUse when
PollingLocal development — no public URL needed
WebhookProduction — lower latency, Telegram pushes updates to you

TIP

Use polling + FakeWallet for testing without real Lightning.


What's next