AI Integrations Overview
Reflex apps connect to AI models, databases, and external tools through packaged integrations, Python libraries, and APIs. AI integrations include OpenAI, Anthropic, Google Gemini, and orchestration tools such as LangChain. API integrations let your app work with operational systems such as Snowflake, Supabase, Salesforce, AWS, and GitHub using the appropriate connector or client.
In Reflex Build, use the integrations workflow to configure supported services. Where there is no packaged integration, use a Python SDK or REST API. MCP servers can give the Builder agent access to tools and context; an app's runtime connection still needs the appropriate client, credentials, and network access.
Key takeaways
- Choose integrations by category: AI models, databases, communication tools, and authentication providers.
- Connect multiple AI providers from Python, adapting each provider's SDK and response format.
- Use the database ORM for relational models and sessions, or a service-specific client for other data sources.
- Keep credentials in integrations or Secrets, rather than frontend code or prompts.
- The catalog is a starting point. Python libraries and REST APIs support custom connections to existing business systems.
AI providers and orchestration
LangChain is an orchestration library, not a model provider. Provider credentials, supported features, and response formats differ. For a working UI and streaming pattern, start with the Python chatbot tutorial.
Integration categories
- Databases: MySQL, PostgreSQL, SQL Server, and SQLite through SQLAlchemy-compatible connections; use service clients for warehouses and other data systems.
- AI: OpenAI, Anthropic, Gemini, and LangChain for assistants and AI-powered business workflows.
- Communication and business tools: Twilio, Resend, and Airtable for messaging, email, and operational data.
- Authentication: Okta, Google, Azure, and Descope for supported sign-in and single sign-on workflows.
Browse integrations
Linear
Connect your apps to Linear to manage issues, projects, and sprints directly from workflows.
Github
Connect your app to GitHub to automate workflows, manage repositories, and integrate developer operations.
Database
Connect Reflex Build apps to PostgreSQL, MySQL, MSSQL, or SQLite databases.
Perplexity
Connect your apps to Perplexity to power real-time, retrieval-augmented AI experiences.
Anthropic
Connect your apps to Anthropic's Claude models for advanced AI capabilities.
Azure Auth
Integrate Azure for secure authentication and access management within your application.
Resend
Send transactional and automated emails directly from your AI-generated applications using Resend.
Groq
Connect your apps to Groq’s ultra-fast inference API for lightning-speed AI responses.
Supabase
Connect your apps to Supabase to use a hosted Postgres database with real-time capabilities and powerful APIs.
Gemini
Connect your apps to Google’s Gemini models for advanced AI capabilities.
Cohere
Add Cohere’s language models for text generation, classification, retrieval, embeddings, and more.
Hubspot
Connect your apps to HubSpot to manage contacts, companies, deals, and marketing workflows.
Hugging Face
Connect your apps to Hugging Face to access thousands of open models for text, vision, and multimodal tasks.
Stripe
Connect your apps to Stripe to accept payments, manage subscriptions, and handle billing securely.
Aws
Connect to Amazon Web Services (AWS) for cloud storage, databases, compute, AI/ML, and more.
Google Auth
Enable secure authentication using Google sign-in and OAuth 2.0 workflows.
Notion
Connect your apps to Notion to create, update, and query pages, databases, and documents.
Roboflow
Connect your apps to Roboflow to use computer vision models and datasets for image detection, classification, and segmentation.
Twilio
Connect your apps to Twilio to send SMS, WhatsApp messages, and voice calls programmatically.
Descope
Add Descope’s identity and authentication platform to your apps to manage user sign-in, onboarding, MFA, SSO, and flows with ease.
Okta Auth
Use Okta for secure identity and access management via Single Sign-On provisioning.
Databricks
Connect with Databricks to run data pipelines and advanced analytics seamlessly.
Langchain
Connect your apps to Langchain for advanced AI capabilities.
Replicate
Connect your apps to Replicate to run and deploy open-source machine learning models with ease.
Airtable
Connect your apps to Airtable to read, create, and update records in real time.
Openai
Connect to OpenAI's powerful language models for text generation, analysis, and more.
Cartesia
Add Cartesia’s powerful text-to-speech capabilities for realistic, real-time voice output and audio experiences.
Missing an integration?
Click here to tell us what you need.
FAQ
Which external tools and APIs can Reflex integrate with?
Reflex apps can connect to AI models such as OpenAI, Anthropic, and Gemini; relational databases such as MySQL, PostgreSQL, SQL Server, and SQLite; and operational systems such as Snowflake, Supabase, Salesforce, AWS, and GitHub. Use a supported integration or the relevant Python client or REST API, with credentials and permissions for each service.
Can a Reflex app combine Snowflake data with other operational workflows?
Yes. Query Snowflake with its Python client or a configured integration, combine the results with data from another database or internal API, and assign the data needed by the UI to Reflex state. Configure access and credentials for each system.
What if the tool I need is not in the integrations catalog?
Use a Python SDK or REST API from the app backend, or create a custom integration in Reflex Build. An MCP server can provide tools and context to the Builder agent; this is separate from implementing the deployed app’s runtime connection.