API keys are required to use Motte's AI capabilities. This guide will help you obtain and configure them.
Used for GPT models, embeddings, and fine-tuning. Required for MotteRL, MotteMB, and general AI operations.
Access to Claude models for advanced reasoning and analysis tasks.
Database and vector storage for MotteMB memory management.
Create a .env.local
file in your project root with the following variables:
# Required OPENAI_API_KEY=sk-... # Optional but recommended ANTHROPIC_API_KEY=sk-ant-... GROQ_API_KEY=gsk_... # Required for MotteMB NEXT_PUBLIC_SUPABASE_URL=https://xxx.supabase.co SUPABASE_ANON_KEY=eyJ... SUPABASE_SERVICE_ROLE_KEY=eyJ... # Optional for advanced features XAI_API_KEY=xai-... DEEPINFRA_API_KEY=...
Once you've set up your API keys, you can test them using the following methods: