Setup Guide

Get LottoBot running in minutes with your existing AI chat app.

Step 1 — Create an Account & Get Your API Key

Sign up for a free LottoBot account. You'll receive an API key with 12 free generation draws. Copy it from your dashboard — it is only shown once.

Step 2 — Connect Your Chat App

Choose the connection method that works for your app.

A Direct Connection Recommended

No proxy or Node.js needed. Add LottoBot as an OpenAI-compatible API directly in your app settings.

Open WebUI
  1. Go to Admin Panel → Settings → Connections
  2. Under OpenAI API, click the + button to add a new connection
  3. Set URL to https://lottobot.ai/v1
  4. Set API Key to your lb_... key
  5. Save — the lottobot model will appear in the model selector
LM Studio
  1. Go to Developer tab
  2. Add a new OpenAI-compatible connection
  3. Set Base URL to https://lottobot.ai/v1
  4. Set API Key to your lb_... key
  5. Select lottobot as the model

B Via Proxy (requires Node.js)

For apps that only support Ollama format. The proxy translates between Ollama and LottoBot on your machine.

First, install Node.js 18+ if you don't have it. Then run:

Terminal
npx lottobot-server --key YOUR_API_KEY

Replace YOUR_API_KEY with the key from your dashboard. The proxy starts on http://localhost:11434. Press Ctrl+C to stop.

Port conflict: If Ollama is already running, stop it first — both use port 11434. On Mac, click the llama icon in the menu bar → Quit Ollama. On Linux: systemctl stop ollama
AnythingLLM
  1. Go to Settings → LLM Provider
  2. Select Ollama
  3. Set Base URL to http://localhost:11434
  4. Select lottobot from the model list
Continue.dev

Add to your config.json:

{
  "models": [{
    "title": "LottoBot",
    "provider": "ollama",
    "model": "lottobot",
    "apiBase": "http://localhost:11434"
  }]
}
Note: Cloud-only apps like Claude.ai and ChatGPT connect exclusively to their own servers and cannot be redirected to LottoBot. Use one of the compatible apps above instead.

Step 3 — Start Chatting!

Select lottobot as the model and try these commands:

generate give me 8 combinations pick my lucky numbers generate 5 sets

Each generation uses one draw from your API key. Normal chat messages do not count.

FAQ

What happens when my 12 draws are used up?

You'll see a message in chat letting you know. Visit the blog for the latest candidate generation results and upcoming draws.

Do I need the proxy?

Not if your app supports OpenAI-compatible APIs (Method A). Apps like Open WebUI and LM Studio can connect directly to https://lottobot.ai/v1. The proxy is only needed for Ollama-only apps like AnythingLLM and Continue.dev.

Is my API key safe?

Your API key is used to authenticate with LottoBot's servers. We store only a hashed version — never the plaintext key. Treat it like a password and do not share it.