Integration Categories
Storage Adapters
Storage adapters provide persistence for workflows, memory, observability, and other domains in Mastra:- LibSQL - SQLite-compatible storage with Turso support
- PostgreSQL - Production-grade relational storage
- MongoDB - Document-based NoSQL storage
- DynamoDB - AWS serverless NoSQL database
Vector Stores
Vector stores enable semantic search and similarity matching for RAG applications:- Pinecone - Managed vector database service
- Qdrant - Open-source vector search engine
- Chroma - AI-native embedding database
- pgvector - PostgreSQL vector extension
Authentication
Authentication providers integrate with Mastra’s server authentication system:- Clerk - Modern user management and authentication
- Auth0 - Enterprise identity platform
- Supabase Auth - Open-source auth with database integration
- better-auth - Self-hosted authentication framework
Server Adapters
Server adapters enable Mastra to run on different web frameworks:Plugin Architecture
Mastra uses dependency injection to compose integrations:Common Patterns
Multiple Storage Domains
You can use different storage backends for different purposes:Environment-Based Configuration
Configure integrations based on environment:Next Steps
Storage
Set up persistent storage for workflows and memory
Vector Stores
Enable semantic search with vector databases
Authentication
Secure your Mastra server with auth providers
Server Adapters
Deploy Mastra on your preferred web framework