Skip to main content
LarkupRAG generates a fully self-contained Node.js server with zero bloat. Because it’s standard Node.js under the hood, you can deploy it anywhere — serverless platforms, bare-metal VPS, or managed cloud services.
Every generated server ships with a vercel.json for Vercel and a Dockerfile for VPS / container deployments out of the box. No extra configuration needed.

Choose Your Deployment Target

Recommended · ServerlessThe fastest path to production. The generated server includes a vercel.json pre-configured for serverless deployment — one command and you’re live.

Demo

Note: Full demo video coming soon. Screenshots below show the in-app deployment flow.
Deploy to Vercel — in-app modal showing Access Token and Project ID fieldsEnvironment Variables configuration panel with pre-filled API keys

Steps

1

Open the Deploy Panel

From the Server page in the Larkup-RAG app, click the Deploy button in the top-right corner and select Vercel from the dropdown.
2

Enter Your Vercel Access Token

Paste your Vercel Access Token into the field. You can generate one at vercel.com/account/tokens.
3

Set the Project Name

Enter a unique Project ID or Name (e.g. my-rag-server). This is saved per server for future re-deployments.
4

Configure Environment Variables

Click Configure next to the Environment Variables section. Your workspace .env values are pre-filled automatically. Ensure at minimum your LLM provider API key is set (e.g. OPENAI_API_KEY).
5

Deploy

Click Deploy — Larkup-RAG will push your server to Vercel. Once complete, a live URL will appear in the Server panel.
After your first deployment, subsequent deploys are instant — just click Deploy again. Your project name and token are remembered.

Environment Variables Reference

Regardless of your deployment target, ensure the following variables are configured in your cloud provider’s settings panel:
VariableRequiredDescription
OPENAI_API_KEY✅ Yes (if using OpenAI)Your OpenAI API key for embeddings / completions
SERVER_API_KEYRecommendedSecures your deployed RAG endpoints with Bearer auth
EMBEDDING_API_KEY✅ YesAPI key used to embed incoming queries
LANCEDB_TABLEOptionalVector table name (default: documents)
LANCEDB_URIOptionalLanceDB Cloud URI (for cloud vector storage mode)
LANCEDB_API_KEYOptionalLanceDB Cloud API key
Environment Variables configuration panel